null+****@clear*****
null+****@clear*****
2011年 5月 20日 (金) 17:29:38 JST
Kouhei Sutou 2011-05-20 08:29:38 +0000 (Fri, 20 May 2011)
New Revision: a26adbe1ceafdae6a8852c98417e06ab30b4e0ac
Log:
[doc] use groonga theme.
Added files:
doc/themes/groonga/layout.html
doc/themes/groonga/static/groonga.css_t
doc/themes/groonga/theme.conf
Modified files:
build/makefiles/sphinx-build.am
build/makefiles/sphinx.am
doc/Makefile.am
doc/source/conf.py
Modified: build/makefiles/sphinx-build.am (+134 -133)
===================================================================
--- build/makefiles/sphinx-build.am 2011-05-20 07:36:16 +0000 (d887310)
+++ build/makefiles/sphinx-build.am 2011-05-20 08:29:38 +0000 (77a67ba)
@@ -24,137 +24,138 @@ sphinx-ensure-updated: $(SPHINX_BUILD)
fi
-# (cd ../../doc; find source -type f -not -name '*.pyc' | sort | sed -e 's,^,\t$(top_srcdir)/doc/,g')
-source_files = \
- $(top_srcdir)/doc/source/__init__.py \
- $(top_srcdir)/doc/source/characteristic.txt \
- $(top_srcdir)/doc/source/command_version.txt \
- $(top_srcdir)/doc/source/commands.txt \
- $(top_srcdir)/doc/source/commands/cache_limit.txt \
- $(top_srcdir)/doc/source/commands/check.txt \
- $(top_srcdir)/doc/source/commands/clearlock.txt \
- $(top_srcdir)/doc/source/commands/column_create.txt \
- $(top_srcdir)/doc/source/commands/column_list.txt \
- $(top_srcdir)/doc/source/commands/column_remove.txt \
- $(top_srcdir)/doc/source/commands/define_selector.txt \
- $(top_srcdir)/doc/source/commands/defrag.txt \
- $(top_srcdir)/doc/source/commands/delete.txt \
- $(top_srcdir)/doc/source/commands/dump.txt \
- $(top_srcdir)/doc/source/commands/load.txt \
- $(top_srcdir)/doc/source/commands/log_level.txt \
- $(top_srcdir)/doc/source/commands/log_put.txt \
- $(top_srcdir)/doc/source/commands/log_reopen.txt \
- $(top_srcdir)/doc/source/commands/quit.txt \
- $(top_srcdir)/doc/source/commands/select.txt \
- $(top_srcdir)/doc/source/commands/shutdown.txt \
- $(top_srcdir)/doc/source/commands/status.txt \
- $(top_srcdir)/doc/source/commands/suggest.txt \
- $(top_srcdir)/doc/source/commands/table_create.txt \
- $(top_srcdir)/doc/source/commands/table_list.txt \
- $(top_srcdir)/doc/source/commands/table_remove.txt \
- $(top_srcdir)/doc/source/commands/view_add.txt \
- $(top_srcdir)/doc/source/commands_not_implemented/add.txt \
- $(top_srcdir)/doc/source/commands_not_implemented/get.txt \
- $(top_srcdir)/doc/source/commands_not_implemented/set.txt \
- $(top_srcdir)/doc/source/conf.py \
- $(top_srcdir)/doc/source/developer.txt \
- $(top_srcdir)/doc/source/developer/com.txt \
- $(top_srcdir)/doc/source/developer/document.txt \
- $(top_srcdir)/doc/source/developer/query.txt \
- $(top_srcdir)/doc/source/developer/test.txt \
- $(top_srcdir)/doc/source/example/tutorial01-1.log \
- $(top_srcdir)/doc/source/example/tutorial01-10.log \
- $(top_srcdir)/doc/source/example/tutorial01-11.log \
- $(top_srcdir)/doc/source/example/tutorial01-12.log \
- $(top_srcdir)/doc/source/example/tutorial01-13.log \
- $(top_srcdir)/doc/source/example/tutorial01-14.log \
- $(top_srcdir)/doc/source/example/tutorial01-15.log \
- $(top_srcdir)/doc/source/example/tutorial01-16.log \
- $(top_srcdir)/doc/source/example/tutorial01-17.log \
- $(top_srcdir)/doc/source/example/tutorial01-2.log \
- $(top_srcdir)/doc/source/example/tutorial01-3.log \
- $(top_srcdir)/doc/source/example/tutorial01-4.log \
- $(top_srcdir)/doc/source/example/tutorial01-5.log \
- $(top_srcdir)/doc/source/example/tutorial01-6.log \
- $(top_srcdir)/doc/source/example/tutorial01-7.log \
- $(top_srcdir)/doc/source/example/tutorial01-8.log \
- $(top_srcdir)/doc/source/example/tutorial01-9.log \
- $(top_srcdir)/doc/source/example/tutorial02-1.log \
- $(top_srcdir)/doc/source/example/tutorial02-2.log \
- $(top_srcdir)/doc/source/example/tutorial02-3.log \
- $(top_srcdir)/doc/source/example/tutorial03-1.log \
- $(top_srcdir)/doc/source/example/tutorial03-2.log \
- $(top_srcdir)/doc/source/example/tutorial03-3.log \
- $(top_srcdir)/doc/source/example/tutorial04-1.log \
- $(top_srcdir)/doc/source/example/tutorial04-2.log \
- $(top_srcdir)/doc/source/example/tutorial04-3.log \
- $(top_srcdir)/doc/source/example/tutorial04-4.log \
- $(top_srcdir)/doc/source/example/tutorial04-5.log \
- $(top_srcdir)/doc/source/example/tutorial04-6.log \
- $(top_srcdir)/doc/source/example/tutorial04-7.log \
- $(top_srcdir)/doc/source/example/tutorial05-1.log \
- $(top_srcdir)/doc/source/example/tutorial05-2.log \
- $(top_srcdir)/doc/source/example/tutorial05-3.log \
- $(top_srcdir)/doc/source/example/tutorial05-4.log \
- $(top_srcdir)/doc/source/example/tutorial05-5.log \
- $(top_srcdir)/doc/source/example/tutorial05-6.log \
- $(top_srcdir)/doc/source/example/tutorial06-1.log \
- $(top_srcdir)/doc/source/example/tutorial06-2.log \
- $(top_srcdir)/doc/source/example/tutorial06-3.log \
- $(top_srcdir)/doc/source/example/tutorial06-4.log \
- $(top_srcdir)/doc/source/example/tutorial06-5.log \
- $(top_srcdir)/doc/source/example/tutorial06-6.log \
- $(top_srcdir)/doc/source/example/tutorial06-7.log \
- $(top_srcdir)/doc/source/example/tutorial07-1.log \
- $(top_srcdir)/doc/source/example/tutorial07-2.log \
- $(top_srcdir)/doc/source/example/tutorial07-3.log \
- $(top_srcdir)/doc/source/example/tutorial07-4.log \
- $(top_srcdir)/doc/source/example/tutorial08-1.log \
- $(top_srcdir)/doc/source/example/tutorial10-1.log \
- $(top_srcdir)/doc/source/example/tutorial10-10.log \
- $(top_srcdir)/doc/source/example/tutorial10-2.log \
- $(top_srcdir)/doc/source/example/tutorial10-3.log \
- $(top_srcdir)/doc/source/example/tutorial10-4.log \
- $(top_srcdir)/doc/source/example/tutorial10-5.log \
- $(top_srcdir)/doc/source/example/tutorial10-6.log \
- $(top_srcdir)/doc/source/example/tutorial10-7.log \
- $(top_srcdir)/doc/source/example/tutorial10-8.log \
- $(top_srcdir)/doc/source/example/tutorial10-9.log \
- $(top_srcdir)/doc/source/execfile.txt \
- $(top_srcdir)/doc/source/expr.txt \
- $(top_srcdir)/doc/source/functions.txt \
- $(top_srcdir)/doc/source/functions/edit_distance.txt \
- $(top_srcdir)/doc/source/functions/geo_distance.txt \
- $(top_srcdir)/doc/source/functions/geo_in_circle.txt \
- $(top_srcdir)/doc/source/functions/geo_in_rectangle.txt \
- $(top_srcdir)/doc/source/functions/now.txt \
- $(top_srcdir)/doc/source/functions/rand.txt \
- $(top_srcdir)/doc/source/grnslap.txt \
- $(top_srcdir)/doc/source/grntest.txt \
- $(top_srcdir)/doc/source/http.txt \
- $(top_srcdir)/doc/source/index.txt \
- $(top_srcdir)/doc/source/install.txt \
- $(top_srcdir)/doc/source/limitations.txt \
- $(top_srcdir)/doc/source/news.txt \
- $(top_srcdir)/doc/source/process.txt \
- $(top_srcdir)/doc/source/pseudo_column.txt \
- $(top_srcdir)/doc/source/rdoc.py \
- $(top_srcdir)/doc/source/reference.txt \
- $(top_srcdir)/doc/source/spec.txt \
- $(top_srcdir)/doc/source/spec/search.txt \
- $(top_srcdir)/doc/source/textile.py \
- $(top_srcdir)/doc/source/troubleshooting.txt \
+# (cd ../../doc; echo "source_files = \\"; (find source -type f -not -name '*.pyc'; find themes -type f) | sort | sed -e 's,^,\t$(top_srcdir)/doc/,g' -e 's,$, \\,'; echo "\t\$(NULL)")
+source_files = \
+ $(top_srcdir)/doc/source/__init__.py \
+ $(top_srcdir)/doc/source/characteristic.txt \
+ $(top_srcdir)/doc/source/command_version.txt \
+ $(top_srcdir)/doc/source/commands.txt \
+ $(top_srcdir)/doc/source/commands/cache_limit.txt \
+ $(top_srcdir)/doc/source/commands/check.txt \
+ $(top_srcdir)/doc/source/commands/clearlock.txt \
+ $(top_srcdir)/doc/source/commands/column_create.txt \
+ $(top_srcdir)/doc/source/commands/column_list.txt \
+ $(top_srcdir)/doc/source/commands/column_remove.txt \
+ $(top_srcdir)/doc/source/commands/define_selector.txt \
+ $(top_srcdir)/doc/source/commands/defrag.txt \
+ $(top_srcdir)/doc/source/commands/delete.txt \
+ $(top_srcdir)/doc/source/commands/dump.txt \
+ $(top_srcdir)/doc/source/commands/load.txt \
+ $(top_srcdir)/doc/source/commands/log_level.txt \
+ $(top_srcdir)/doc/source/commands/log_put.txt \
+ $(top_srcdir)/doc/source/commands/log_reopen.txt \
+ $(top_srcdir)/doc/source/commands/quit.txt \
+ $(top_srcdir)/doc/source/commands/select.txt \
+ $(top_srcdir)/doc/source/commands/shutdown.txt \
+ $(top_srcdir)/doc/source/commands/status.txt \
+ $(top_srcdir)/doc/source/commands/suggest.txt \
+ $(top_srcdir)/doc/source/commands/table_create.txt \
+ $(top_srcdir)/doc/source/commands/table_list.txt \
+ $(top_srcdir)/doc/source/commands/table_remove.txt \
+ $(top_srcdir)/doc/source/commands/view_add.txt \
+ $(top_srcdir)/doc/source/conf.py \
+ $(top_srcdir)/doc/source/developer.txt \
+ $(top_srcdir)/doc/source/developer/com.txt \
+ $(top_srcdir)/doc/source/developer/document.txt \
+ $(top_srcdir)/doc/source/developer/query.txt \
+ $(top_srcdir)/doc/source/developer/test.txt \
+ $(top_srcdir)/doc/source/example/tutorial01-1.log \
+ $(top_srcdir)/doc/source/example/tutorial01-10.log \
+ $(top_srcdir)/doc/source/example/tutorial01-11.log \
+ $(top_srcdir)/doc/source/example/tutorial01-12.log \
+ $(top_srcdir)/doc/source/example/tutorial01-13.log \
+ $(top_srcdir)/doc/source/example/tutorial01-14.log \
+ $(top_srcdir)/doc/source/example/tutorial01-15.log \
+ $(top_srcdir)/doc/source/example/tutorial01-16.log \
+ $(top_srcdir)/doc/source/example/tutorial01-17.log \
+ $(top_srcdir)/doc/source/example/tutorial01-2.log \
+ $(top_srcdir)/doc/source/example/tutorial01-3.log \
+ $(top_srcdir)/doc/source/example/tutorial01-4.log \
+ $(top_srcdir)/doc/source/example/tutorial01-5.log \
+ $(top_srcdir)/doc/source/example/tutorial01-6.log \
+ $(top_srcdir)/doc/source/example/tutorial01-7.log \
+ $(top_srcdir)/doc/source/example/tutorial01-8.log \
+ $(top_srcdir)/doc/source/example/tutorial01-9.log \
+ $(top_srcdir)/doc/source/example/tutorial02-1.log \
+ $(top_srcdir)/doc/source/example/tutorial02-2.log \
+ $(top_srcdir)/doc/source/example/tutorial02-3.log \
+ $(top_srcdir)/doc/source/example/tutorial03-1.log \
+ $(top_srcdir)/doc/source/example/tutorial03-2.log \
+ $(top_srcdir)/doc/source/example/tutorial03-3.log \
+ $(top_srcdir)/doc/source/example/tutorial04-1.log \
+ $(top_srcdir)/doc/source/example/tutorial04-2.log \
+ $(top_srcdir)/doc/source/example/tutorial04-3.log \
+ $(top_srcdir)/doc/source/example/tutorial04-4.log \
+ $(top_srcdir)/doc/source/example/tutorial04-5.log \
+ $(top_srcdir)/doc/source/example/tutorial04-6.log \
+ $(top_srcdir)/doc/source/example/tutorial04-7.log \
+ $(top_srcdir)/doc/source/example/tutorial05-1.log \
+ $(top_srcdir)/doc/source/example/tutorial05-2.log \
+ $(top_srcdir)/doc/source/example/tutorial05-3.log \
+ $(top_srcdir)/doc/source/example/tutorial05-4.log \
+ $(top_srcdir)/doc/source/example/tutorial05-5.log \
+ $(top_srcdir)/doc/source/example/tutorial05-6.log \
+ $(top_srcdir)/doc/source/example/tutorial06-1.log \
+ $(top_srcdir)/doc/source/example/tutorial06-2.log \
+ $(top_srcdir)/doc/source/example/tutorial06-3.log \
+ $(top_srcdir)/doc/source/example/tutorial06-4.log \
+ $(top_srcdir)/doc/source/example/tutorial06-5.log \
+ $(top_srcdir)/doc/source/example/tutorial06-6.log \
+ $(top_srcdir)/doc/source/example/tutorial06-7.log \
+ $(top_srcdir)/doc/source/example/tutorial07-1.log \
+ $(top_srcdir)/doc/source/example/tutorial07-2.log \
+ $(top_srcdir)/doc/source/example/tutorial07-3.log \
+ $(top_srcdir)/doc/source/example/tutorial07-4.log \
+ $(top_srcdir)/doc/source/example/tutorial08-1.log \
+ $(top_srcdir)/doc/source/example/tutorial10-1.log \
+ $(top_srcdir)/doc/source/example/tutorial10-10.log \
+ $(top_srcdir)/doc/source/example/tutorial10-2.log \
+ $(top_srcdir)/doc/source/example/tutorial10-3.log \
+ $(top_srcdir)/doc/source/example/tutorial10-4.log \
+ $(top_srcdir)/doc/source/example/tutorial10-5.log \
+ $(top_srcdir)/doc/source/example/tutorial10-6.log \
+ $(top_srcdir)/doc/source/example/tutorial10-7.log \
+ $(top_srcdir)/doc/source/example/tutorial10-8.log \
+ $(top_srcdir)/doc/source/example/tutorial10-9.log \
+ $(top_srcdir)/doc/source/execfile.txt \
+ $(top_srcdir)/doc/source/expr.txt \
+ $(top_srcdir)/doc/source/functions.txt \
+ $(top_srcdir)/doc/source/functions/edit_distance.txt \
+ $(top_srcdir)/doc/source/functions/geo_distance.txt \
+ $(top_srcdir)/doc/source/functions/geo_in_circle.txt \
+ $(top_srcdir)/doc/source/functions/geo_in_rectangle.txt \
+ $(top_srcdir)/doc/source/functions/now.txt \
+ $(top_srcdir)/doc/source/functions/rand.txt \
+ $(top_srcdir)/doc/source/grnslap.txt \
+ $(top_srcdir)/doc/source/grntest.txt \
+ $(top_srcdir)/doc/source/http.txt \
+ $(top_srcdir)/doc/source/index.txt \
+ $(top_srcdir)/doc/source/install.txt \
+ $(top_srcdir)/doc/source/limitations.txt \
+ $(top_srcdir)/doc/source/news.txt \
+ $(top_srcdir)/doc/source/process.txt \
+ $(top_srcdir)/doc/source/pseudo_column.txt \
+ $(top_srcdir)/doc/source/rdoc.py \
+ $(top_srcdir)/doc/source/reference.txt \
+ $(top_srcdir)/doc/source/spec.txt \
+ $(top_srcdir)/doc/source/spec/search.txt \
+ $(top_srcdir)/doc/source/textile.py \
+ $(top_srcdir)/doc/source/troubleshooting.txt \
$(top_srcdir)/doc/source/troubleshooting/different_results_with_the_same_keyword.txt \
- $(top_srcdir)/doc/source/tutorial.txt \
- $(top_srcdir)/doc/source/tutorial/tutorial01.txt \
- $(top_srcdir)/doc/source/tutorial/tutorial02.txt \
- $(top_srcdir)/doc/source/tutorial/tutorial03.txt \
- $(top_srcdir)/doc/source/tutorial/tutorial04.txt \
- $(top_srcdir)/doc/source/tutorial/tutorial05.txt \
- $(top_srcdir)/doc/source/tutorial/tutorial06.txt \
- $(top_srcdir)/doc/source/tutorial/tutorial07.txt \
- $(top_srcdir)/doc/source/tutorial/tutorial08.txt \
- $(top_srcdir)/doc/source/tutorial/tutorial09.txt \
- $(top_srcdir)/doc/source/tutorial/tutorial10.txt \
- $(top_srcdir)/doc/source/type.txt \
- $(top_srcdir)/doc/source/update_execution_example.py
+ $(top_srcdir)/doc/source/tutorial.txt \
+ $(top_srcdir)/doc/source/tutorial/tutorial01.txt \
+ $(top_srcdir)/doc/source/tutorial/tutorial02.txt \
+ $(top_srcdir)/doc/source/tutorial/tutorial03.txt \
+ $(top_srcdir)/doc/source/tutorial/tutorial04.txt \
+ $(top_srcdir)/doc/source/tutorial/tutorial05.txt \
+ $(top_srcdir)/doc/source/tutorial/tutorial06.txt \
+ $(top_srcdir)/doc/source/tutorial/tutorial07.txt \
+ $(top_srcdir)/doc/source/tutorial/tutorial08.txt \
+ $(top_srcdir)/doc/source/tutorial/tutorial09.txt \
+ $(top_srcdir)/doc/source/tutorial/tutorial10.txt \
+ $(top_srcdir)/doc/source/type.txt \
+ $(top_srcdir)/doc/source/update_execution_example.py \
+ $(top_srcdir)/doc/themes/groonga/layout.html \
+ $(top_srcdir)/doc/themes/groonga/static/groonga.css_t \
+ $(top_srcdir)/doc/themes/groonga/theme.conf \
+ $(NULL)
Modified: build/makefiles/sphinx.am (+0 -6)
===================================================================
--- build/makefiles/sphinx.am 2011-05-20 07:36:16 +0000 (a0d7bd7)
+++ build/makefiles/sphinx.am 2011-05-20 08:29:38 +0000 (5176035)
@@ -284,9 +284,6 @@ html_files = \
html/_sources/commands/table_list.txt \
html/_sources/commands/table_remove.txt \
html/_sources/commands/view_add.txt \
- html/_sources/commands_not_implemented/add.txt \
- html/_sources/commands_not_implemented/get.txt \
- html/_sources/commands_not_implemented/set.txt \
html/_sources/developer.txt \
html/_sources/developer/com.txt \
html/_sources/developer/document.txt \
@@ -373,9 +370,6 @@ html_files = \
html/commands/table_list.html \
html/commands/table_remove.html \
html/commands/view_add.html \
- html/commands_not_implemented/add.html \
- html/commands_not_implemented/get.html \
- html/commands_not_implemented/set.html \
html/developer.html \
html/developer/com.html \
html/developer/document.html \
Modified: doc/Makefile.am (+10 -0)
===================================================================
--- doc/Makefile.am 2011-05-20 07:36:16 +0000 (8b7bff6)
+++ doc/Makefile.am 2011-05-20 08:29:38 +0000 (1c54969)
@@ -18,6 +18,9 @@ pdf:
(cd $${dir} && $(MAKE) pdf); \
done
+EXTRA_DIST = \
+ $(relative_theme_files)
+
if ENABLE_DOCUMENT
dist-hook: html man
@touch $(distdir)/build-stamp
@@ -164,3 +167,10 @@ relative_source_files = \
source/type.txt \
source/update_execution_example.py \
$(NULL)
+
+# (echo "relative_theme_files = \\"; find themes -type f | sort | sed -e 's,^,\t,' -e 's,$, \\,'; echo "\t\$(NULL)")
+relative_theme_files = \
+ themes/groonga/layout.html \
+ themes/groonga/static/groonga.css_t \
+ themes/groonga/theme.conf \
+ $(NULL)
Modified: doc/source/conf.py (+2 -2)
===================================================================
--- doc/source/conf.py 2011-05-20 07:36:16 +0000 (7fa7355)
+++ doc/source/conf.py 2011-05-20 08:29:38 +0000 (0913507)
@@ -129,7 +129,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 = 'groonga'
# 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
@@ -149,7 +149,7 @@ 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".
Added: doc/themes/groonga/layout.html (+10 -0) 100644
===================================================================
--- /dev/null
+++ doc/themes/groonga/layout.html 2011-05-20 08:29:38 +0000 (dcc3960)
@@ -0,0 +1,10 @@
+{#
+ groonga/layout.html
+ ~~~~~~~~~~~~~~~~~~~
+
+ Sphinx layout template for the groonga theme.
+
+ :copyright: Copyright 2011 by the groonga team, see AUTHORS.
+ :license: LGPLv2, see LICENSE for details.
+#}
+{% extends "default/layout.html" %}
Added: doc/themes/groonga/static/groonga.css_t (+14 -0) 100644
===================================================================
--- /dev/null
+++ doc/themes/groonga/static/groonga.css_t 2011-05-20 08:29:38 +0000 (fe4c4ef)
@@ -0,0 +1,14 @@
+/*
+ * groonga.css_t
+ * ~~~~~~~~~~~~~
+ *
+ * Sphinx stylesheet -- groonga theme.
+ *
+ * :copyright: Copyright 2011 by the groonga team, see AUTHORS.
+ * :license: LGPLv2, see LICENSE for details.
+ *
+ */
+
+ @ import url("default.css");
+
+/* -- page layout ----------------------------------------------------------- */
Added: doc/themes/groonga/theme.conf (+32 -0) 100644
===================================================================
--- /dev/null
+++ doc/themes/groonga/theme.conf 2011-05-20 08:29:38 +0000 (04d5839)
@@ -0,0 +1,32 @@
+[theme]
+inherit = default
+stylesheet = groonga.css
+pygments_style = sphinx
+
+[options]
+rightsidebar = false
+stickysidebar = false
+collapsiblesidebar = false
+externalrefs = false
+
+footerbgcolor = #11303d
+footertextcolor = #ffffff
+sidebarbgcolor = #1c4e63
+sidebarbtncolor = #3c6e83
+sidebartextcolor = #ffffff
+sidebarlinkcolor = #98dbcc
+relbarbgcolor = #133f52
+relbartextcolor = #ffffff
+relbarlinkcolor = #ffffff
+bgcolor = #ffffff
+textcolor = #000000
+headbgcolor = #f2f2f2
+headtextcolor = #20435c
+headlinkcolor = #c60f0f
+linkcolor = #355f7c
+visitedlinkcolor = #355f7c
+codebgcolor = #eeffcc
+codetextcolor = #333333
+
+bodyfont = sans-serif
+headfont = sans-serif