Skip to content

Commit

Permalink
Merge pull request #11301 from rouault/doc_programoutput
Browse files Browse the repository at this point in the history
Doc: use sphinxcontrib_programoutput_gdal for gdalinfo doc
  • Loading branch information
rouault authored Nov 19, 2024
2 parents fa0ac75 + abef77e commit a00fbc1
Show file tree
Hide file tree
Showing 7 changed files with 367 additions and 287 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/doc_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_APPS=OFF \
-DBUILD_APPS=ON \
-DBUILD_TESTING=OFF \
-DGDAL_BUILD_OPTIONAL_DRIVERS=OFF \
-DOGR_BUILD_OPTIONAL_DRIVERS=OFF
Expand Down
3 changes: 3 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ repos:
(?x)^(
swig/python/osgeo/__init__.py|
swig/python/osgeo/gdalnumeric.py|
doc/source/_extensions/sphinxcontrib_programoutput_gdal.py|
autotest/ogr/data/
)
- repo: https://github.com/timothycrosley/isort
Expand All @@ -17,6 +18,7 @@ repos:
(?x)^(
swig/python/osgeo/__init__.py|
swig/python/osgeo/gdalnumeric.py|
doc/source/_extensions/sphinxcontrib_programoutput_gdal.py|
autotest/ogr/data/
)
- repo: https://github.com/pycqa/flake8
Expand All @@ -27,6 +29,7 @@ repos:
(?x)^(
swig/python/osgeo/__init__.py|
swig/python/osgeo/gdalnumeric.py|
doc/source/_extensions/sphinxcontrib_programoutput_gdal.py|
examples/|
autotest/ogr/data/
)
Expand Down
12 changes: 7 additions & 5 deletions doc/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
# This file may be used to create an environment using:
# $ pip install --upgrade -r <this file>
breathe
fsspec
numpy
sphinx
breathe
sphinx_bootstrap_theme
sphinxcontrib-bibtex
sphinx_rtd_theme
recommonmark
sphinx-markdown-tables
sphinxcontrib-spelling
sphinx_rtd_theme
sphinxcontrib-bibtex
sphinxcontrib-jquery
# We use a slightly forked version
# sphinxcontrib-programoutput
sphinxcontrib-spelling
myst_nb
recommonmark
2 changes: 1 addition & 1 deletion doc/rtd/pre_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cmake \
-DGDAL_PYTHON_INSTALL_PREFIX=${PREFIX} \
-DGDAL_BUILD_OPTIONAL_DRIVERS=OFF \
-DOGR_BUILD_OPTIONAL_DRIVERS=OFF \
-DBUILD_APPS=OFF \
-DBUILD_APPS=ON \
-DBUILD_PYTHON_BINDINGS=ON \
-DBUILD_JAVA_BINDINGS=ON \
-DBUILD_TESTING=OFF \
Expand Down
Loading

0 comments on commit a00fbc1

Please sign in to comment.