File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,12 @@ In your ``conf.py`` file:
4848
4949 html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
5050
51+ or (since master):
52+
53+ .. code :: python
54+
55+ html_theme = " sphinx_rtd_theme"
56+
5157 Via git or download
5258-------------------
5359
@@ -113,6 +119,8 @@ master
113119* Add language to the JS output variable
114120* Include the lato italics font with the theme
115121* Fix padding on field lists
122+ * Add setuptools entry point allowing to use ``sphinx_rtd_theme `` as
123+ Sphinx ``html_theme `` directly.
116124
117125v0.2.4
118126------
Original file line number Diff line number Diff line change 2727 'static/font/*.*'
2828 ]},
2929 include_package_data = True ,
30+ entry_points = {
31+ 'sphinx.html_themes' : [
32+ 'sphinx_rtd_theme = sphinx_rtd_theme' ,
33+ ]
34+ },
3035 classifiers = [
3136 'Development Status :: 5 - Production/Stable' ,
3237 'License :: OSI Approved :: MIT License' ,
You can’t perform that action at this time.
0 commit comments