Skip to content
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

Merged
merged 4 commits into from
Jun 21, 2022

Conversation

pcmoritz
Copy link
Contributor

@pcmoritz pcmoritz commented Jun 20, 2022

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 as make html except it doesn't treat warnings as errors.

Related issue number

Checks

  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

@pcmoritz
Copy link
Contributor Author

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
Copy link
Contributor

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?

Copy link
Contributor Author

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",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

@pcmoritz pcmoritz merged commit c604bc2 into ray-project:master Jun 21, 2022
@pcmoritz pcmoritz deleted the fix-docs-contrib branch June 21, 2022 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants