Changeset 41c9dbc in flex_extract.git for for_developers/Sphinx/source/conf.py


Ignore:
Timestamp:
May 24, 2019, 5:07:11 PM (5 years ago)
Author:
Anne Philipp <anne.philipp@…>
Branches:
master, ctbto, dev
Children:
e0005c9, 0b00607
Parents:
fd6b3ad
Message:

Large update of Sphinx doc; moved Sphinx source to dev dir; Cleaned control files

File:
1 moved

Legend:

Unmodified
Added
Removed
  • for_developers/Sphinx/source/conf.py

    r708c667 r41c9dbc  
    2424
    2525project = u'flex_extract'
    26 copyright = u'2018, Anne Philipp and Leopold Haimberger'
     26copyright = u'2019, Anne Philipp and Leopold Haimberger'
    2727author = u'Anne Philipp and Leopold Haimberger'
    2828
     
    5252    'sphinx.ext.viewcode',
    5353    'sphinx.ext.githubpages',
     54#    'sphinx_pyreverse',
     55    'sphinx-jsonschema',
     56    'sphinx.ext.intersphinx'
    5457]
    5558
     
    9396# documentation.
    9497#
    95 # html_theme_options = {}
     98html_theme_options = {
     99     'display_version': True,
     100     'titles_only': False,
     101}
    96102
    97103# Add any paths that contain custom static files (such as style sheets) here,
     
    122128    # The paper size ('letterpaper' or 'a4paper').
    123129    #
    124     # 'papersize': 'letterpaper',
     130    'papersize': 'a4paper',
    125131
    126132    # The font size ('10pt', '11pt' or '12pt').
    127133    #
    128     # 'pointsize': '10pt',
     134    'pointsize': '12pt',
    129135
    130136    # Additional stuff for the LaTeX preamble.
     
    134140    # Latex figure (float) alignment
    135141    #
    136     # 'figure_align': 'htbp',
     142    'figure_align': 'htbp',
    137143}
    138144
     
    170176# -- Extension configuration -------------------------------------------------
    171177
     178html_context = {
     179    'css_files': ['_static/css/custom.css',
     180                  '_static/css/theme_overrides.css'
     181                 ],
     182}
     183
    172184# -- Options for todo extension ----------------------------------------------
    173185
    174186# If true, `todo` and `todoList` produce output, else they produce nothing.
    175187todo_include_todos = True
     188
     189
     190# -- Add extra css -----------------------------------------------------------
     191def setup(app):
     192    app.add_stylesheet('css/custom.css')
     193
     194
     195
     196
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG