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

NF: Consider warnings as errors in documentation CI build #933

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

jhlegarreta
Copy link
Contributor

Consider warnings as errors in documentation CI build.

Copy link
Contributor

@skoudoro skoudoro left a comment

Choose a reason for hiding this comment

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

Hi @jhlegarreta,

Thank you for this, see my comment below

@@ -46,7 +46,7 @@ jobs:
- name: Build docs
run: |
cd docs
make -C . html-no-examples
make -C . html-no-examples SPHINXOPTS="-W --keep-going -n"
Copy link
Contributor

Choose a reason for hiding this comment

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

the options -W --keep-going are ready to go and can be merged.

the option n generates 100 warnings treated as error. Some of them needs to be fixed and some of them needs to ignores using nitpick-ignore option: https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-nitpick_ignore

So I think, it should be split in 2 or more PRs

Also, we need

  • a PR with -b linkcheck option and fix the broken link
  • a PR with numpydoc check activated

Copy link
Contributor

Choose a reason for hiding this comment

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

@WassCodeur, Can you start creating a PR with -b linkcheck option?

Thank you

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@skoudoro Removed -n in the last commit; force pushed.

Consider warnings as errors in documentation CI build.
@skoudoro skoudoro merged commit 4853890 into fury-gl:master Aug 28, 2024
17 of 29 checks passed
@jhlegarreta jhlegarreta deleted the ConsiderDocWarningsAsErrors branch August 28, 2024 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants