aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2025-11-09 16:15:05 +0000
committerGravatar Joe Banks <[email protected]>2025-11-09 20:35:51 +0000
commit1abbaaa631305772082d0f8ceb134510f2a9409a (patch)
tree4f5669835fcf6a35835b2b47b9d151473d0aa704 /docs
parentSet minimum uv version (diff)
Replace most references to poetry with uv
Diffstat (limited to 'docs')
-rw-r--r--docs/README.md4
-rw-r--r--docs/conf.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/README.md b/docs/README.md
index 6e218f1c..ba9ad369 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -12,7 +12,7 @@ Table of contents:
## Building
To build the docs, you can use the following task:
```shell
-poetry run task docs
+uv run task docs
```
The output will be in the [`/docs/build`](.) directory.
@@ -42,7 +42,7 @@ The project supports building all different versions at once using [sphinx-multi
after version `v7.1.0`. You can run the following command to achieve that:
```shell
-poetry run sphinx_multiversion -v docs docs/build -n -j auto -n
+uv run sphinx_multiversion -v docs docs/build -n -j auto -n
```
This will build all tags, as well as the main branch. To build branches besides the main one
diff --git a/docs/conf.py b/docs/conf.py
index fb04d245..39492483 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -35,7 +35,7 @@ REPO_LINK = "https://github.com/python-discord/bot-core"
# The full version, including alpha/beta/rc tags
release = version = tomli.loads(
(PROJECT_ROOT / "pyproject.toml").read_text(encoding="utf-8")
-)["tool"]["poetry"]["version"]
+)["project"]["version"]
# -- General configuration ---------------------------------------------------