mirror of
https://github.com/martinvonz/jj.git
synced 2024-12-27 14:57:14 +00:00
92403d7d11
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.
22 lines
659 B
TOML
22 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"
|