- build/en/html
stage: deploy
script:
- - DEBIAN_FRONTEND=noninteractive apt-get install -y python3-sphinx python3-sphinxcontrib.spelling python3-stemmer make rsync
+ - DEBIAN_FRONTEND=noninteractive apt-get install -y python3-sphinx python3-sphinxcontrib.spelling python3-stemmer python3-pip make rsync
+ - pip3 install sphinx_rtd_theme
- make all_epub # build/LANG/epub
- make all_html # build/LANG/html
- rsync -c -u -r -e "ssh" --progress build/* chrisc@www.koha-community.org:/var/www/manual/20.11/
#
# import os
import sys; sys.setrecursionlimit(3000)
+import sphinx_rtd_theme
# import sys
# sys.path.insert(0, os.path.abspath('.'))
'sphinx.ext.coverage',
'sphinxcontrib.spelling',
'sphinx.ext.autosectionlabel',
+ 'sphinx_rtd_theme',
]
# Spelling options
# built documents.
#
# The short X.Y version.
-version = '20.05'
+version = '20.11'
# The full version, including alpha/beta/rc tags.
-release = '20.05'
+release = '20.11'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
-html_theme = 'default'
+html_theme = 'sphinx_rtd_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
# documentation.
#
-# html_theme_options = {}
+html_theme_options = {
+
+ 'prev_next_buttons_location': 'both',
+ 'style_nav_header_background': '#4a9b32'
+
+}
# Add any paths that contain custom themes here, relative to this directory.
# html_theme_path = []