mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Substitute usage information into the documentation
This will simplify keeping documentation in sync with the code.
This commit is contained in:
parent
7f046a8e27
commit
09558f9329
21 changed files with 1177 additions and 55 deletions
|
@ -20,6 +20,10 @@ atty = "^0.2.14"
|
|||
toml = "^0.5.8"
|
||||
toml_edit = "^0.2.0"
|
||||
|
||||
# only needed for usage-docs
|
||||
mdbook = { version = "0.4", optional = true }
|
||||
serde_json = { version = "*", optional = true }
|
||||
|
||||
[dependencies.taskchampion]
|
||||
path = "../taskchampion"
|
||||
|
||||
|
@ -27,3 +31,14 @@ path = "../taskchampion"
|
|||
assert_cmd = "^1.0.3"
|
||||
predicates = "^1.0.7"
|
||||
tempfile = "3"
|
||||
|
||||
[features]
|
||||
usage-docs = [ "mdbook", "serde_json" ]
|
||||
|
||||
[[bin]]
|
||||
name = "ta"
|
||||
|
||||
[[bin]]
|
||||
# this is an mdbook plugin and only needed when running `mdbook`
|
||||
name = "usage-docs"
|
||||
required-features = [ "usage-docs" ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue