pytest icon indicating copy to clipboard operation
pytest copied to clipboard

Fix `|release|` RST substitution in docs having incomplete values for development versions

Open RonnyPfannschmidt opened this issue 1 year ago • 1 comments

@RonnyPfannschmidt this results in the |release| RST substitution having the value of 8.2 which might have a weird perception in changelog draft titles: https://docs.pytest.org/en/8.2.x/changelog.html#to-be-included-in-vrelease-if-present / https://docs.pytest.org/en/latest/changelog.html#to-be-included-in-vrelease-if-present.

Should this be something like +dev in the end but without a variable component, something static? Though, perhaps in RTD it'd be okay to use the long original version.

Ursprünglich gepostet von @webknjaz in https://github.com/pytest-dev/pytest/pull/12467#discussion_r1654683921

RonnyPfannschmidt avatar Jun 26 '24 18:06 RonnyPfannschmidt

I filed an upstream issue on letting these not influence the caching mechanism: https://github.com/sphinx-doc/sphinx/issues/12480.

webknjaz avatar Jun 26 '24 22:06 webknjaz