AttributeError: module 'yaml' has no attribute 'FullLoader'
I got this error when trying to build the docs:
1/1] Generating GStreamer-doc with a custom command.
FAILED: GStreamer-doc
/home/aaron/.local/bin/meson --internal hotdoc /home/aaron/.local/bin/hotdoc run --conf-file GStreamer-doc.json --builddir /home/aaron/src/gst-docs/build/
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/hotdoc/run_hotdoc.py", line 260, in execute_command
res = app.run()
File "/usr/local/lib/python3.7/dist-packages/hotdoc/run_hotdoc.py", line 109, in run
self.project.setup()
File "/usr/local/lib/python3.7/dist-packages/hotdoc/core/project.py", line 186, in setup
self.tree.build(sitemap, self.extensions)
File "/usr/local/lib/python3.7/dist-packages/hotdoc/core/tree.py", line 473, in build
page = self.parse_page(source_file, ext_name)
File "/usr/local/lib/python3.7/dist-packages/hotdoc/core/tree.py", line 395, in parse_page
return self.page_from_raw_text(source_file, contents, extension_name)
File "/usr/local/lib/python3.7/dist-packages/hotdoc/core/tree.py", line 546, in page_from_raw_text
blocks = yaml.load_all(split[0], Loader=yaml.FullLoader)
AttributeError: module 'yaml' has no attribute 'FullLoader'
An unknown error happened while building the documentation and hotdoc cannot recover from it. Please report a bug with this error message and the steps to reproduce it
ninja: build stopped: subcommand failed.