[gdal-dev] GDAL 3.1.0 RC1 available
Even Rouault
even.rouault at spatialys.com
Mon Apr 27 07:18:39 PDT 2020
Bas,
> The embedded RTD theme (especially its fonts) and logo images are a
> PITA. I'm tempted to just drop the libgdal-doc package are exclude the
> entire doc/ subdirectory when repacking the tarball to make license &
> copyright review less of a pain.
As using plain sphinx_rtd_theme gives pretty decent result too, a less radical approach would
be to just remove the gdal/doc/source/gdal_rtd
directory and
A) either use the following patch
"""
diff --git a/gdal/doc/source/conf.py b/gdal/doc/source/conf.py
index 34e52a5..a3a568f 100644
--- a/gdal/doc/source/conf.py
+++ b/gdal/doc/source/conf.py
@@ -48,7 +48,7 @@ exclude_patterns = [ 'programs/options/*.rst' ]
# a list of builtin themes.
#
html_theme_path = ['.']
-html_theme = 'gdal_rtd'
+html_theme = 'sphinx_rtd_theme'
html_context = {
'display_github': True,
"""
B) or from the doc directory, run
make html O="-D html_theme=sphinx_rtd_theme"
The gdal_rtd theme comes from
https://github.com/OSGeo/gdal/commit/367837c0263cca59d2762de38816c57c08502a51
which is derived from boundless_rtd theme from
https://github.com/planetfederal/sphinx-theme
Even
--
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200427/c7d93319/attachment.html>
More information about the gdal-dev
mailing list