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

[BugFix] Doxygen builds failing on rtd, and locally #1442

Merged
merged 2 commits into from
Feb 10, 2023

Conversation

andrew-platt
Copy link
Collaborator

@andrew-platt andrew-platt commented Feb 9, 2023

This is ready to merge

Feature or improvement description
Something in RTD changed in January 2023 causing our documentation to fail if doxygen is enabled. This is due to an issue with the paths to doxygen. The change occurred sometime after the 3.4.0 release.

Exactly what changed is a bit unknown: looking through the logs for both yielded very little useful information. A handful of python packages had minor updates, but nothing major that we would expect to change the results. Also whatever changed also affects local builds (only for updated python packages).

For this fix, doxygen has been turned off on RTD (we don't think anyone uses it). Doxygen is still built locally and should work on most systems still.

Related issue, if one exists
#1423 has some additional details

Impacted areas of the software
Only the documentation is affected.

Additional information
We would like to include this in a bugfix release, 3.4.1

Test results, if applicable
none

I have a suspicion that the argument parsing in python or some package in it changed (I can reproduce the issue locally).

There is an arguement in `CMakeListst.txt` for the `sphinx-html` command that indicates where the `conf.py` is located (`-c ${CMAKE_CURRENT_BINARY_DIR}`). This is at the end of the command for `sphinx-html`.

The argument parsing in `conf.py` is assuming this last argument doesn't count as it finds the arguments for the path to `doxygen` and `openfast.tag`.  Something somewhere appears to have changed this behavior.

Removing this last argument restores the ability for me to build locally and for rtd to build and really has no impact as conf.py gets copied to the build dir.

Still have no clue what changed at rtd to cause this -- maybe a newer python?
@andrew-platt
Copy link
Collaborator Author

andrew-platt commented Feb 9, 2023

closes #1423

@andrew-platt
Copy link
Collaborator Author

@rafmudaf
Copy link
Collaborator

rafmudaf commented Feb 9, 2023

I agree with this as a stop gap, but I'm not sure if this should close #1423. Since this suppresses the issue rather than fix it, it might be worthwhile to keep that open and add the details included in the PR description here, for future reference.

@andrew-platt andrew-platt merged commit 861c884 into OpenFAST:rc-3.4.1 Feb 10, 2023
This was referenced Feb 10, 2023
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.

3 participants