Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7264c21

Browse files
committed
Release 2021.8
1 parent6ed468a commit7264c21

File tree

5 files changed

+36
-6
lines changed

5 files changed

+36
-6
lines changed

‎.github/workflows/tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
---
2+
13
name:Tests
24

35
on:
@@ -23,7 +25,7 @@ jobs:
2325
-name:setup requirements
2426
run:|
2527
python -m pip install --upgrade pip
26-
python -m pip install jinja2 markupsafe
28+
python -m pip install jinja2 markupsafe zc.lockfile
2729
-name:build docs
2830
run:|
2931
python3 ./docsbuild-scripts/build_docs.py --quick --build-root ./build_root --www-root ./www --log-directory ./logs --group $(id -g) --skip-cache-invalidation --theme $(pwd) --language en --branch 3.9

‎CHANGELOG.rst

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22
Changelog
33
=========
44

5+
`2021.8<https://github.com/python/python-docs-theme/releases/tag/v2021.8>`_
6+
------------------------------------------------------------------------------
7+
8+
- Add the copyright_url variable in the theme (#67)
9+
Contributed by jablonskidev
10+
- Improve readability (#79)
11+
Contributed by Olga Bulat
12+
- Remove #searchbox on mobile to fix a layout bug (#76)
13+
Contributed by Olga Bulat
14+
- Fix the appearance of version/language selects (#74)
15+
Contributed by Olga Bulat
16+
17+
518
`2021.5<https://github.com/python/python-docs-theme/releases/tag/v2021.5>`_
619
------------------------------------------------------------------------------
720

@@ -13,7 +26,7 @@ Changelog
1326
Contributed by Aaron Carlisle.
1427
- Test Github action to validate the theme against docsbuild scripts. (#69)
1528
Contributed by Julien Palard.
16-
- Add the copy button to pycon3 highlighted code blocks. (#64)
29+
- Add the copy button to pycon3 highlighted code blocks. (#64)
1730
Contributed by Julien Palard.
1831

1932

@@ -22,7 +35,7 @@ Changelog
2235

2336
- Updated the readme, to remind user to install the package in a virtual environment. (#41)
2437
Contributed by Mariatta.
25-
- Updated the package url, using the GitHub repository instead of docs.python.org (#49)
38+
- Updated the package url, using the GitHub repository instead of docs.python.org (#49)
2639
Contributed by Pradyun Gedam.
2740
- Added license information to the footer of the doc (#36)
2841
Contributed by Todd.

‎CONTRIBUTING.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# How to release
2+
3+
- Update CHANGELOG.rst
4+
- bump version (YYYY.MM) in setup.py and python_docs_theme/theme.conf
5+
- commit
6+
- push to check one last time if the tests pass github side.
7+
- tag it (YYYY.MM).
8+
- build (``python -m build``)
9+
- Test it (in:file:`cpython/Doc` run
10+
``./venv/bin/pip install ../../python-docs-theme/dist/python-docs-theme-2021.8.tar.gz``
11+
then build the doc using ``make html``).
12+
- upload it: ``twine upload dist/*``.
13+
- bump version (YYYY.MM.dev) in setup.py and python_docs_theme/theme.conf
14+
- Commit this last bump.
15+
- push and push the tag (``git push && git push --tags``)

‎python_docs_theme/theme.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[theme]
22
inherit = default
3-
stylesheet = pydoctheme.css?2021.5.dev
3+
stylesheet = pydoctheme.css?2021.8
44
pygments_style = default
55

66
[options]
@@ -24,7 +24,7 @@ headlinkcolor = #aaaaaa
2424
codebgcolor = #eeffcc
2525
codetextcolor = #333333
2626

27-
issues_url =
27+
issues_url =
2828
root_name = Python
2929
root_url = https://www.python.org/
3030
root_icon = py.svg

‎setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
name='python-docs-theme',
1414
# Version is date based as year.month[.serial], where serial is used
1515
# if multiple releases are needed to address build failures.
16-
version='2021.5.dev',
16+
version='2021.8',
1717
description='The Sphinx theme for the CPython docs and related projects',
1818
long_description=long_description,
1919
author='PyPA',

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp