mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2025-02-25 18:55:21 -06:00
Added setuptools entry point for Sphinx
This allows using `sphinx_rtd_theme` as Sphinx `html_theme` directly.
This commit is contained in:
@@ -48,6 +48,12 @@ In your ``conf.py`` file:
|
||||
|
||||
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
|
||||
|
||||
or (since master):
|
||||
|
||||
.. code:: python
|
||||
|
||||
html_theme = "sphinx_rtd_theme"
|
||||
|
||||
Via git or download
|
||||
-------------------
|
||||
|
||||
@@ -113,6 +119,8 @@ master
|
||||
* Add language to the JS output variable
|
||||
* Include the lato italics font with the theme
|
||||
* Fix padding on field lists
|
||||
* Add setuptools entry point allowing to use ``sphinx_rtd_theme`` as
|
||||
Sphinx ``html_theme`` directly.
|
||||
|
||||
v0.2.4
|
||||
------
|
||||
|
||||
Reference in New Issue
Block a user