mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Thanks to tk0miya's comment, I learnt one can add stuff to template blocks, that allows a much simpler stylesheet configuration, considering that changes at the template level will be more... well, low-level. Hopefully this is now acceptable.
13 lines
348 B
Python
13 lines
348 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
master_doc = 'index'
|
|
html_theme = 'classic'
|
|
templates_path = ['_templates']
|
|
|
|
def setup(app):
|
|
app.add_stylesheet('persistent.css')
|
|
app.add_stylesheet('default.css', title="Default")
|
|
app.add_stylesheet('alternate1.css', title="Alternate", alternate=True)
|
|
app.add_stylesheet('alternate2.css', alternate=True)
|
|
|