robotpy / mostrobotpy

Official Repository of python implementation of WPILib components
https://robotpy.github.io
Other
10 stars 11 forks source link

Add htmlzip download #58

Closed sciencewhiz closed 8 months ago

sciencewhiz commented 8 months ago

This allows the WPILib installer to download the API docs like we do with Java and C++ Credit for rtd_patch.py goes to @TheTripleV from https://github.com/wpilibsuite/frc-docs/blob/main/source/_extensions/rtd_patch.py Adapted to remove the photofinish part

virtuald commented 8 months ago

I think this would be better suited for https://github.com/robotpy/robotpy-sphinx-plugin/blob/main/robotpy_sphinx/all.py, then we get it for free in all RobotPy projects

sciencewhiz commented 8 months ago

I opened https://github.com/robotpy/robotpy-sphinx-plugin/pull/7 so now this only enables htmlzip in RTD

virtuald commented 8 months ago

I found the issue that y'all originally commented on at RTD (https://github.com/readthedocs/readthedocs.org/issues/3242), and they posted this solution instead?

https://github.com/readthedocs/test-builds/blob/f6000f53380887463560499d82e5d0e7bfad6150/.readthedocs.yaml#L9

virtuald commented 8 months ago

Trying that in f5ed2b2401600ff3de9ddb91726a695b0e6c65eb