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

Build pdoc #529

Merged
merged 3 commits into from
Oct 10, 2023
Merged

Build pdoc #529

merged 3 commits into from
Oct 10, 2023

Conversation

AlexanderRichert-NOAA
Copy link
Contributor

@AlexanderRichert-NOAA AlexanderRichert-NOAA commented Oct 7, 2023

This PR enables python documentation through pdoc in the developer CI. It gets placed under the rest of the docs directory structure so it's in the same output artifact.

One caveat is that I've put the doc build in a separate CI step from the rest of the testing. This is because the use of the memory sanitizer and gcov don't play nicely with python. pdoc, for whatever reason, needs to load the python module, but when asan and gcov are enabled they put a bunch of special functions in the bufr library, so the python module load fails with "undefined reference" errors. I think the easiest solution is to put them in separate steps (as opposed to trying to hack together some LD_PRELOAD magic).

Fixes #230

@AlexanderRichert-NOAA AlexanderRichert-NOAA marked this pull request as ready for review October 7, 2023 00:55
@jbathegit
Copy link
Collaborator

This looks great Alex - thanks!!

@jbathegit jbathegit merged commit fe0bd7d into NOAA-EMC:develop Oct 10, 2023
6 checks passed
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.

update Python documentation via pdoc
2 participants