Redirect from RTD to GitHub Pages

This commit is contained in:
vitaut 2015-05-22 06:47:05 -07:00
parent e4c0046a99
commit c389ec05a1
4 changed files with 28 additions and 0 deletions

7
support/rtd/conf.py Normal file
View File

@ -0,0 +1,7 @@
# Sphinx configuration for readthedocs.
import os, sys
master_doc = 'index'
html_theme = 'theme'
html_theme_path = ["."]

2
support/rtd/index.rst Normal file
View File

@ -0,0 +1,2 @@
If you are not redirected automatically, follow the
`link to the C++ Format documentation <http://cppformat.github.io/latest/>`_.

View File

@ -0,0 +1,17 @@
{% extends "basic/layout.html" %}
{% block extrahead %}
<meta charset="UTF-8">
<meta http-equiv="refresh" content="1;url=http://cppformat.github.io/latest/">
<script type="text/javascript">
window.location.href = "http://cppformat.github.io/latest/"
</script>
<title>Page Redirection</title>
{% endblock %}
{% block document %}
If you are not redirected automatically, follow the <a href='http://cppformat.github.io/latest/'>link to the C++ Format documentation</a>.
{% endblock %}
{% block footer %}
{% endblock %}

View File

@ -0,0 +1,2 @@
[theme]
inherit = basic