jj/pyproject.toml
Ilya Grigoriev 92403d7d11 require poetry 1.8, recommend installing it via pipx
I feel like recommending people install Poetry via a package manager was
a mistake. Poetry only supports its latest version, and while newer
versions are sort-of backward-compatible, they print warnings in
different situations and have different bugs.  Installing `pipx` via a
package manager, OTOH, works fine, and its older versions work fine.

Using Poetry 1.8+ allows us to use Poetry's new "non-package" mode,
which would no longer print warnings if the user does `poetry install`
instead of `poetry install --no-root`. It's likely that in newer
versions of Poetry, it will become an error.
2024-05-27 10:53:35 -07:00

23 lines
659 B
TOML

# The `dev-dependencies` section sets up tools for building `jj`
# documentation. `poetry` will install these in a virtual environment.
[tool.poetry]
name = "jj-docs"
package-mode = false
[tool.poetry.dependencies]
python = "^3.8"
[tool.poetry.group.dev.dependencies]
# These can be updated with `poetry add`.
mkdocs = ">=1.6,<1.7"
mkdocs-material = ">=9.5.24,<9.6"
# Versioning of documentation
mike = ">=2.1.1,<3"
# (Py)Markdown extensions
mdx-truly-sane-lists = "^1.3"
mdx-breakless-lists = "^1.0.1"
# Allows setting up redirects when renaming docs files
mkdocs-redirects = "^1.2.1"
# Used for the CLI reference
mkdocs-include-markdown-plugin = "^6.0.4"