Skip to content

Commit 5615b21

Browse files
authored
Merge pull request #766 from sphinx-contrib/maintenance-2023-03-04
maintenance 2023-03-04
2 parents 5e0c709 + ecaaf32 commit 5615b21

File tree

5 files changed

+12
-33
lines changed

5 files changed

+12
-33
lines changed

CONTRIBUTING.rst

Lines changed: 5 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -74,37 +74,18 @@ marked as end-of-life as well as support Sphinx versions with a suggested
7474
maximum of five major-minor trees.
7575

7676
- Python interpreters that have not been marked as end-of-life will be supported
77-
by this extension. An exception exists for Python 2.7 at this time where
78-
support *may* extend to the RHEL's supported end-of-life date for Python 2.7
79-
of June 2024 (see also `How is Python 2 supported in RHEL after 2020?`_). Note
80-
that this is the maximum date for support; however, support may be dropped
81-
earlier than this date (with a notification). At minimum, Python 2.7 will be
82-
supported until the end of the 2020 calendar year (a year after Python's
83-
end-of-life date for Python 2.7).
77+
by this extension.
8478
- Supported Confluence versions will be supported versions listed in
8579
`Atlassian Support End of Life Policy`_.
8680
- Supported Sphinx versions include the last five major-minor versions of the
87-
application (e.g. 3.2.x, 3.1.x, 3.0.x, 2.4.x, 2.3.x). An exception exists for
88-
Sphinx 1.8.x series, which will be supported until this extension's support
89-
for Python 2.7 has been dropped.
81+
application (e.g. 3.2.x, 3.1.x, 3.0.x, 2.4.x, 2.3.x).
9082

9183
`PEP 8`_ is a standard styling guide for Python projects and is recommended for
92-
considerations when making contributions. On that note, please read the
93-
following:
94-
95-
- Line lengths are recommended to be at maximum 79 characters (relaxed to even
96-
80 characters) for implementation. This option is not explicitly enforced in
97-
styling checks primarily since there can be valid cases where lines may exceed
98-
such limits (e.g. a long URL in comments).
99-
- The recommendation of two blank lines (in various scenarios) are ignored.
100-
Apply appropriate blank lines where it makes sense in the implementation.
101-
- Avoid multiple imports on a single line (even for ``from ...`` usages). This
102-
is to help long term maintenance of imports with minimal clashing between
103-
various modules/types/etc. being used.
84+
consideration when making contributions. Default linters configured in tox are
85+
required to pass. Note that select exceptions may be used.
10486

10587
.. _Atlassian Support End of Life Policy: https://confluence.atlassian.com/support/atlassian-support-end-of-life-policy-201851003.html
10688
.. _Developer’s Certificate of Origin: https://developercertificate.org/
107-
.. _How is Python 2 supported in RHEL after 2020?: https://access.redhat.com/solutions/4455511
108-
.. _PEP 8: https://www.python.org/dev/peps/pep-0008
89+
.. _PEP 8: https://peps.python.org/pep-0008/
10990
.. _issue tracker: https://github.com/sphinx-contrib/confluencebuilder/issues
11091
.. _pull requests: https://github.com/sphinx-contrib/confluencebuilder/pulls

doc/features.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ or create a new extension which can bind both desired extensions together
204204
added into this extension's repository will be limited to the arbitrary
205205
release/development windows of this extension.
206206

207-
The following table show a most recent state of various third-party extensions
207+
The following table shows a most recent state of various third-party extensions
208208
interacting with this extension:
209209

210210
.. only:: latex

doc/roles.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,12 +149,13 @@ generated Confluence documents.
149149
150150
:confluence_status:`WARNING <yellow>`
151151
152-
To tweak the style of a status macro to an outlined variant, adjust the
153-
color enclosure to square brackets:
152+
To tweak the style of a status macro to an outlined variant (if supported
153+
by the configured Confluence editor), adjust the color enclosure to
154+
square brackets:
154155

155156
.. code-block:: rst
156157
157-
:confluence_status:`PASSED <green>`
158+
:confluence_status:`PASSED [green]`
158159
159160
160161
.. references ------------------------------------------------------------------

sphinxcontrib/confluencebuilder/assets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def build(self):
9494
A tuple entry will contain the following:
9595
9696
- The key (or name) of the asset.
97-
- The absolulte path of the asset on the system.
97+
- The absolute path of the asset on the system.
9898
- The content-type value of the asset.
9999
- The hash value of the asset.
100100
- The name of the document this asset should be published to.

tox.ini

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ envlist =
88
[testenv]
99
deps =
1010
-r{toxinidir}/requirements_dev.txt
11-
sphinx44: sphinx>=4.4,<4.5
12-
sphinx45: sphinx>=4.5,<4.6
13-
sphinx50: sphinx>=5.0,<5.1
1411
sphinx51: sphinx>=5.1,<5.2
1512
sphinx52: sphinx>=5.2,<5.3
1613
sphinx53: sphinx>=5.3,<5.4
@@ -72,7 +69,7 @@ commands =
7269
{envpython} -m tests.test_sandbox {posargs}
7370
passenv = *
7471

75-
[testenv:{,py37-,py38-,py39-,py310-,py311-}validation]
72+
[testenv:{,py37-,py38-,py39-,py310-,py311-,py312-}validation]
7673
deps =
7774
{[testenv]deps}
7875
-r{toxinidir}/requirements_validation.txt

0 commit comments

Comments
 (0)