mirror of
https://github.com/daylinmorgan/viv.git
synced 2024-11-12 12:13:15 -06:00
ci: docs exists I promise github
This commit is contained in:
parent
640bcba873
commit
4d84f3730e
2 changed files with 3 additions and 1 deletions
|
@ -37,6 +37,8 @@ def svgs(session):
|
||||||
@nox.session
|
@nox.session
|
||||||
def docs(session):
|
def docs(session):
|
||||||
pdm_install(session, "docs")
|
pdm_install(session, "docs")
|
||||||
|
Path("docs").mkdir(exist_ok=True)
|
||||||
|
|
||||||
if not Path("docs/svgs").is_dir():
|
if not Path("docs/svgs").is_dir():
|
||||||
svgs(session)
|
svgs(session)
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ from textwrap import dedent
|
||||||
from typing import Tuple
|
from typing import Tuple
|
||||||
|
|
||||||
DOCS_PATH = Path(__file__).parent.parent / "docs"
|
DOCS_PATH = Path(__file__).parent.parent / "docs"
|
||||||
(SAVE_PATH := DOCS_PATH / "svgs").mkdir(exist_ok=True)
|
(SAVE_PATH := DOCS_PATH / "svgs").mkdir(exist_ok=True, parents=True)
|
||||||
VIV = Path(__file__).parent.parent / "src" / "viv" / "viv.py"
|
VIV = Path(__file__).parent.parent / "src" / "viv" / "viv.py"
|
||||||
CLI_DOC_PATH = DOCS_PATH / "cli.md"
|
CLI_DOC_PATH = DOCS_PATH / "cli.md"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue