-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Doc: Build documentation using ReadTheDocs #10434
Conversation
They are necessary to shorten the output. https://gdal.readthedocs.io/en/latest/drivers/raster/index.html has the table + bullet points with each driver whereas https://gdal.org/drivers/raster/index.html has only the table. And "WARNING: unknown config value 'enable_redirects' in override, ignoring" in the Docs CI target will be solved by changing line 81 of .github/workflows/doc_build.yml |
shellcheck not happy: https://github.com/OSGeo/gdal/actions/runs/9999643810/job/27641003915?pr=10434 |
4bbf9ce adds a redirect to send URLS like /api to /en/latest/api. It occurs to me that some pages (Sponsors, Community, others?) should probably be kept up-to-date even for old branches. Backporting changes to branches would be annoying. I think we could redirect e.g. /en/3.9/sponsors to /en/latest/sponsors, even if /en/3.9/sponsors exists. But it could be surprising for a user who starts navigating from /en/3.9/api to /en/latest/sponsors to /en/latest/api. |
The GDAL project highly values your contribution and would love to see this work merged! Unfortunately this PR has not had any activity in the last 28 days and is being automatically marked as "stale". If you think this pull request should be merged, please check
|
DNS has been updated; |
@dbaston I assume we can now merge this PR? |
Done. I manually started a build doc build from the GDAL repo at https://readthedocs.org/projects/gdal/builds/25437338/ I'm looking into the GitHub integration so that builds happen automatically. |
What does this PR do?
Continues the work started in #8681 to provide a GDAL configuration to build documentation using ReadTheDocs. The primary motivations for using ReadTheDocs are to (1) display version-specific documentation and (2) render documentation for pull requests.
The documentation generated using this configuration is available for testing at https://gdal.readthedocs.io
Changes to documentation build process
There are some changes relative to the current documentation building process, which is managed by https://github.com/OSGeo/gdal/blob/master/.github/workflows/doc_build.yml
Tasklist