-
Notifications
You must be signed in to change notification settings - Fork 72
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
🧪 CI: Make documentation builds fail on warnings #1005
Conversation
This comment was marked as off-topic.
This comment was marked as off-topic.
I added similar in the myst-parser docs @2bndy5 lol https://github.com/executablebooks/MyST-Parser/blob/350c6331da4738057556d966b0bfd9d98d570352/myst_parser/_docs.py#L275 |
Yeah, I tried using that when adding a copy of MyST typography page to our docs, but it wasn't as bulletproof (I forget why and how). So I added the ability to highlight and parse the content as MD syntax if the doc source was MD. |
Oh indeed, it's very much only meant only for internal use 👍 |
Ours isn't meant to be internal only. It does use theme-specific assets (CSS) like our |
Never too late 😉 In the same file I have a decent myst syntax renderer, should probably make that public at some point |
Good to go @danwos |
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.
Thanks for the PR 👍
I guess we still need to configure github to allow passed RTD builds only, right?
You can indeed add it as required in the branch protection rules |
closes #1004
Adds https://docs.readthedocs.io/en/stable/pull-requests.html
@danwos I believe this would be the best solution, however, it is currently failing due to jbms/sphinx-immaterial#283 😒 (you can see this warning in all our docs builds)