| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 6ed468a commit 7264c21
5 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,3 +1,5 @@ | |||
| 1 | + --- | ||
| 2 | + | ||
| 1 | 3 | name: Tests | |
| 2 | 4 | ||
| 3 | 5 | on: | |
@@ -23,7 +25,7 @@ jobs: | |||
| 23 | 25 | - name: setup requirements | |
| 24 | 26 | run: | | |
| 25 | 27 | python -m pip install --upgrade pip | |
| 26 | - python -m pip install jinja2 markupsafe | ||
| 28 | + python -m pip install jinja2 markupsafe zc.lockfile | ||
| 27 | 29 | - name: build docs | |
| 28 | 30 | run: | | |
| 29 | 31 | 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 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,6 +2,19 @@ | |||
| 2 | 2 | Changelog | |
| 3 | 3 | ========= | |
| 4 | 4 | ||
| 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 | + | ||
| 5 | 18 | `2021.5 <https://github.com/python/python-docs-theme/releases/tag/v2021.5>`_ | |
| 6 | 19 | ------------------------------------------------------------------------------ | |
| 7 | 20 | ||
@@ -13,7 +26,7 @@ Changelog | |||
| 13 | 26 | Contributed by Aaron Carlisle. | |
| 14 | 27 | - Test Github action to validate the theme against docsbuild scripts. (#69) | |
| 15 | 28 | 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) | ||
| 17 | 30 | Contributed by Julien Palard. | |
| 18 | 31 | ||
| 19 | 32 | ||
@@ -22,7 +35,7 @@ Changelog | |||
| 22 | 35 | ||
| 23 | 36 | - Updated the readme, to remind user to install the package in a virtual environment. (#41) | |
| 24 | 37 | 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) | ||
| 26 | 39 | Contributed by Pradyun Gedam. | |
| 27 | 40 | - Added license information to the footer of the doc (#36) | |
| 28 | 41 | Contributed by Todd. | |
| Original file line number | Diff line number | Diff 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``) | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,6 @@ | |||
| 1 | 1 | [theme] | |
| 2 | 2 | inherit = default | |
| 3 | - stylesheet = pydoctheme.css?2021.5.dev | ||
| 3 | + stylesheet = pydoctheme.css?2021.8 | ||
| 4 | 4 | pygments_style = default | |
| 5 | 5 | ||
| 6 | 6 | [options] | |
@@ -24,7 +24,7 @@ headlinkcolor = #aaaaaa | |||
| 24 | 24 | codebgcolor = #eeffcc | |
| 25 | 25 | codetextcolor = #333333 | |
| 26 | 26 | ||
| 27 | - issues_url = | ||
| 27 | + issues_url = | ||
| 28 | 28 | root_name = Python | |
| 29 | 29 | root_url = https://www.python.org/ | |
| 30 | 30 | root_icon = py.svg | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,7 +13,7 @@ | |||
| 13 | 13 | name='python-docs-theme', | |
| 14 | 14 | # Version is date based as year.month[.serial], where serial is used | |
| 15 | 15 | # if multiple releases are needed to address build failures. | |
| 16 | - version='2021.5.dev', | ||
| 16 | + version='2021.8', | ||
| 17 | 17 | description='The Sphinx theme for the CPython docs and related projects', | |
| 18 | 18 | long_description=long_description, | |
| 19 | 19 | author='PyPA', | |
| Back | FazBrowse Home | New Git URL |
0 commit comments