Repository :
http://git.fedorahosted.org/cgit/fedocal.git
On branch : master
---------------------------------------------------------------
commit a42e28acff32d94998bb88d79c3d26f505e650a3
Author: Pierre-Yves Chibon <pingou(a)pingoured.fr>
Date: Fri Mar 15 18:22:58 2013 +0100
Update documentation layout
---------------------------------------------------------------
doc/_static/fedocal.png | Bin 0 -> 5280 bytes
doc/_static/site.css | 17 +++++++++++++++++
doc/_templates/fedocal-logo.html | 1 +
doc/conf.py | 12 +++++++++---
4 files changed, 27 insertions(+), 3 deletions(-)
diff --git a/doc/_static/fedocal.png b/doc/_static/fedocal.png
new file mode 100644
index 0000000..1c77e3b
Binary files /dev/null and b/doc/_static/fedocal.png differ
diff --git a/doc/_static/site.css b/doc/_static/site.css
new file mode 100644
index 0000000..0e8de10
--- /dev/null
+++ b/doc/_static/site.css
@@ -0,0 +1,17 @@
+@import url("cloud.css");
+@import
url("http://fonts.googleapis.com/css?family=Comfortaa");
+
+.fedocal-logo span {
+ background: url("fedocal.png") no-repeat scroll 0 0 transparent;
+ background-size: 100% 100%;
+ display: block;
+ width: 134px;
+ height: 44px;
+ margin-bottom:1px;
+ }
+
+h1.fedocal-logo {
+ font-family: 'Comfortaa', sans-serif;
+ margin-top: -10px;
+ margin-bottom: 12px;
+}
diff --git a/doc/_templates/fedocal-logo.html b/doc/_templates/fedocal-logo.html
new file mode 100644
index 0000000..e33ba3f
--- /dev/null
+++ b/doc/_templates/fedocal-logo.html
@@ -0,0 +1 @@
+<h1 class='fedocal-logo'><span></span>fedocal</h1>
diff --git a/doc/conf.py b/doc/conf.py
index ba08193..b25134e 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -50,7 +50,7 @@ copyright = u'2012, Pierre-Yves Chibon
<pingou(a)pingoured.fr>'
# The short X.Y version.
version = '0.1'
# The full version, including alpha/beta/rc tags.
-release = '1'
+#release = '1'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
@@ -91,6 +91,8 @@ pygments_style = 'sphinx'
import cloud_sptheme as csp
+html_style = 'site.css'
+
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#html_theme = 'default'
@@ -171,7 +173,11 @@ html_static_path = ['_static']
#html_use_smartypants = True
# Custom sidebar templates, maps document names to template names.
-#html_sidebars = {}
+html_sidebars = {
+ '**': [
+ 'fedocal-logo.html',
+ ]
+}
# Additional templates that should be rendered to pages, maps page names to
# template names.
@@ -204,7 +210,7 @@ html_static_path = ['_static']
#html_file_suffix = None
# Output file base name for HTML help builder.
-htmlhelp_basename = 'fedocaldoc'
+htmlhelp_basename = 'fedocal'
# -- Options for LaTeX output --------------------------------------------------