tokyomercurial-5-hg-git-sphinx-mq / one-html.diff

# HG changeset patch
# User Toshi MARUYAMA <marutosijp2@gmail.com>
# Date 1341915193 -32400
# Node ID 8979006fdaee6e0c07c1c43df6176d44d05b2a00
# Parent ce24cba1d048fa04a848ce6d6ea69b5ffa4c1e94
one-html.diff

diff --git a/source/conf.py b/source/conf.py
--- a/source/conf.py
+++ b/source/conf.py
@@ -22,8 +22,7 @@ import sys, os
 
 # Add any Sphinx extension module names here, as strings. They can be extensions
 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-#extensions = []
-extensions = ['sphinxjp.themecore', 'sphinx.ext.graphviz']
+extensions = ['sphinx.ext.graphviz']
 
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['_templates']
@@ -97,13 +96,13 @@ graphviz_dot_args = [
 
 # 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 = 's6'
+html_theme = 'default'
 
 # 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 = {'nosidebar': True,}
 
 # Add any paths that contain custom themes here, relative to this directory.
 #html_theme_path = []
@@ -129,8 +128,6 @@ html_theme = 's6'
 # so a file named "default.css" will overwrite the builtin "default.css".
 html_static_path = ['_static']
 
-html_style = 'mytheme.css'
-
 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
 # using the given strftime format.
 #html_last_updated_fmt = '%b %d, %Y'
@@ -148,11 +145,9 @@ html_style = 'mytheme.css'
 
 # If false, no module index is generated.
 #html_use_modindex = True
-html_use_modindex = False
 
 # If false, no index is generated.
 #html_use_index = True
-html_use_index = False
 
 # If true, the index is split into individual pages for each letter.
 #html_split_index = False
diff --git a/source/index.rst b/source/index.rst
--- a/source/index.rst
+++ b/source/index.rst
@@ -2,6 +2,9 @@
 hg-gitについて
 ==============================================
 
+.. contents::
+.. sectnum::
+
 自己紹介
 ------------------------------------
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.