-
Notifications
You must be signed in to change notification settings - Fork 287
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 readthedocs issues. #800
docs: Fix readthedocs issues. #800
Conversation
5c7f16e
to
3740f77
Compare
Don't know why the readthedocs builds are stopping at the point it's meant to create a venv and it doesn't continue, will need to look into it tomorrow. Edit: Turns out readthedocs now requires you to have |
482a125
to
b6865f4
Compare
Add required .readthedocs.yml and docs/requirements.txt files. Fixes error: NameError: name 'html_theme' is not defined Also fixes a couple of issues highlighted by the sphinx build output.
b6865f4
to
28002b2
Compare
# Example configuration for intersphinx: refer to the Python standard library. | ||
intersphinx_mapping = {'http://docs.python.org/': None} |
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.
This should stop cpython docs from being included, which fixes #729.
@@ -93,7 +93,6 @@ Projects related to MicroPython on the BBC micro:bit include: | |||
:maxdepth: 2 | |||
:caption: Developer Guide | |||
|
|||
devguide/installation |
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.
This file no longer exists.
This is isolated to the docs, so I'll merge it to resolve the issues with ReadTheDocs and get those builds going again. |
The first thing is that now readthedocs forces you to have
.readthedocs.yml
file, and the second was this error, which was triggered when readthedocs stopped settinghtml_theme
automatically tosphinx_rtd_theme
:PR also fixes a couple of issues highlighted by the sphinx build output.
Test deployment: https://microbit-micropython--800.org.readthedocs.build/en/800/