diff --git a/docsets/pytest/README.md b/docsets/pytest/README.md index cefc927e9a..4f1b7bf4fc 100755 --- a/docsets/pytest/README.md +++ b/docsets/pytest/README.md @@ -1,33 +1,51 @@ -pytest Docset -================= +# pytest Docset -* Author: Dan Girellini (https://github.com/dangitall) -* Instructions: - * clone https://github.com/pytest-dev/pytest - * `cd pytest/doc` - * Apply this patch: - ``` +- Author: Dan Girellini (https://github.com/dangitall) +- Instructions: +- clone https://github.com/pytest-dev/pytest +- `cd pytest` +- Apply this patch: + +```diff diff --git a/doc/en/conf.py b/doc/en/conf.py -index 2f3a2baf4..09d54749e 100644 +index 9558a75f9..ed87be7d0 100644 --- a/doc/en/conf.py +++ b/doc/en/conf.py -@@ -140,12 +140,12 @@ html_theme_path = ["_themes"] +@@ -149,8 +149,8 @@ linkcheck_workers = 5 + # -- Options for HTML output ---------------------------------------------------------- + # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output - # The theme to use for HTML and HTML Help pages. See the documentation for - # a list of builtin themes. --html_theme = "flask" +-html_theme = "furo" +-html_theme_options = {"sidebar_hide_name": True} +html_theme = "basic" - - # Theme options are theme-specific and customize the look and feel of a theme - # further. For a list of options available for each theme, see the - # documentation. --# html_theme_options = {"index_logo": None} +html_theme_options = {"nosidebar": True} - # Add any paths that contain custom themes here, relative to this directory. - # html_theme_path = [] + html_static_path = ["_static"] + html_css_files = [ +diff --git a/doc/en/requirements.txt b/doc/en/requirements.txt +index 0637c967b..942c3c361 100644 +--- a/doc/en/requirements.txt ++++ b/doc/en/requirements.txt +@@ -11,3 +11,4 @@ packaging + furo + sphinxcontrib-towncrier + sphinx-issues ++towncrier<24.7 +diff --git a/tox.ini b/tox.ini +index 61563ca2c..94bb88fa9 100644 +--- a/tox.ini ++++ b/tox.ini +@@ -119,6 +119,7 @@ commands = + setenv = + # Sphinx is not clean of this warning. + PYTHONWARNDEFAULTENCODING= ++ LC_ALL=C + + [testenv:docs-checklinks] + description = ``` - * `tox -e docs` (install tox via pip) - * `cd doc/en/_build` - * `cp .../icon@2x.png .` - * `doc2dash -A -n pytest --online-redirect-url https://docs.pytest.org/en/latest/contents.html -i icon@2x.png html/ -f` + +- `tox -e docs` (install tox via pip) +- `cd doc/en/` +- `doc2dash -n pytest --online-redirect-url https://docs.pytest.org/en/stable -i _static/pytest1.png html/ -f` +- `tar cvzf pytest.tgz pytest.docset` diff --git a/docsets/pytest/docset.json b/docsets/pytest/docset.json index 1fa49d2140..9ae23c3acc 100755 --- a/docsets/pytest/docset.json +++ b/docsets/pytest/docset.json @@ -1,11 +1,11 @@ { - "name": "pytest", - "version": "7.3.0", - "archive": "pytest.tgz", - "author": { - "name": "Tom Forbes", - "link": "https://github.com/orf" - }, - "aliases": [], - "specific_versions": [] + "name": "pytest", + "version": "8.3.2", + "archive": "pytest.tgz", + "author": { + "name": "Tom Forbes", + "link": "https://github.com/orf" + }, + "aliases": [], + "specific_versions": [] } diff --git a/docsets/pytest/pytest.tgz b/docsets/pytest/pytest.tgz new file mode 100644 index 0000000000..3d1b22988e Binary files /dev/null and b/docsets/pytest/pytest.tgz differ