-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix documentation #8812
Fix documentation #8812
Conversation
…_theme_options['switcher']['json_url'] files
There was a bug with the exit code of sphinx 6 years ago, but they say it is fixed: sphinx-doc/sphinx#4160 (?) |
I've found also this discussion from April 2022: sphinx-doc/sphinx#10397 |
After
now I have this green: https://github.com/gem/oq-engine/actions/runs/5133991839/jobs/9237350113 |
Fixes #8629
I've fixed some broken cross-references, a malformed table, some indentation issues and various details.
I've added the parameter
-W
to sphinx-build, to let the build fail in case of any error or warning. Unfortunately I couldn't find any way to let the build produce an exit code different from 0 in case of errors (without-W
also errors are ignored, not only warnings).Sphinx was complaining about
language = None
and it was falling back to'en'
. I made it explicit. Please @nastasi-oq check if it was not set on purpose.