[svn r63549] Attempted to create a theme based on the previous pylib pages.
This initial version looks worse than either the old pages or the default sphinx output. Can revert back to the default theme by referting the change to conf.py Also added a new make target to force all html to be rebuilt. Sphinx doesn't detect changes to stylesheets in themes. --HG-- branch : trunk
This commit is contained in:
parent
ca2c19731a
commit
6104fa0142
|
@ -16,6 +16,7 @@ ALLSPHINXOPTS = -d _build/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
|
|||
help:
|
||||
@echo "Please use \`make <target>' where <target> is one of"
|
||||
@echo " html to make standalone HTML files"
|
||||
@echo " htmlall to force make all standalone HTML files"
|
||||
@echo " dirhtml to make HTML files named index.html in directories"
|
||||
@echo " pickle to make pickle files"
|
||||
@echo " json to make JSON files"
|
||||
|
@ -34,6 +35,11 @@ html:
|
|||
@echo
|
||||
@echo "Build finished. The HTML pages are in _build/html."
|
||||
|
||||
htmlall:
|
||||
$(SPHINXBUILD) -a -b html $(ALLSPHINXOPTS) _build/html
|
||||
@echo
|
||||
@echo "Build finished. The HTML pages are in _build/html."
|
||||
|
||||
dirhtml:
|
||||
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) _build/dirhtml
|
||||
@echo
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
@import url("basic.css");
|
||||
|
||||
body,body.editor,body.body {
|
||||
font: 110% "Times New Roman", Arial, Verdana, Helvetica, serif;
|
||||
font: 110% Verdana, Helvetica, Arial, serif;
|
||||
background: White;
|
||||
color: Black;
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
[theme]
|
||||
inherit = default
|
||||
stylesheet = style.css
|
||||
pygments_style = sphinx
|
||||
|
||||
[options]
|
||||
rightsidebar = false
|
||||
stickysidebar = false
|
||||
|
|
@ -92,7 +92,7 @@ pygments_style = 'sphinx'
|
|||
|
||||
# The theme to use for HTML and HTML Help pages. Major themes that come with
|
||||
# Sphinx are currently 'default' and 'sphinxdoc'.
|
||||
html_theme = 'default'
|
||||
html_theme = 'pylib'
|
||||
|
||||
# Theme options are theme-specific and customize the look and feel of a theme
|
||||
# further. For a list of options available for each theme, see the
|
||||
|
@ -100,7 +100,7 @@ html_theme = 'default'
|
|||
#html_theme_options = {}
|
||||
|
||||
# Add any paths that contain custom themes here, relative to this directory.
|
||||
#html_theme_path = []
|
||||
html_theme_path = ['_templates']
|
||||
|
||||
# The name for this set of Sphinx documents. If None, it defaults to
|
||||
# "<project> v<release> documentation".
|
||||
|
|
Loading…
Reference in New Issue