mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2026-10-12 17:32:01 -05:00
More cleanup
This commit is contained in:
1 parent
6e6a8729ca
commit
38162920b4
4 files changed
+19
-11
No files matched your search
+9
-5
@@ -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
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
|
||||
************************
|
||||
Read the Docs Theme Demo
|
||||
************************
|
||||
|
||||
|
||||
+9
-4
@@ -1,8 +1,13 @@
|
||||
|
||||
************************
|
||||
Read the Docs Theme Docs
|
||||
************************
|
||||
.. include:: ../README.rst
|
||||
|
||||
Content
|
||||
=======
|
||||
|
||||
.. toctree::
|
||||
:caption: Theme
|
||||
|
||||
demo/index.rst
|
||||
.. toctree::
|
||||
:caption: Demo
|
||||
|
||||
demo/index
|
||||
Reference in new issue
Block a user