test_ok2/doc/en/_themes
Anthony Sottile 5034399d7a pre-commit run fix-encoding-pragma --all-files 2019-06-03 12:08:01 -03:00
..
flask apply most other hooks and opt out of black reformating 2018-05-23 16:45:58 +02:00
.gitignore doc: Imported Flask Sphinx Styles 2013-12-12 18:48:09 +01:00
LICENSE doc: Imported Flask Sphinx Styles 2013-12-12 18:48:09 +01:00
README doc: Imported Flask Sphinx Styles 2013-12-12 18:48:09 +01:00
flask_theme_support.py pre-commit run fix-encoding-pragma --all-files 2019-06-03 12:08:01 -03:00

README

Flask Sphinx Styles
===================

This repository contains sphinx styles for Flask and Flask related
projects.  To use this style in your Sphinx documentation, follow
this guide:

1. put this folder as _themes into your docs folder.  Alternatively
   you can also use git submodules to check out the contents there.
2. add this to your conf.py:

   sys.path.append(os.path.abspath('_themes'))
   html_theme_path = ['_themes']
   html_theme = 'flask'

The following themes exist:

- 'flask' - the standard flask documentation theme for large
  projects
- 'flask_small' - small one-page theme.  Intended to be used by
  very small addon libraries for flask.

The following options exist for the flask_small theme:

   [options]
   index_logo = ''              filename of a picture in _static
                                to be used as replacement for the
                                h1 in the index.rst file.
   index_logo_height = 120px    height of the index logo
   github_fork = ''             repository name on github for the
                                "fork me" badge