Commit Graph

3 Commits

Author SHA1 Message Date
Maxwell G d2b033519c doc: call Python build script as a pre_build job
RTD now supports adding extra commands [1] as jobs to run during
different parts of the build stage. This can be used to call the Python
build script instead of (ab)using RTD's setup.py support.

[1]: https://docs.readthedocs.io/en/stable/config-file/v2.html#build-jobs
2023-12-19 05:56:29 +00:00
Aleš Matěj f3981e5968 Update readthedocs config file
We require newer version of swig that is only present in ubuntu-22 (it
should become the default soon anyway) because of -doxygen flag which is
needed to generate python docs.

This also changes the way in which python is configured. The current
approach is deprecated: https://docs.readthedocs.io/en/latest/config-file/v2.html#python-version
2023-02-06 09:13:09 +01:00
Daniel Mach a07e45615e doc: Configure for building in Read the Docs 2022-08-09 13:33:13 +02:00