diff --git a/doc/source/_extra/.htaccess b/doc/source/_extra/.htaccess new file mode 100644 index 0000000..af736ab --- /dev/null +++ b/doc/source/_extra/.htaccess @@ -0,0 +1,3 @@ +redirectmatch 301 ^/castellan/([^/]+)/usage.html$ ^/user/index.html +redirectmatch 301 ^/castellan/([^/]+)/testing.html$ ^/contributor/testing.html +redirectmatch 301 ^/castellan/([^/]+)/installation.html$ ^/install/index.html diff --git a/doc/source/conf.py b/doc/source/conf.py index 6e2377f..9867895 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -64,6 +64,10 @@ # html_last_updated_fmt = '%b %d, %Y' html_last_updated_fmt = '%Y-%m-%d %H:%M' +# Add any paths that contain "extra" files, such as .htaccess or +# robots.txt. +html_extra_path = ['_extra'] + # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, author, documentclass # [howto/manual]).