From c389ec05a1cd1371d51f275b8c5c2772c54d0a3c Mon Sep 17 00:00:00 2001 From: vitaut Date: Fri, 22 May 2015 06:47:05 -0700 Subject: [PATCH] Redirect from RTD to GitHub Pages --- support/rtd/conf.py | 7 +++++++ support/rtd/index.rst | 2 ++ support/rtd/theme/layout.html | 17 +++++++++++++++++ support/rtd/theme/theme.conf | 2 ++ 4 files changed, 28 insertions(+) create mode 100644 support/rtd/conf.py create mode 100644 support/rtd/index.rst create mode 100644 support/rtd/theme/layout.html create mode 100644 support/rtd/theme/theme.conf diff --git a/support/rtd/conf.py b/support/rtd/conf.py new file mode 100644 index 00000000..124fb9d4 --- /dev/null +++ b/support/rtd/conf.py @@ -0,0 +1,7 @@ +# Sphinx configuration for readthedocs. + +import os, sys + +master_doc = 'index' +html_theme = 'theme' +html_theme_path = ["."] diff --git a/support/rtd/index.rst b/support/rtd/index.rst new file mode 100644 index 00000000..7d5b11ad --- /dev/null +++ b/support/rtd/index.rst @@ -0,0 +1,2 @@ +If you are not redirected automatically, follow the +`link to the C++ Format documentation `_. diff --git a/support/rtd/theme/layout.html b/support/rtd/theme/layout.html new file mode 100644 index 00000000..3252509d --- /dev/null +++ b/support/rtd/theme/layout.html @@ -0,0 +1,17 @@ +{% extends "basic/layout.html" %} + +{% block extrahead %} + + + +Page Redirection +{% endblock %} + +{% block document %} +If you are not redirected automatically, follow the link to the C++ Format documentation. +{% endblock %} + +{% block footer %} +{% endblock %} diff --git a/support/rtd/theme/theme.conf b/support/rtd/theme/theme.conf new file mode 100644 index 00000000..89e03bbd --- /dev/null +++ b/support/rtd/theme/theme.conf @@ -0,0 +1,2 @@ +[theme] +inherit = basic