From b613af4452d23d20bfd825595e552cada867767a Mon Sep 17 00:00:00 2001 From: Georgi Valkov Date: Sun, 18 Feb 2024 21:44:59 +0100 Subject: [PATCH] Documentation fixes --- docs/changelog.rst | 22 +++++++++++++++++----- docs/conf.py | 7 ++----- docs/install.rst | 18 +++++++++--------- 3 files changed, 28 insertions(+), 19 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index f656eb1..3c625f6 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1,20 +1,32 @@ Changelog --------- +1.7.0 (Feb 18, 2024) +==================== + +- Respect the ``CPATH/C_INCLUDE_PATH`` environment variables during install. + +- Add the uniq address to the string representation of ``InputDevice``. + +- Improved method for finding the device node corresponding to a uinput device (`#206 https://github.com/gvalkov/python-evdev/pull/206`_). + +- Repository TLC (reformatted with ruff, fixed linting warnings, moved packaging metadata to ``pyproject.toml`` etc.). + + 1.6.1 (Jan 20, 2023) -================== +==================== -- Fix generation of ``ecodes.c`` when the path to ````sys.executable`` contains spaces. +- Fix generation of ``ecodes.c`` when the path to ``sys.executable`` contains spaces. 1.6.0 (Jul 17, 2022) -================== +==================== -- Fix Python 3.11 compatibility (`#174 `_) +- Fix Python 3.11 compatibility (`#174 `_). 1.5.0 (Mar 24, 2022) -================== +==================== - Fix documentation (`#163 `_, `#160 `_). diff --git a/docs/conf.py b/docs/conf.py index 875ff1d..96c84f8 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -40,6 +40,7 @@ "sphinx.ext.viewcode", "sphinx.ext.intersphinx", "sphinx.ext.napoleon", + "sphinx_rtd_theme", "sphinx_copybutton", ] @@ -111,11 +112,7 @@ # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -if not on_rtd: - import sphinx_rtd_theme - - html_theme = "sphinx_rtd_theme" - html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] +html_theme = "sphinx_rtd_theme" # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the diff --git a/docs/install.rst b/docs/install.rst index 6055f80..9906969 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -16,7 +16,7 @@ Python-evdev has been packaged for the following GNU/Linux distributions: - +