Merge branch 'hotfix/3.5.5'
This commit is contained in:
commit
8ca154caaa
@ -112,6 +112,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- `internal/backlight`: With amdgpu backlights, the brightness indicator was slightly behind.
|
- `internal/backlight`: With amdgpu backlights, the brightness indicator was slightly behind.
|
||||||
([`#2367](https://github.com/polybar/polybar/issues/2367))
|
([`#2367](https://github.com/polybar/polybar/issues/2367))
|
||||||
|
|
||||||
|
## [3.5.5] - 2021-03-01
|
||||||
|
### Build
|
||||||
|
- Support older python sphinx versions again ([`#2356`](https://github.com/polybar/polybar/issues/2356))
|
||||||
|
|
||||||
## [3.5.4] - 2021-01-07
|
## [3.5.4] - 2021-01-07
|
||||||
### Fixed
|
### Fixed
|
||||||
- Wrong text displayed if module text ends with `}` ([`#2331`](https://github.com/polybar/polybar/issues/2331))
|
- Wrong text displayed if module text ends with `}` ([`#2331`](https://github.com/polybar/polybar/issues/2331))
|
||||||
@ -122,6 +126,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
### Fixed
|
### Fixed
|
||||||
- Empty color values are no longer treated as invalid and no longer produce an error.
|
- Empty color values are no longer treated as invalid and no longer produce an error.
|
||||||
|
|
||||||
[Unreleased]: https://github.com/polybar/polybar/compare/3.5.4...HEAD
|
[Unreleased]: https://github.com/polybar/polybar/compare/3.5.5...HEAD
|
||||||
|
[3.5.5]: https://github.com/polybar/polybar/releases/tag/3.5.5
|
||||||
[3.5.4]: https://github.com/polybar/polybar/releases/tag/3.5.4
|
[3.5.4]: https://github.com/polybar/polybar/releases/tag/3.5.4
|
||||||
[3.5.3]: https://github.com/polybar/polybar/releases/tag/3.5.3
|
[3.5.3]: https://github.com/polybar/polybar/releases/tag/3.5.3
|
||||||
|
22
doc/conf.py
22
doc/conf.py
@ -15,9 +15,7 @@
|
|||||||
import os
|
import os
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
import datetime
|
import datetime
|
||||||
from typing import List
|
import sphinx
|
||||||
from docutils.nodes import Node
|
|
||||||
from sphinx.domains.changeset import VersionChange
|
|
||||||
import packaging.version
|
import packaging.version
|
||||||
|
|
||||||
def get_version(root_path):
|
def get_version(root_path):
|
||||||
@ -32,8 +30,6 @@ def get_version(root_path):
|
|||||||
|
|
||||||
raise RuntimeError("No version found in {}".format(path))
|
raise RuntimeError("No version found in {}".format(path))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# -- Project information -----------------------------------------------------
|
# -- Project information -----------------------------------------------------
|
||||||
|
|
||||||
project = 'Polybar User Manual'
|
project = 'Polybar User Manual'
|
||||||
@ -221,12 +217,24 @@ epub_exclude_files = ['search.html']
|
|||||||
# The 'versionadded' and 'versionchanged' directives are overridden.
|
# The 'versionadded' and 'versionchanged' directives are overridden.
|
||||||
suppress_warnings = ['app.add_directive']
|
suppress_warnings = ['app.add_directive']
|
||||||
|
|
||||||
def setup(app):
|
# It is not exactly clear in which version the VersionChange class was
|
||||||
|
# introduced, but we know it is available in at least 1.8.5.
|
||||||
|
# This feature is mainly needed for the online docs on readthedocs for the docs
|
||||||
|
# built from master, documentation built for proper releases should not even
|
||||||
|
# mention unreleased changes. Because of that it's not that important that this
|
||||||
|
# is added to local builds.
|
||||||
|
if packaging.version.parse(sphinx.__version__) >= packaging.version.parse("1.8.5"):
|
||||||
|
|
||||||
|
from typing import List
|
||||||
|
from docutils.nodes import Node
|
||||||
|
from sphinx.domains.changeset import VersionChange
|
||||||
|
|
||||||
|
def setup(app):
|
||||||
app.add_directive('deprecated', VersionDirective)
|
app.add_directive('deprecated', VersionDirective)
|
||||||
app.add_directive('versionadded', VersionDirective)
|
app.add_directive('versionadded', VersionDirective)
|
||||||
app.add_directive('versionchanged', VersionDirective)
|
app.add_directive('versionchanged', VersionDirective)
|
||||||
|
|
||||||
class VersionDirective(VersionChange):
|
class VersionDirective(VersionChange):
|
||||||
"""
|
"""
|
||||||
Overwrites the Sphinx directive for versionchanged, versionadded, and
|
Overwrites the Sphinx directive for versionchanged, versionadded, and
|
||||||
deprecated and adds an unreleased tag to versions that are not yet released
|
deprecated and adds an unreleased tag to versions that are not yet released
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Polybar version information
|
# Polybar version information
|
||||||
# Update this on every release
|
# Update this on every release
|
||||||
# This is used to create the version string if a git repo is not available
|
# This is used to create the version string if a git repo is not available
|
||||||
3.5.4
|
3.5.5
|
||||||
|
Loading…
Reference in New Issue
Block a user