-
Notifications
You must be signed in to change notification settings - Fork 57
Fix autodocs #143
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
Comments
It also seems like maybe there are two instances of the BLE library in readthedocs? I found this one which uses a different sub-domain in the URL, and it does also contain the content on the uuid page: https://circuitpython-ble.readthedocs.io/en/latest/uuid.html |
It turns out the circuitpython-ble.readthedocs.io is a different project perhaps created a while ago by accident. So while their pages do look correct, I don't think it's actually relevant to the issue noted here. Looking into the build logs for the current RTD project for this library: https://readthedocs.org/projects/adafruit-circuitpython-ble/builds/15293278/ I notice there are several instances of errors similar to this:
I'm not seeing these errors when I run the build locally. Thinking perhaps the core stubs, or something else I have installed could cause a difference, I also tried in a venv with only the things listed in I'm thinking it's possible that these errors are causing some of the pages not to build properly inside RTD which may be leading to the missing content on those pages. Another observation is that the RTD builds are occurring on python 3.6. My local build attempts were 3.8. Maybe that difference could be related to the errors and this issue. |
I do think the crux of this issue is the RTD build happening on python 3.6. I'm not very familar with the usage of Based on that, and the fact that my local builds under python 3.8 seem to generate the pages correctly I think if we update the version here:
To |
@FoamyGuy Thanks for the debugging! Want to make a PR to bump the python version? |
The newest RTD build after the merge looks good now. The page linked in the first comment of this issue does now show the expected content within it. 🎉 I will check into the bundle libraries to find if / how many have differently named config files ( |
Thank you @FoamyGuy! |
I don't think the docs are setup to get all of the comments pulled into read the docs. I think this requires a static file to point to each class. I haven't done it recently.
These pages should have more info: https://circuitpython.readthedocs.io/projects/ble/en/latest/uuid.html
The text was updated successfully, but these errors were encountered: