docs: publish translated docs in twelve languages and the tool that maintains them (#3280)
This commit is contained in:
parent
14aa889992
commit
52ad0a8876
1 changed files with 89737 additions and 54 deletions
|
|
@ -14,13 +14,14 @@ from __future__ import annotations
|
|||
|
||||
import shutil
|
||||
from pathlib import Path
|
||||
from typing import TypeAlias
|
||||
|
||||
import griffe
|
||||
|
||||
# A MkDocs/Zensical nav is a list of entries, each either `{title: url}` for a
|
||||
# page or `{title: [children]}` for a section (a bare `url` string attaches
|
||||
# a section index page, courtesy of the `navigation.indexes` feature).
|
||||
NavItem = "str | dict[str, str | list[NavItem]]"
|
||||
NavItem: TypeAlias = "str | dict[str, str | list[NavItem]]"
|
||||
|
||||
ROOT = Path(__file__).parent.parent.parent
|
||||
API_DIR = ROOT / "docs" / "api"
|
||||
|
|
|
|||
Loading…
Reference in a new issue