diff --git a/README.rst b/README.rst index 8dc6502..968731f 100644 --- a/README.rst +++ b/README.rst @@ -32,7 +32,7 @@ On Linux (and other Unices), according to the `XDG Basedir Spec`_, it should be: ~/.local/share/ -.. _XDG Basedir Spec: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html +.. _XDG Basedir Spec: https://specifications.freedesktop.org/basedir/latest/ ``platformdirs`` to the rescue ============================== diff --git a/src/platformdirs/__init__.py b/src/platformdirs/__init__.py index 02daa59..d1c5e67 100644 --- a/src/platformdirs/__init__.py +++ b/src/platformdirs/__init__.py @@ -183,7 +183,7 @@ def site_cache_dir( :param version: See `version `. :param opinion: See `opinion `. :param ensure_exists: See `ensure_exists `. - :returns: cache directory tied to the user + :returns: cache directory shared by users """ return PlatformDirs( appname=appname, diff --git a/src/platformdirs/unix.py b/src/platformdirs/unix.py index fc75d8d..852d6bf 100644 --- a/src/platformdirs/unix.py +++ b/src/platformdirs/unix.py @@ -25,15 +25,13 @@ def getuid() -> NoReturn: class Unix(PlatformDirsABC): # noqa: PLR0904 """ - On Unix/Linux, we follow the `XDG Basedir Spec `_. + On Unix/Linux, we follow the `XDG Basedir Spec `_. The spec allows overriding directories with environment variables. The examples shown are the default values, alongside the name of the environment variable that overrides them. Makes use of the `appname `, `version `, `multipath `, `opinion `, `ensure_exists `. - """ @property