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

docs: fix docs Sphinx build breaking in github actions. #735

Merged
merged 2 commits into from Nov 18, 2021

Conversation

klihub
Copy link
Contributor

@klihub klihub commented Nov 17, 2021

Fix recent docs build breakage by switching from the phased out recommonmark to MyST-Parser and by ugrading from Sphinx 3.2.1 to 3.5.4 which is the latest in the 3.x series.

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-commenter
Copy link

codecov-commenter commented Nov 17, 2021

Codecov Report

Merging #735 (bf27672) into master (21ed50e) will decrease coverage by 0.03%.
The diff coverage is n/a.

Impacted file tree graph

@@            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     
Impacted Files Coverage Δ
pkg/blockio/blockio.go 58.98% <0.00%> (-1.69%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 21ed50e...bf27672. Read the comment docs.

@klihub klihub changed the title docs: fix recommonmark breaking doc build on github. docs: fix docs Sphinx build breakage. Nov 17, 2021
@klihub klihub changed the title docs: fix docs Sphinx build breakage. docs: fix docs Sphinx build breaking in github actions. Nov 17, 2021
@marquiz
Copy link
Contributor

marquiz commented Nov 18, 2021

Haven't checked how the output looks, but lgtm 😄

Copy link
Contributor

@marquiz marquiz left a 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

Copy link
Contributor

@marquiz marquiz left a 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

@marquiz marquiz merged commit 1c0071c into intel:master Nov 18, 2021
@klihub klihub deleted the fixes/doc-build branch April 17, 2023 07:03
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.

None yet

3 participants