- added documentation license sidebar

- removed sourcelink sidebar
This commit is contained in:
Pavel Lechenko 2013-07-26 21:33:07 +04:00
parent 1f67bf11d0
commit b6713cda97
3 changed files with 36 additions and 15 deletions

View File

@ -1,12 +1,13 @@
<a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/deed.en_US">
<img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-sa/3.0/88x31.png" />
<div class="doc-license">
<a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/deed.en_US">
<img alt="Creative Commons License" style="border-width:0"
src="http://i.creativecommons.org/l/by-sa/3.0/88x31.png" />
</a><br />
<span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">
Mirantis Fuel for OpenStack Documentation</span> by
<a xmlns:cc="http://creativecommons.org/ns#" href="http://docs.mirantis.com" property="cc:attributionName" rel="cc:attributionURL">
Mirantis Inc.</a> is licensed under a
Mirantis Fuel for OpenStack Documentation by
<a href="http://www.mirantis.com">Mirantis Inc.</a>
is licensed under a
<a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/deed.en_US">
Creative Commons Attribution-ShareAlike 3.0 Unported License</a>.<br />
Based on a work at
<a xmlns:dct="http://purl.org/dc/terms/" href="https://github.com/Mirantis/fuel-docs"
rel="dct:source">https://github.com/Mirantis/fuel-docs</a>
<a href="https://github.com/Mirantis/fuel-docs">http://github.com/Mirantis/fuel-docs</a>
</div>

View File

@ -27,19 +27,39 @@ div.documentwrapper
border-bottom: 1px solid {{ theme_table_trim_color }};
}
div.document
{
max-width: 90%;
}
div.related
{
max-width: 90%;
}
div.sidebartoggle button
{
border-top: 1px solid {{ theme_sidebartrimcolor }};
}
div.body h1 {
text-align: left;
}
div.body h2,
div.body p.rubric,
div.section.emphasized > h3, /* deprecated in favor of below: */
div.section.emphasize-children > div.section > h3
{
border-width: 1px 1px 1px 1px;
font-style: normal;
}
div.sphinxsidebar #searchbox input[type="text"] {
width: 145px;
}
div.sphinxsidebar .searchtip
{
color: rgba(0,0,0,.5);
}

14
conf.py
View File

@ -28,11 +28,11 @@ on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
if on_rtd:
extensions = ['sphinx.ext.autodoc','sphinxcontrib.plantuml']
display_github = False
else:
extensions = ['sphinx.ext.autodoc','rst2pdf.pdfbuilder','sphinxcontrib.plantuml']
#if on_rtd:
# extensions = ['sphinx.ext.autodoc','sphinxcontrib.plantuml']
# display_github = False
#else:
extensions = ['sphinx.ext.autodoc','rst2pdf.pdfbuilder','sphinxcontrib.plantuml','sphinxcontrib.fancybox']
plantuml = ['java','-jar','/sbin/plantuml.jar']
@ -161,7 +161,7 @@ html_use_index = True
html_split_index = False
# If true, links to the reST sources are added to the pages.
html_show_sourcelink = True
html_show_sourcelink = False
# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
html_show_sphinx = False
@ -178,7 +178,7 @@ html_show_copyright = True
#html_file_suffix = None
# Output file base name for HTML help builder.
htmlhelp_basename = 'fueldoc'
htmlhelp_basename = 'fuel'
# -- Options for LaTeX output --------------------------------------------------