adding example directory and script #67
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Another attempt to resolve the lack of content on the readthedocs page.
I noticed that if you tack on
index.html
to the URL in RTD it does show a page and the page does have all relevant content on it: https://docs.circuitpython.org/projects/portalbase/en/latest/index.htmlI looked through the raw logs from RTD https://readthedocs.org/projects/adafruit-circuitpython-portalbase/builds/16427060/ Nothing jumps out as immediately problematic to me. I tried to view this side-by-side with another build log from a different library to try to spot differences. The bulk of what I found does seem to make sense to me and I wouldn't think would be causing this issue, but I'm at a bit of a loss for ideas.
One difference I noticed was lack of examples directory. I know the examples do get listed in the docs page so I am working under the theory that maybe if this directory is missing it's causing some problem leading to the empty docs pages.
To test this I've added a PyPortal example into this repo. Ordinarily the user is not intended to use PortalBase directly but rather they would use the things that subclass from it. I think this is likely the reason that there were no examples originally. If this file existing allows the docs to get populated properly, then it may be worth having it here even though it's technically for the subclass rather than this directly.