Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Commit 924511f

Browse files
committed
Merge branch 'master' into clean-up-css
2 parents 1391358 + f1eeacf commit 924511f

File tree

12 files changed

+11723
-176
lines changed

12 files changed

+11723
-176
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,5 +221,4 @@ typings/
221221
# Custom
222222

223223
.vscode/
224-
package-lock.json
225224
_build/

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ release: clean
22
git checkout master
33
git pull origin master
44
python setup.py sdist bdist_wheel
5-
python -m twine upload dist/*
5+
python -m twine upload --sign --identity security@readthedocs.org dist/*
66

77
tag:
8+
git checkout master
9+
git pull origin master
810
git tag `python -c "print(__import__('sphinx_search').__version__)"`
911
git push --tags
1012

docs/requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
sphinx==1.8.5
1+
sphinx==3.5.1
22
sphinx-prompt==1.1.0
3-
sphinx-tabs==1.1.10
3+
sphinx-tabs==2.0.1
44
sphinx-rtd-theme==0.4.3
55
sphinx-notfound-page==0.3
6-
sphinx-js==2.7.1
6+
sphinx-js==3.1

docs/testing.rst

Lines changed: 16 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -4,86 +4,59 @@ Testing
44
Testing is done using `Selenium WebDriver`_ for automating browser tests.
55
`Tox`_ is used to execute testing procedures.
66

7-
Before running all tests locally, `ChromeDriver`_ (for testing on Chrome browser)
8-
and `GeckoDriver`_ (for testing on Firefox browser) are required.
7+
Before running all tests locally, `ChromeDriver`_ (for testing on Chrome)
8+
and `GeckoDriver`_ (for testing on Firefox) are required.
99

1010
Install Tox via pip:
1111

1212
.. prompt:: bash
1313

14-
pip install tox
14+
pip install tox
1515

1616
Download and setup the ChromeDriver:
1717

1818
.. literalinclude:: ../scripts/setup_chromedriver.sh
19-
:language: bash
19+
:language: bash
2020

2121
Download and setup the GeckoDriver:
2222

2323
.. literalinclude:: ../scripts/setup_geckodriver.sh
24-
:language: bash
24+
:language: bash
2525

2626
To run the full test suite against your changes, simply run Tox.
2727
Tox should return without any errors.
2828
You can run Tox against all of our environments and both browsers by running:
2929

3030
.. prompt:: bash
3131

32-
tox
32+
tox
3333

3434
To run tests with a specific environment and for both browsers:
3535

3636
.. prompt:: bash
3737

38-
tox -e py36-sphinx20
38+
tox -e py36-sphinx20
3939

4040
To run tests with a specific environment and for a specified browser:
4141

4242
.. prompt:: bash
4343

44-
tox -e py36-sphinx20 -- --driver Chrome # run tests with Python 3.6 and Sphinx < 2.1 with Chrome browser
45-
tox -e py36-sphinx20 -- --driver Firefox # run tests with Python 3.6 and Sphinx < 2.1 with Firefox browser
44+
tox -e py36-sphinx20 -- --driver Chrome # run tests with Python 3.6 and Sphinx < 2.1 with Chrome browser
45+
tox -e py36-sphinx20 -- --driver Firefox # run tests with Python 3.6 and Sphinx < 2.1 with Firefox browser
4646

4747
To run tests against all environments but with a specified browser:
4848

4949
.. prompt:: bash
5050

51-
tox -- --driver Chrome # run tests with all environments with Chrome browser
52-
tox -- --driver Firefox # run tests with all environments with Firefox browser
51+
tox -- --driver Chrome # run tests with all environments with Chrome browser
52+
tox -- --driver Firefox # run tests with all environments with Firefox browser
5353

54-
The ``tox`` configuration has the following environments configured.
55-
You can target a single environment to limit the test suite:
54+
Internet Explorer and Edge
55+
--------------------------
5656

57-
.. code-block:: text
58-
59-
py36-sphinx18
60-
Run test suite with Python 3.6 and Sphinx<1.9
61-
62-
py36-sphinx20
63-
Run test suite with Python 3.6 and Sphinx<2.1
64-
65-
py36-sphinx21
66-
Run test suite with Python 3.6 and Sphinx<2.2
67-
68-
py37-sphinx18
69-
Run test suite with Python 3.7 and Sphinx <1.9
70-
71-
py37-sphinx20
72-
Run test suite with Python 3.7 and Sphinx<2.1
73-
74-
py37-sphinx21
75-
Run test suite with Python 3.7 and Sphinx<2.2
76-
77-
docs
78-
Test documentation compilation with Sphinx
79-
80-
81-
Continuous Integration
82-
----------------------
83-
84-
For every push to GitHub, Travis CI runs all the tests.
85-
You can check the current build status:
86-
https://travis-ci.org/readthedocs/readthedocs-sphinx-search
57+
Internet Explorer and Edge don't support headless mode,
58+
but we can check that everything works with
59+
https://saucelabs.com/.
8760

8861

8962
.. _Selenium WebDriver: https://seleniumhq.github.io/selenium/docs/api/py/index.html

0 commit comments

Comments
 (0)