Permalink
Browse files

Use Flask theme for the documentation

  • Loading branch information...
mgood committed Feb 21, 2013
1 parent 8d5d37f commit 79421df5cd3ec870e2ccfd18ed0cb69ef9a5f8e3
Showing with 15 additions and 7 deletions.
  1. +3 −0 .gitmodules
  2. +1 −0 docs/_themes
  3. +9 −5 docs/conf.py
  4. +2 −2 docs/index.rst
View
@@ -0,0 +1,3 @@
+[submodule "docs/_themes"]
+ path = docs/_themes
+ url = git://github.com/mitsuhiko/flask-sphinx-themes.git
Submodule _themes added at 0269f3
View
@@ -48,9 +48,9 @@
# built documents.
#
# The short X.Y version.
-version = '0.7'
+version = '0.8'
# The full version, including alpha/beta/rc tags.
-release = '0.7.1'
+release = '0.8.0'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
@@ -91,15 +91,19 @@
# 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_small'
# 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 = {}
+html_theme_options = {
+ 'github_fork': 'mgood/flask-debugtoolbar',
+ 'index_logo': None,
+}
# Add any paths that contain custom themes here, relative to this directory.
-#html_theme_path = []
+sys.path.append(os.path.abspath('_themes'))
+html_theme_path = ['_themes']
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
View
@@ -3,8 +3,8 @@
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
-Welcome to Flask-DebugToolbar's documentation!
-==============================================
+Flask-DebugToolbar
+==================
This is a port of the excellent `django-debug-toolbar <https://github.com/django-debug-toolbar/django-debug-toolbar>`_
for Flask applications.

0 comments on commit 79421df

Please sign in to comment.