From 81b0059d83cc0850621737f79c7ae9de79f543a5 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Sat, 30 Mar 2019 23:39:56 +0000 Subject: [PATCH] docs: faster stats-preserving redirect --- docs/_templates/ansible.html | 14 ++++++++++++++ docs/_templates/layout.html | 6 +----- docs/_templates/piwik-config.js | 5 +++++ docs/ansible.rst | 10 ---------- docs/ansible_detailed.rst | 6 ------ docs/conf.py | 1 + 6 files changed, 21 insertions(+), 21 deletions(-) create mode 100644 docs/_templates/ansible.html create mode 100644 docs/_templates/piwik-config.js delete mode 100644 docs/ansible.rst diff --git a/docs/_templates/ansible.html b/docs/_templates/ansible.html new file mode 100644 index 00000000..770e0a45 --- /dev/null +++ b/docs/_templates/ansible.html @@ -0,0 +1,14 @@ + +Mitogen for Ansible (Redirect) + + + + diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html index 48a146ad..297ab9ef 100644 --- a/docs/_templates/layout.html +++ b/docs/_templates/layout.html @@ -5,14 +5,10 @@ {{ super() }} diff --git a/docs/ansible_detailed.rst b/docs/ansible_detailed.rst index fdddf0d3..8128765a 100644 --- a/docs/ansible_detailed.rst +++ b/docs/ansible_detailed.rst @@ -1,10 +1,4 @@ -.. toctree:: - :hidden: - - ansible - - .. _ansible_detailed: Mitogen for Ansible diff --git a/docs/conf.py b/docs/conf.py index a6bc2cbc..7f03e451 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -12,6 +12,7 @@ extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx', 'sphinxcontrib.pro html_show_sourcelink = False html_show_sphinx = False html_sidebars = {'**': ['globaltoc.html', 'github.html']} +html_additional_pages = {'ansible': 'ansible.html'} html_static_path = ['_static'] html_theme = 'alabaster' html_theme_options = {