summaryrefslogtreecommitdiff
path: root/tests/roots/test-root
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2017-12-16 00:53:55 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2017-12-16 00:53:55 +0900
commit5bc5b8f013ff34a4bbc6ee7b565b1d1d6f7d4a77 (patch)
tree832ee403ae7be7e809a99156eb3318787c26af58 /tests/roots/test-root
parent5c1a810fe7f4e731f0e379298027550661a6dc8b (diff)
parent698a0c7741d2d713be0161c4e352e27de6fe34ad (diff)
downloadsphinx-git-5bc5b8f013ff34a4bbc6ee7b565b1d1d6f7d4a77.tar.gz
Merge branch 'stable'
Diffstat (limited to 'tests/roots/test-root')
-rw-r--r--tests/roots/test-root/_static/README1
-rw-r--r--tests/roots/test-root/_static/excluded.css1
-rw-r--r--tests/roots/test-root/_static/subdir/foo.css1
-rw-r--r--tests/roots/test-root/bom.po12
-rw-r--r--tests/roots/test-root/conf.py5
-rw-r--r--tests/roots/test-root/robots.txt2
-rw-r--r--tests/roots/test-root/subdir.po9
-rw-r--r--tests/roots/test-root/templated.css_t2
-rw-r--r--tests/roots/test-root/testtheme/layout.html5
-rw-r--r--tests/roots/test-root/testtheme/static/staticimg.pngbin120 -> 0 bytes
-rw-r--r--tests/roots/test-root/testtheme/static/statictmpl.html_t2
-rw-r--r--tests/roots/test-root/testtheme/theme.conf7
-rw-r--r--tests/roots/test-root/ziptheme.zipbin1039 -> 0 bytes
13 files changed, 0 insertions, 47 deletions
diff --git a/tests/roots/test-root/_static/README b/tests/roots/test-root/_static/README
deleted file mode 100644
index 9e1ec3569..000000000
--- a/tests/roots/test-root/_static/README
+++ /dev/null
@@ -1 +0,0 @@
-This whole directory is there to test html_static_path.
diff --git a/tests/roots/test-root/_static/excluded.css b/tests/roots/test-root/_static/excluded.css
deleted file mode 100644
index 03c941a44..000000000
--- a/tests/roots/test-root/_static/excluded.css
+++ /dev/null
@@ -1 +0,0 @@
-/* This file should be excluded from being copied over */
diff --git a/tests/roots/test-root/_static/subdir/foo.css b/tests/roots/test-root/_static/subdir/foo.css
deleted file mode 100644
index 9427981d6..000000000
--- a/tests/roots/test-root/_static/subdir/foo.css
+++ /dev/null
@@ -1 +0,0 @@
-/* Stub file */
diff --git a/tests/roots/test-root/bom.po b/tests/roots/test-root/bom.po
deleted file mode 100644
index c6025eb1e..000000000
--- a/tests/roots/test-root/bom.po
+++ /dev/null
@@ -1,12 +0,0 @@
-#, fuzzy
-msgid ""
-msgstr ""
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-msgid "File with UTF-8 BOM"
-msgstr "Datei mit UTF-8"
-
-msgid "This file has a UTF-8 \"BOM\"."
-msgstr "This file has umlauts: äöü."
diff --git a/tests/roots/test-root/conf.py b/tests/roots/test-root/conf.py
index 9e984635d..0753fe19c 100644
--- a/tests/roots/test-root/conf.py
+++ b/tests/roots/test-root/conf.py
@@ -29,16 +29,11 @@ numfig = True
rst_epilog = '.. |subst| replace:: global substitution'
-html_theme = 'testtheme'
-html_theme_path = ['.']
-html_theme_options = {'testopt': 'testoverride'}
html_sidebars = {'**': ['localtoc.html', 'relations.html', 'sourcelink.html',
'customsb.html', 'searchbox.html'],
'contents': ['contentssb.html', 'localtoc.html',
'globaltoc.html']}
html_style = 'default.css'
-html_static_path = ['_static', 'templated.css_t']
-html_extra_path = ['robots.txt']
html_last_updated_fmt = '%b %d, %Y'
html_context = {'hckey': 'hcval', 'hckey_co': 'wrong_hcval_co'}
diff --git a/tests/roots/test-root/robots.txt b/tests/roots/test-root/robots.txt
deleted file mode 100644
index 1b425ee0f..000000000
--- a/tests/roots/test-root/robots.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-User-agent: *
-Disallow: /cgi-bin/
diff --git a/tests/roots/test-root/subdir.po b/tests/roots/test-root/subdir.po
deleted file mode 100644
index f515f2207..000000000
--- a/tests/roots/test-root/subdir.po
+++ /dev/null
@@ -1,9 +0,0 @@
-#, fuzzy
-msgid ""
-msgstr ""
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-msgid "Including in subdir"
-msgstr "translation"
diff --git a/tests/roots/test-root/templated.css_t b/tests/roots/test-root/templated.css_t
deleted file mode 100644
index 72ddb807c..000000000
--- a/tests/roots/test-root/templated.css_t
+++ /dev/null
@@ -1,2 +0,0 @@
-/* Stub file, templated */
-{{ sphinx_version }}
diff --git a/tests/roots/test-root/testtheme/layout.html b/tests/roots/test-root/testtheme/layout.html
deleted file mode 100644
index 81372be0f..000000000
--- a/tests/roots/test-root/testtheme/layout.html
+++ /dev/null
@@ -1,5 +0,0 @@
-{% extends "basic/layout.html" %}
-{% block extrahead %}
-<meta name="testopt" content="{{ theme_testopt }}" />
-{{ super() }}
-{% endblock %}
diff --git a/tests/roots/test-root/testtheme/static/staticimg.png b/tests/roots/test-root/testtheme/static/staticimg.png
deleted file mode 100644
index fda6cd29e..000000000
--- a/tests/roots/test-root/testtheme/static/staticimg.png
+++ /dev/null
Binary files differ
diff --git a/tests/roots/test-root/testtheme/static/statictmpl.html_t b/tests/roots/test-root/testtheme/static/statictmpl.html_t
deleted file mode 100644
index 4ab292b42..000000000
--- a/tests/roots/test-root/testtheme/static/statictmpl.html_t
+++ /dev/null
@@ -1,2 +0,0 @@
-<!-- testing static templates -->
-<html><project>{{ project|e }}</project></html>
diff --git a/tests/roots/test-root/testtheme/theme.conf b/tests/roots/test-root/testtheme/theme.conf
deleted file mode 100644
index a87767379..000000000
--- a/tests/roots/test-root/testtheme/theme.conf
+++ /dev/null
@@ -1,7 +0,0 @@
-[theme]
-inherit = basic
-stylesheet = default.css
-pygments_style = emacs
-
-[options]
-testopt = optdefault
diff --git a/tests/roots/test-root/ziptheme.zip b/tests/roots/test-root/ziptheme.zip
deleted file mode 100644
index 8a246ed98..000000000
--- a/tests/roots/test-root/ziptheme.zip
+++ /dev/null
Binary files differ