Commit cd2b0698 authored by Rick Gruber-Riemer's avatar Rick Gruber-Riemer

Make documentation better work on ReadTheDocs

parent c6bc0f4a
...@@ -5,4 +5,4 @@ About ...@@ -5,4 +5,4 @@ About
Further Information Further Information
================= =================
Please read the the FlightGear [Wiki documentation] (http://wiki.flightgear.org/Osm2city.py) for a functional overview. Read the [guide] (https://gitlab.com/fg-radi/osm2city/blob/master/doc/manual/osm2city.pdf) to learn about installation and usage. Please read the the FlightGear [Wiki documentation] (http://wiki.flightgear.org/Osm2city.py) for a functional overview. Read the [guide] (http://osm2city.readthedocs.io/) to learn about installation and usage.
...@@ -104,6 +104,11 @@ pygments_style = 'sphinx' ...@@ -104,6 +104,11 @@ pygments_style = 'sphinx'
# a list of builtin themes. # a list of builtin themes.
html_theme = 'default' html_theme = 'default'
on_rtd = os.environ.get('READTHEDOCS') == 'True'
if on_rtd:
html_style = 'default'
# Theme options are theme-specific and customize the look and feel of a theme # Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the # further. For a list of options available for each theme, see the
# documentation. # documentation.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment