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

Sphinx warnings by default now cause doc build to fail #1344

Merged
merged 1 commit into from
Feb 27, 2023

Conversation

cary-ilm
Copy link
Member

* Together with building the docs in the CI (AcademySoftwareFoundation#1339) this means that
  issues with the documentation will cause the CI checks to fail

* All doxygen-annotated class/function comments must now be
  warning-free. This PR fixes a warning in openexr_context.h by adding
  missing parameter descriptions.

Signed-off-by: Cary Phillips <cary@ilm.com>
@meshula
Copy link
Contributor

meshula commented Feb 23, 2023

I do wonder if we should enhance the "building" documentation. I know Sphinx is easy to install with pip (so I think we should mention that), but I wasn't sure about doxygen. I went and read these instructions https://www.doxygen.nl/manual/install.html and it gave me pause ~ basically, I think maybe we should link to the doxygen install documentation, and call out that just the base installer is required, there's no need to chase down graphviz or other optional components. At least I hope that's what we can call out :) My gut feeling is that in general we can count on doxygen being present at well managed sites, but not for example, at my house.

@cary-ilm
Copy link
Member Author

Good suggestion, I added some references #1346. The doxygen instructions are confusing, because it starts right in with building from source, which is hopefully rarely necessary.

But note that this PR just means that syntax errors in documentation will cause a failure. Missing the doxygen/sphinx installation would have already caused a failure, provided you're building the documentation, which is off by default.

Copy link
Contributor

@meshula meshula left a comment

Choose a reason for hiding this comment

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

lgtm!!

@cary-ilm cary-ilm merged commit 94a8833 into AcademySoftwareFoundation:main Feb 27, 2023
cary-ilm added a commit to cary-ilm/openexr that referenced this pull request Mar 3, 2023
…reFoundation#1344)

* Together with building the docs in the CI (AcademySoftwareFoundation#1339) this means that
  issues with the documentation will cause the CI checks to fail

* All doxygen-annotated class/function comments must now be
  warning-free. This PR fixes a warning in openexr_context.h by adding
  missing parameter descriptions.

Signed-off-by: Cary Phillips <cary@ilm.com>
cary-ilm added a commit that referenced this pull request Mar 5, 2023
* Together with building the docs in the CI (#1339) this means that
  issues with the documentation will cause the CI checks to fail

* All doxygen-annotated class/function comments must now be
  warning-free. This PR fixes a warning in openexr_context.h by adding
  missing parameter descriptions.

Signed-off-by: Cary Phillips <cary@ilm.com>
@cary-ilm cary-ilm added the v3.1.6 label Jul 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants