From cf7da1843c45a4c2df7a749f7886a2d2ba0ee92a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 19:25:40 +0200 Subject: Adding upstream version 7.2.6. Signed-off-by: Daniel Baumann --- tests/roots/test-html_assets/conf.py | 12 ++++++++++++ tests/roots/test-html_assets/extra/.htaccess | 0 tests/roots/test-html_assets/extra/.htpasswd | 0 tests/roots/test-html_assets/extra/API.html_t | 1 + tests/roots/test-html_assets/extra/css/style.css | 0 tests/roots/test-html_assets/extra/index.rst | 0 tests/roots/test-html_assets/extra/rimg.png | Bin 0 -> 120 bytes tests/roots/test-html_assets/extra/subdir/.htaccess | 0 tests/roots/test-html_assets/extra/subdir/.htpasswd | 0 tests/roots/test-html_assets/index.rst | 3 +++ tests/roots/test-html_assets/static/.htaccess | 0 tests/roots/test-html_assets/static/.htpasswd | 0 tests/roots/test-html_assets/static/API.html_t | 1 + tests/roots/test-html_assets/static/css/style.css | 0 tests/roots/test-html_assets/static/index.rst | 0 tests/roots/test-html_assets/static/js/custom.js | 0 tests/roots/test-html_assets/static/rimg.png | Bin 0 -> 120 bytes tests/roots/test-html_assets/static/subdir/.htaccess | 0 tests/roots/test-html_assets/static/subdir/.htpasswd | 0 tests/roots/test-html_assets/subdir/_build/index.html | 0 tests/roots/test-html_assets/subdir/background.png | Bin 0 -> 120 bytes 21 files changed, 17 insertions(+) create mode 100644 tests/roots/test-html_assets/conf.py create mode 100644 tests/roots/test-html_assets/extra/.htaccess create mode 100644 tests/roots/test-html_assets/extra/.htpasswd create mode 100644 tests/roots/test-html_assets/extra/API.html_t create mode 100644 tests/roots/test-html_assets/extra/css/style.css create mode 100644 tests/roots/test-html_assets/extra/index.rst create mode 100644 tests/roots/test-html_assets/extra/rimg.png create mode 100644 tests/roots/test-html_assets/extra/subdir/.htaccess create mode 100644 tests/roots/test-html_assets/extra/subdir/.htpasswd create mode 100644 tests/roots/test-html_assets/index.rst create mode 100644 tests/roots/test-html_assets/static/.htaccess create mode 100644 tests/roots/test-html_assets/static/.htpasswd create mode 100644 tests/roots/test-html_assets/static/API.html_t create mode 100644 tests/roots/test-html_assets/static/css/style.css create mode 100644 tests/roots/test-html_assets/static/index.rst create mode 100644 tests/roots/test-html_assets/static/js/custom.js create mode 100644 tests/roots/test-html_assets/static/rimg.png create mode 100644 tests/roots/test-html_assets/static/subdir/.htaccess create mode 100644 tests/roots/test-html_assets/static/subdir/.htpasswd create mode 100644 tests/roots/test-html_assets/subdir/_build/index.html create mode 100644 tests/roots/test-html_assets/subdir/background.png (limited to 'tests/roots/test-html_assets') diff --git a/tests/roots/test-html_assets/conf.py b/tests/roots/test-html_assets/conf.py new file mode 100644 index 0000000..7f94bbb --- /dev/null +++ b/tests/roots/test-html_assets/conf.py @@ -0,0 +1,12 @@ +project = 'Sphinx' +version = '1.4.4' + +html_static_path = ['static', 'subdir'] +html_extra_path = ['extra', 'subdir'] +html_css_files = ['css/style.css', + ('https://example.com/custom.css', + {'title': 'title', 'media': 'print', 'priority': 400})] +html_js_files = ['js/custom.js', + ('https://example.com/script.js', + {'async': 'async', 'priority': 400})] +exclude_patterns = ['**/_build', '**/.htpasswd'] diff --git a/tests/roots/test-html_assets/extra/.htaccess b/tests/roots/test-html_assets/extra/.htaccess new file mode 100644 index 0000000..e69de29 diff --git a/tests/roots/test-html_assets/extra/.htpasswd b/tests/roots/test-html_assets/extra/.htpasswd new file mode 100644 index 0000000..e69de29 diff --git a/tests/roots/test-html_assets/extra/API.html_t b/tests/roots/test-html_assets/extra/API.html_t new file mode 100644 index 0000000..34ecd9d --- /dev/null +++ b/tests/roots/test-html_assets/extra/API.html_t @@ -0,0 +1 @@ +{{ project }}-{{ version }} diff --git a/tests/roots/test-html_assets/extra/css/style.css b/tests/roots/test-html_assets/extra/css/style.css new file mode 100644 index 0000000..e69de29 diff --git a/tests/roots/test-html_assets/extra/index.rst b/tests/roots/test-html_assets/extra/index.rst new file mode 100644 index 0000000..e69de29 diff --git a/tests/roots/test-html_assets/extra/rimg.png b/tests/roots/test-html_assets/extra/rimg.png new file mode 100644 index 0000000..fda6cd2 Binary files /dev/null and b/tests/roots/test-html_assets/extra/rimg.png differ diff --git a/tests/roots/test-html_assets/extra/subdir/.htaccess b/tests/roots/test-html_assets/extra/subdir/.htaccess new file mode 100644 index 0000000..e69de29 diff --git a/tests/roots/test-html_assets/extra/subdir/.htpasswd b/tests/roots/test-html_assets/extra/subdir/.htpasswd new file mode 100644 index 0000000..e69de29 diff --git a/tests/roots/test-html_assets/index.rst b/tests/roots/test-html_assets/index.rst new file mode 100644 index 0000000..6d56194 --- /dev/null +++ b/tests/roots/test-html_assets/index.rst @@ -0,0 +1,3 @@ +test-html_extra_path +===================== +this is dummy content diff --git a/tests/roots/test-html_assets/static/.htaccess b/tests/roots/test-html_assets/static/.htaccess new file mode 100644 index 0000000..e69de29 diff --git a/tests/roots/test-html_assets/static/.htpasswd b/tests/roots/test-html_assets/static/.htpasswd new file mode 100644 index 0000000..e69de29 diff --git a/tests/roots/test-html_assets/static/API.html_t b/tests/roots/test-html_assets/static/API.html_t new file mode 100644 index 0000000..34ecd9d --- /dev/null +++ b/tests/roots/test-html_assets/static/API.html_t @@ -0,0 +1 @@ +{{ project }}-{{ version }} diff --git a/tests/roots/test-html_assets/static/css/style.css b/tests/roots/test-html_assets/static/css/style.css new file mode 100644 index 0000000..e69de29 diff --git a/tests/roots/test-html_assets/static/index.rst b/tests/roots/test-html_assets/static/index.rst new file mode 100644 index 0000000..e69de29 diff --git a/tests/roots/test-html_assets/static/js/custom.js b/tests/roots/test-html_assets/static/js/custom.js new file mode 100644 index 0000000..e69de29 diff --git a/tests/roots/test-html_assets/static/rimg.png b/tests/roots/test-html_assets/static/rimg.png new file mode 100644 index 0000000..fda6cd2 Binary files /dev/null and b/tests/roots/test-html_assets/static/rimg.png differ diff --git a/tests/roots/test-html_assets/static/subdir/.htaccess b/tests/roots/test-html_assets/static/subdir/.htaccess new file mode 100644 index 0000000..e69de29 diff --git a/tests/roots/test-html_assets/static/subdir/.htpasswd b/tests/roots/test-html_assets/static/subdir/.htpasswd new file mode 100644 index 0000000..e69de29 diff --git a/tests/roots/test-html_assets/subdir/_build/index.html b/tests/roots/test-html_assets/subdir/_build/index.html new file mode 100644 index 0000000..e69de29 diff --git a/tests/roots/test-html_assets/subdir/background.png b/tests/roots/test-html_assets/subdir/background.png new file mode 100644 index 0000000..fda6cd2 Binary files /dev/null and b/tests/roots/test-html_assets/subdir/background.png differ -- cgit v1.2.3