From 73afc6311daf6bce10d081352aa1efbfcb406d10 Mon Sep 17 00:00:00 2001 From: Thatcher Peskens Date: Tue, 25 Jun 2013 15:31:22 -0700 Subject: [PATCH] Bugfixes on docs * fixed canonical link from index * added http redirect from builder/basics * fixed url in redirect_home --- docs/sources/conf.py | 1 + docs/theme/docker/layout.html | 5 ++++- docs/theme/docker/redirect_build.html | 12 ++++++++++++ docs/theme/docker/redirect_home.html | 2 +- 4 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 docs/theme/docker/redirect_build.html diff --git a/docs/sources/conf.py b/docs/sources/conf.py index 41dba70201..ea8e1f43f0 100644 --- a/docs/sources/conf.py +++ b/docs/sources/conf.py @@ -30,6 +30,7 @@ import sys, os html_additional_pages = { 'concepts/containers': 'redirect_home.html', 'concepts/introduction': 'redirect_home.html', + 'builder/basics': 'redirect_build.html', } diff --git a/docs/theme/docker/layout.html b/docs/theme/docker/layout.html index 707888a927..f4f17f2dba 100755 --- a/docs/theme/docker/layout.html +++ b/docs/theme/docker/layout.html @@ -40,8 +40,11 @@ {%- set script_files = script_files + ['_static/js/docs.js'] %} + {%- if pagename == 'index' %} + + {% else %} - + {% endif %} {%- for cssfile in css_files %} {%- endfor %} diff --git a/docs/theme/docker/redirect_build.html b/docs/theme/docker/redirect_build.html new file mode 100644 index 0000000000..1f26fc3aaa --- /dev/null +++ b/docs/theme/docker/redirect_build.html @@ -0,0 +1,12 @@ + + + + Page Moved + + + + +This page has moved. Perhaps you should visit the Builder page + + + diff --git a/docs/theme/docker/redirect_home.html b/docs/theme/docker/redirect_home.html index 41f8da244d..109239f819 100644 --- a/docs/theme/docker/redirect_home.html +++ b/docs/theme/docker/redirect_home.html @@ -2,7 +2,7 @@ Page Moved - +