Permalink
Browse files

change theme

  • Loading branch information...
lepture
lepture committed Jun 14, 2012
1 parent 71c3e72 commit b0a7c1da80f4789b4768da82224165c9bb68f759
Showing with 24 additions and 15 deletions.
  1. +3 −0 .gitmodules
  2. +8 −0 docs/_templates/sidebarintro.html
  3. +1 −0 docs/_themes
  4. +10 −4 docs/conf.py
  5. +2 −11 docs/index.rst
View
@@ -0,0 +1,3 @@
+[submodule "docs/_themes"]
+ path = docs/_themes
+ url = git://github.com/lepture/flask-sphinx-themes.git
@@ -0,0 +1,8 @@
+<h3>Felix Felicis</h3>
+<p>
+Felix Felicis is a magical potion, also known as liquidluck.
+It really gives the good luck to you.
+</p>
+
+<iframe src="http://markdotto.github.com/github-buttons/github-btn.html?user=lepture&repo=liquidluck&type=watch&count=true&size=large"
+ allowtransparency="true" frameborder="0" scrolling="0" width="165px" height="50px"></iframe>
Submodule _themes added at 6298bd
View
@@ -12,6 +12,8 @@
# serve to show the default.
import sys, os
+sys.path.append(os.path.abspath('_themes'))
+sys.path.append(os.path.abspath('.'))
# 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
@@ -41,7 +43,7 @@
# General information about the project.
project = u'Felix Felicis'
-copyright = u'2012, Hsiaoming Yang'
+copyright = u'2012, <a href="http://lepture.com">Hsiaoming Yang</a>'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
@@ -91,15 +93,15 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
-html_theme = 'default'
+html_theme = 'flask'
# 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
# documentation.
#html_theme_options = {}
# Add any paths that contain custom themes here, relative to this directory.
-#html_theme_path = []
+html_theme_path = ['_themes']
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
@@ -131,7 +133,11 @@
#html_use_smartypants = True
# Custom sidebar templates, maps document names to template names.
-#html_sidebars = {}
+html_sidebars = {
+ 'index': ['sidebarintro.html', 'sourcelink.html', 'searchbox.html'],
+ '**': ['localtoc.html', 'relations.html', 'sourcelink.html',
+ 'searchbox.html']
+}
# Additional templates that should be rendered to pages, maps page names to
# template names.
View
@@ -1,5 +1,5 @@
-Welcome to Felix Felicis's documentation!
-=========================================
+Welcome to Felix Felicis
+========================
Felix Felicis (aka liquidluck) is a static generator.
@@ -14,12 +14,3 @@ Contents:
config
design
theme
-
-
-
-Indices and tables
-==================
-
-* :ref:`genindex`
-* :ref:`modindex`
-* :ref:`search`

0 comments on commit b0a7c1d

Please sign in to comment.