-
Notifications
You must be signed in to change notification settings - Fork 6k
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
[Docs] Fix documentation building instructions #25942
Conversation
cc @maxpumperla |
@@ -16,7 +16,7 @@ pip install -r requirements-doc.txt | |||
To compile the documentation and open it locally, run the following command from this directory. | |||
|
|||
```bash | |||
make html && open _build/html/index.html | |||
make develop && open _build/html/index.html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also make sure to explicitly say that this is for development, and to reproduce build failures you should still run make html?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added
@@ -45,7 +45,7 @@ | |||
"Building the documentation is done by running the following command:\n", | |||
"\n", | |||
"```shell\n", | |||
"make html\n", | |||
"make develop\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
Why are these changes needed?
It is often a bit challenging to get the full documentation to build (there are external packages that can make this challenging). This changes the instructions to treat warnings as warnings and not errors, which should improve the workflow.
make develop
is the same asmake html
except it doesn't treat warnings as errors.Related issue number
Checks
scripts/format.sh
to lint the changes in this PR.