Skip to content

Commit 7183505

Browse files
authored
docs: fix generated doc about licenses (#159)
* follow up to #145 * disable ascii colors in cargo tree when generating doc from `cargo tree` output.
1 parent ada1fbc commit 7183505

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.vscode/extensions.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
"rust-lang.rust-analyzer",
44
"streetsidesoftware.code-spell-checker",
55
"fill-labs.dependi",
6-
"wolfmah-vscode.just-syntax",
6+
"ms-python.python",
7+
"charliermarsh.ruff",
8+
"ms-python.mypy-type-checker",
79
"eamodio.gitlens"
810
]
911
}

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ def run_mkdocs(session: nox.Session, cmd: str, *args: str):
4949
"--config-file",
5050
"docs/mkdocs.yml",
5151
*args,
52+
env={"CARGO_TERM_COLOR": "never"},
5253
)
5354

5455

5556
@nox.session(name="docs-build")
56-
# @nox.parametrize("cmd", ["build", "serve", "rs"], ids=["build", "serve", "rs"])
5757
def docs_build(session: nox.Session):
5858
"""Build docs with mkdocs"""
5959
run_mkdocs(session, "build", *session.posargs)

0 commit comments

Comments
 (0)