-
Notifications
You must be signed in to change notification settings - Fork 57
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
docs: fix docs Sphinx build breaking in github actions. #735
Conversation
An unfixed upstream recommonmark bug causes warnings during 'make site-build'/sphinx doc generation. These warnings are treated as errors in github actions, so they can break test builds of recent PRs. Fix this by switching to MyST-Parser. See readthedocs/recommonmark#177 for a miminal explanation of the bug. See readthedocs/recommonmark#221 for background information on recommon
Codecov Report
@@ Coverage Diff @@
## master #735 +/- ##
==========================================
- Coverage 37.64% 37.60% -0.04%
==========================================
Files 53 53
Lines 7889 7889
==========================================
- Hits 2970 2967 -3
- Misses 4643 4644 +1
- Partials 276 278 +2
Continue to review full report at Codecov.
|
Haven't checked how the output looks, but lgtm 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, make site-serve
and make site-build
fail wtih
Warning, treated as error:
/docs/review/.github/ISSUE_TEMPLATE/new-release.md:10:Non-consecutive header level increase; 0 to 2 [myst.header]
make: *** [Makefile:733: html] Error 2
make: *** [Makefile:747: site-build] Error 2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ach, messed up my local testing. Looks good
Fix recent docs build breakage by switching from the phased out
recommonmark
toMyST-Parser
and by ugrading fromSphinx 3.2.1
to3.5.4
which is the latest in the 3.x series.