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
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev