Rewrite and simplify stylesheet handling

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.
This commit is contained in:
Jellby
2017-04-15 17:07:33 +02:00
parent 1cfed262d2
commit e59a8028d7
9 changed files with 38 additions and 70 deletions

View File

@@ -310,9 +310,11 @@ package.
.. versionadded:: 1.0
.. versionchanged:: 1.4
.. versionchanged:: 1.6
Optional ``alternate`` and/or ``title`` attributes can be supplied with
the *alternate* (of boolean type) and *title* (a string) arguments.
the *alternate* (of boolean type) and *title* (a string) arguments. The
default is no title and *alternate*=``False`` (see `this explanation
<https://developer.mozilla.org/en-US/docs/Web/CSS/Alternative_style_sheets>`_).
.. method:: Sphinx.add_latex_package(packagename, options=None)