From c98516fcbfb70543a5858236fbf589adc154dd8e Mon Sep 17 00:00:00 2001 From: Sergei Izmailov Date: Sat, 27 Jun 2020 20:58:03 +0300 Subject: [PATCH] Fix searchdata.bin download url in nested pages --- documentation/templates/python/base.html | 2 +- documentation/test_python/page_nested/classes.html | 4 +++- .../test_python/page_nested/examples/advanced/barz.html | 4 +++- .../test_python/page_nested/examples/advanced/fooz.html | 4 +++- .../test_python/page_nested/examples/advanced/index.html | 4 +++- documentation/test_python/page_nested/examples/bar.html | 4 +++- documentation/test_python/page_nested/examples/foo.html | 4 +++- documentation/test_python/page_nested/examples/index.html | 4 +++- documentation/test_python/page_nested/index.html | 4 +++- documentation/test_python/page_nested/modules.html | 4 +++- documentation/test_python/page_nested/pages.html | 6 +++++- documentation/test_python/test_page.py | 1 + 12 files changed, 34 insertions(+), 11 deletions(-) diff --git a/documentation/templates/python/base.html b/documentation/templates/python/base.html index 20c3cb19..60db580a 100644 --- a/documentation/templates/python/base.html +++ b/documentation/templates/python/base.html @@ -135,7 +135,7 @@ {% endif %} {% if SEARCH_DOWNLOAD_BINARY %} {% else %} diff --git a/documentation/test_python/page_nested/classes.html b/documentation/test_python/page_nested/classes.html index eb0c2410..878331a1 100644 --- a/documentation/test_python/page_nested/classes.html +++ b/documentation/test_python/page_nested/classes.html @@ -94,6 +94,8 @@

Classes

- + diff --git a/documentation/test_python/page_nested/examples/advanced/barz.html b/documentation/test_python/page_nested/examples/advanced/barz.html index 4e9f8334..eeb286f6 100644 --- a/documentation/test_python/page_nested/examples/advanced/barz.html +++ b/documentation/test_python/page_nested/examples/advanced/barz.html @@ -80,6 +80,8 @@

- + diff --git a/documentation/test_python/page_nested/examples/advanced/fooz.html b/documentation/test_python/page_nested/examples/advanced/fooz.html index fbe93559..99c5b2ed 100644 --- a/documentation/test_python/page_nested/examples/advanced/fooz.html +++ b/documentation/test_python/page_nested/examples/advanced/fooz.html @@ -80,6 +80,8 @@

- + diff --git a/documentation/test_python/page_nested/examples/advanced/index.html b/documentation/test_python/page_nested/examples/advanced/index.html index b421eeef..b10d9970 100644 --- a/documentation/test_python/page_nested/examples/advanced/index.html +++ b/documentation/test_python/page_nested/examples/advanced/index.html @@ -84,6 +84,8 @@

- + diff --git a/documentation/test_python/page_nested/examples/bar.html b/documentation/test_python/page_nested/examples/bar.html index c0274816..1874150e 100644 --- a/documentation/test_python/page_nested/examples/bar.html +++ b/documentation/test_python/page_nested/examples/bar.html @@ -80,6 +80,8 @@

- + diff --git a/documentation/test_python/page_nested/examples/foo.html b/documentation/test_python/page_nested/examples/foo.html index c6d9e7ef..d3cf920a 100644 --- a/documentation/test_python/page_nested/examples/foo.html +++ b/documentation/test_python/page_nested/examples/foo.html @@ -80,6 +80,8 @@

- + diff --git a/documentation/test_python/page_nested/examples/index.html b/documentation/test_python/page_nested/examples/index.html index 8294fe1d..ec1fe97e 100644 --- a/documentation/test_python/page_nested/examples/index.html +++ b/documentation/test_python/page_nested/examples/index.html @@ -90,6 +90,8 @@

Advanced

- + diff --git a/documentation/test_python/page_nested/index.html b/documentation/test_python/page_nested/index.html index f25dc1c8..91dad508 100644 --- a/documentation/test_python/page_nested/index.html +++ b/documentation/test_python/page_nested/index.html @@ -80,6 +80,8 @@

- + diff --git a/documentation/test_python/page_nested/modules.html b/documentation/test_python/page_nested/modules.html index e2e76b05..68beaf0f 100644 --- a/documentation/test_python/page_nested/modules.html +++ b/documentation/test_python/page_nested/modules.html @@ -94,6 +94,8 @@

Modules

- + diff --git a/documentation/test_python/page_nested/pages.html b/documentation/test_python/page_nested/pages.html index 78b92119..347a65ee 100644 --- a/documentation/test_python/page_nested/pages.html +++ b/documentation/test_python/page_nested/pages.html @@ -45,6 +45,8 @@

Pages

  • Advanced
  • Fooz
  • Barz
  • +
  • Page 1
  • +
  • Page 2
  • - + diff --git a/documentation/test_python/test_page.py b/documentation/test_python/test_page.py index 3dedd37d..4ae58465 100644 --- a/documentation/test_python/test_page.py +++ b/documentation/test_python/test_page.py @@ -58,6 +58,7 @@ def test(self): 'examples/advanced/barz.rst', ], 'SEARCH_DISABLED': False, + 'SEARCH_DOWNLOAD_BINARY': True, 'PLUGINS': [ 'm.sphinx' ]