-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add action to deploy docs via GitHub pages #59
Conversation
@stephprince the main structure for the CI to deploy the docs on GitHub pages is here, but I ran into problems building the docs via cmake in the CI https://github.com/NeurodataWithoutBorders/aqnwb/actions/runs/10232814207/job/28310386149?pr=59 The problem is here:
and seems related to the |
I'm not sure if the separate
The dev preset is a user-specific preset that inherits from |
I would at least link to those instructions in the README or just add the |
We can either take a look at this together or if you know how to fix the build in the action then please feel free to just push the necessary changes to this PR. |
I added instructions for the dev preset to the README. Since it will change for each user, I will leave it off the standard presets list for now.
I had updated the action to use the |
Looking at the CI, I think the path where the docs are being built has changed so we just need to update this line
to create the |
Thanks! That looks good. |
@stephprince do we actually need to compile AqNWB to build the docs? If not, then I think the Action could be simplified a bit by removing install of libraries not needed for the docs. But that's not critical. aqnwb/.github/workflows/doxygen-gh-pages.yml Lines 17 to 33 in e910f23
|
Oh, and the path in the deploy part will need to be updated as well:
|
Fix #24
Add GitHub action to automatically update and deploy the Doxygen documentation via GitHub pages on every push to the main branch
TODO:
WARN_AS_ERROR = FAIL_ON_WARNINGS_PRINT
so that Doxygen runs to the end, prints warnings as a single block, but then exits with a an error code. In this way we can see all the warnings (instead of failing after the first one) and all warnings are listed together to make them easier to review.