diff options
author | Sol Jerome <sol.jerome@gmail.com> | 2012-04-16 09:56:12 -0500 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2012-04-16 09:56:12 -0500 |
commit | bf591506a10374619b26565a6fdd0bfbadd3f825 (patch) | |
tree | f7a4db2f4507caec26d27c647eb8a286ef0c95d2 | |
parent | 6539c5e525cad6e892d2153a652a9bc92d9e5c67 (diff) | |
download | bcfg2-bf591506a10374619b26565a6fdd0bfbadd3f825.tar.gz bcfg2-bf591506a10374619b26565a6fdd0bfbadd3f825.tar.bz2 bcfg2-bf591506a10374619b26565a6fdd0bfbadd3f825.zip |
doc: Add links to other versions of the docs
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
-rw-r--r-- | doc/_templates/indexsidebar.html | 11 | ||||
-rw-r--r-- | doc/conf.py | 4 |
2 files changed, 14 insertions, 1 deletions
diff --git a/doc/_templates/indexsidebar.html b/doc/_templates/indexsidebar.html new file mode 100644 index 000000000..50ae05b46 --- /dev/null +++ b/doc/_templates/indexsidebar.html @@ -0,0 +1,11 @@ +<!-- FIXME: Add download page with pdf/html/txt archives of these documents + <h3>Download</h3> + <p><a href="{{ pathto('download') }}">Download these documents</a></p> +--> + + <h3>Docs for other versions</h3> + <ul> + <li><a href="http://docs.bcfg2.org/1.1/">Bcfg2 1.1 (stable)</a></li> + <li><a href="http://docs.bcfg2.org/1.1/">Bcfg2 1.2 (stable)</a></li> + <li><a href="http://docs.bcfg2.org/dev/">Bcfg2 development documentation</a></li> + </ul> diff --git a/doc/conf.py b/doc/conf.py index 2d5be4e9e..5903b009a 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -141,7 +141,9 @@ html_last_updated_fmt = '%b %d, %Y' #html_use_smartypants = True # Custom sidebar templates, maps document names to template names. -#html_sidebars = {} +html_sidebars = { + 'index': 'indexsidebar.html' +} # Additional templates that should be rendered to pages, maps page names to # template names. |