More cleanup

This commit is contained in:
Eric Holscher committed 2017-12-20 20:29:52 -08:00
1 parent 6e6a8729ca
commit 38162920b4
4 files changed
+19 -11

No files matched your search

+1
View File
@@ -22,6 +22,7 @@ Read the Docs Sphinx Theme
**************************
.. contents::
:backlinks: none
View a working demo_ over on readthedocs.org_.
+9 -5
View File
@@ -14,8 +14,12 @@
import sys
import os
sys.path.append(os.path.abspath('..'))
sys.path.append(os.path.abspath('./demo/'))
from sphinx_rtd_theme import __version__
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
@@ -51,17 +55,17 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
project = u'Sphinx RTD theme demo'
copyright = u'2013, Dave Snider'
project = u'Read the Docs Sphinx Theme'
copyright = u'Read the Docs, Inc & contributors'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = '0.2.4'
version = __version__
# The full version, including alpha/beta/rc tags.
release = '0.2.4'
release = __version__
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
@@ -125,7 +129,7 @@ html_theme_path = ["../.."]
# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
html_logo = "static/logo-wordmark-light.svg"
html_logo = "demo/static/logo-wordmark-light.svg"
# The name of an image file (within the static path) to use as favicon of the
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
-2
View File
@@ -1,5 +1,3 @@
************************
Read the Docs Theme Demo
************************
+9 -4
View File
@@ -1,8 +1,13 @@
************************
Read the Docs Theme Docs
************************
.. include:: ../README.rst
Content
=======
.. toctree::
:caption: Theme
demo/index.rst
.. toctree::
:caption: Demo
demo/index