Commits

Kirill Simonov  committed a782aa2

Documentation: added a custom CSS stylesheet.

  • Participants
  • Parent commits 8321099

Comments (0)

Files changed (3)

 autodoc_member_order = 'bysource'
 
 # Add any paths that contain templates here, relative to this directory.
-#templates_path = ['_templates']
+templates_path = ['templates']
 
 # The suffix of source filenames.
 source_suffix = '.rst'
 # Add any paths that contain custom static files (such as style sheets) here,
 # relative to this directory. They are copied after the builtin static files,
 # so a file named "default.css" will overwrite the builtin "default.css".
-#html_static_path = ['_static']
+html_static_path = ['static']
 
 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
 # using the given strftime format.

File doc/static/extra.css

Empty file added.

File doc/templates/layout.html

+{% extends "!layout.html" %}
+
+{% block extrahead %}
+    <link rel="stylesheet" href="{{ pathto('_static/extra.css', 1) }}" type="text/css" />
+{% endblock %}
+