2023-08-18 23:43:20 +00:00
|
|
|
# The `dev-dependencies` section sets up tools for building `jj`
|
|
|
|
# documentation. `poetry` will install these in a virtual environment.
|
|
|
|
# The other sections are unused.
|
|
|
|
[tool.poetry]
|
|
|
|
name = "jj-docs"
|
|
|
|
version = "0"
|
|
|
|
description = ""
|
|
|
|
authors = []
|
|
|
|
|
|
|
|
[tool.poetry.dependencies]
|
|
|
|
python = "^3.8"
|
|
|
|
|
2023-11-03 05:47:47 +00:00
|
|
|
[tool.poetry.group.dev.dependencies]
|
2023-11-02 05:45:46 +00:00
|
|
|
# These can be updated with `poetry add`.
|
2024-05-12 21:43:10 +00:00
|
|
|
mkdocs = ">=1.6,<1.7"
|
docs: try upgrading `mkdocs-material` again, upgrade MkDocs
https://github.com/squidfunk/mkdocs-material/issues/7160 is supposed to
be fixed now. I will double-check that the version switcher still works
after this commit. This only affects the version switcher from
"prerelease" to other versions.. The functionality is a bit brittle, so
it's hard to test locally before merging this.
We do want to upgrade, since this allows us (and seems to also require
us) to upgrade to MkDocs 1.6, which has a nice feature of disallowing
links to broken document section (beyond just checking for links to
non-existent files).
I carefully avoided unnecessary upgrades in this commit, but we
should also run `poetry update` shortly, once we check this
works properly. Also, the feature of MkDocs 1.6 I mentioned needs
enabling.
Finally, I plan to change version specifiers from Poetry's `^5.6.22`
syntax to more plain inequalities, since I keep forgetting what the
former syntax means. I started with this commit.
(I was surprised MkDocs was allowed to be upgraded to `1.6` with the
`^1.5.2` spec. I now suspect that what I previously thought it should
mean is expressed as `~1.5.2`, but inequalities are clearer).
2024-05-12 21:04:47 +00:00
|
|
|
mkdocs-material = ">=9.5.22,<9.6"
|
2024-05-12 21:43:10 +00:00
|
|
|
# Versioning of documentation
|
|
|
|
mike = ">=2.1.1,<3"
|
2023-11-02 05:26:07 +00:00
|
|
|
# (Py)Markdown extensions
|
|
|
|
mdx-truly-sane-lists = "^1.3"
|
|
|
|
mdx-breakless-lists = "^1.0.1"
|
2023-10-04 01:20:04 +00:00
|
|
|
# Allows setting up redirects when renaming docs files
|
2023-08-18 23:43:20 +00:00
|
|
|
mkdocs-redirects = "^1.2.1"
|
2024-05-12 21:43:10 +00:00
|
|
|
# Used for the CLI reference
|
2024-02-07 20:06:54 +00:00
|
|
|
mkdocs-include-markdown-plugin = "^6.0.4"
|
2023-08-18 23:43:20 +00:00
|
|
|
|
|
|
|
[build-system]
|
|
|
|
requires = ["poetry-core>=1.0.0"]
|
|
|
|
build-backend = "poetry.core.masonry.api"
|