Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pytest.docset 8.3.2 #5124

Merged
merged 1 commit into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 42 additions & 24 deletions docsets/pytest/README.md
Original file line number Diff line number Diff line change
@@ -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`
18 changes: 9 additions & 9 deletions docsets/pytest/docset.json
Original file line number Diff line number Diff line change
@@ -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": []
}
Binary file added docsets/pytest/pytest.tgz
Binary file not shown.
Loading