docs: fix nested structure (#33114)
* docs: fix nested structure
* test ci
* that too
* update that
* not common mark anymore
old-commit-hash: 4fbac089f8
This commit is contained in:
parent
144e9e271c
commit
1ce6573141
|
@ -29,8 +29,7 @@ jobs:
|
||||||
- name: Build docs
|
- name: Build docs
|
||||||
run: |
|
run: |
|
||||||
# TODO: can we install just the "docs" dependency group without the normal deps?
|
# TODO: can we install just the "docs" dependency group without the normal deps?
|
||||||
pip install mkdocs==1.4.3 mkdocs-terminal mkdocs-plugin-commonmark
|
pip install mkdocs mkdocs-terminal
|
||||||
cd docs
|
|
||||||
mkdocs build
|
mkdocs build
|
||||||
|
|
||||||
# Push to docs.comma.ai
|
# Push to docs.comma.ai
|
||||||
|
@ -52,7 +51,7 @@ jobs:
|
||||||
git rm -rf .
|
git rm -rf .
|
||||||
|
|
||||||
# copy over docs
|
# copy over docs
|
||||||
cp -r ../docs/site/ docs/
|
cp -r ../docs_site/ docs/
|
||||||
|
|
||||||
# GitHub pages config
|
# GitHub pages config
|
||||||
touch docs/.nojekyll
|
touch docs/.nojekyll
|
||||||
|
|
|
@ -14,6 +14,8 @@ model2.png
|
||||||
a.out
|
a.out
|
||||||
.hypothesis
|
.hypothesis
|
||||||
|
|
||||||
|
/docs_site/
|
||||||
|
|
||||||
*.dylib
|
*.dylib
|
||||||
*.DSYM
|
*.DSYM
|
||||||
*.d
|
*.d
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
/site/
|
|
|
@ -1,6 +1,7 @@
|
||||||
# Roadmap
|
# Roadmap
|
||||||
|
|
||||||
This is the roadmap for the next major openpilot releases. Also check out
|
This is the roadmap for the next major openpilot releases. Also check out
|
||||||
|
|
||||||
* [Milestones](https://github.com/commaai/openpilot/milestones) for minor releases
|
* [Milestones](https://github.com/commaai/openpilot/milestones) for minor releases
|
||||||
* [Projects](https://github.com/commaai/openpilot/projects?query=is%3Aopen) for shorter-term projects not tied to releases
|
* [Projects](https://github.com/commaai/openpilot/projects?query=is%3Aopen) for shorter-term projects not tied to releases
|
||||||
* [Bounties](https://comma.ai/bounties) for paid individual issues
|
* [Bounties](https://comma.ai/bounties) for paid individual issues
|
|
@ -1,12 +1,13 @@
|
||||||
site_name: openpilot docs
|
site_name: openpilot docs
|
||||||
docs_dir: docs
|
|
||||||
repo_url: https://github.com/commaai/openpilot/
|
repo_url: https://github.com/commaai/openpilot/
|
||||||
site_url: https://docs.comma.ai
|
site_url: https://docs.comma.ai
|
||||||
|
|
||||||
strict: true
|
strict: true
|
||||||
|
docs_dir: docs
|
||||||
|
site_dir: docs_site/
|
||||||
|
|
||||||
plugins:
|
#plugins:
|
||||||
- commonmark
|
# - commonmark
|
||||||
|
|
||||||
theme:
|
theme:
|
||||||
name: terminal
|
name: terminal
|
|
@ -68,9 +68,8 @@ dependencies = [
|
||||||
docs = [
|
docs = [
|
||||||
"Jinja2",
|
"Jinja2",
|
||||||
"natsort",
|
"natsort",
|
||||||
"mkdocs==1.4.3", # needed for mkdocs-plugin-commonmark
|
"mkdocs",
|
||||||
"mkdocs-terminal",
|
"mkdocs-terminal",
|
||||||
"mkdocs-plugin-commonmark",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
testing = [
|
testing = [
|
||||||
|
|
24
uv.lock
24
uv.lock
|
@ -1114,15 +1114,6 @@ dependencies = [
|
||||||
{ name = "yapf" },
|
{ name = "yapf" },
|
||||||
]
|
]
|
||||||
|
|
||||||
[[distribution]]
|
|
||||||
name = "mistletoe"
|
|
||||||
version = "1.4.0"
|
|
||||||
source = { registry = "https://pypi.org/simple" }
|
|
||||||
sdist = { url = "https://files.pythonhosted.org/packages/11/96/ea46a376a7c4cd56955ecdfff0ea68de43996a4e6d1aee4599729453bd11/mistletoe-1.4.0.tar.gz", hash = "sha256:1630f906e5e4bbe66fdeb4d29d277e2ea515d642bb18a9b49b136361a9818c9d", size = 107203 }
|
|
||||||
wheels = [
|
|
||||||
{ url = "https://files.pythonhosted.org/packages/2a/0f/b5e545f0c7962be90366af3418989b12cf441d9da1e5d89d88f2f3e5cf8f/mistletoe-1.4.0-py3-none-any.whl", hash = "sha256:44a477803861de1237ba22e375c6b617690a31d2902b47279d1f8f7ed498a794", size = 51304 },
|
|
||||||
]
|
|
||||||
|
|
||||||
[[distribution]]
|
[[distribution]]
|
||||||
name = "mkdocs"
|
name = "mkdocs"
|
||||||
version = "1.4.3"
|
version = "1.4.3"
|
||||||
|
@ -1144,20 +1135,6 @@ wheels = [
|
||||||
{ url = "https://files.pythonhosted.org/packages/42/7a/5ed794942ace9d00bb77a8036c64c999cda6ebaab57e9b8a6ec1aa5fc900/mkdocs-1.4.3-py3-none-any.whl", hash = "sha256:6ee46d309bda331aac915cd24aab882c179a933bd9e77b80ce7d2eaaa3f689dd", size = 3654464 },
|
{ url = "https://files.pythonhosted.org/packages/42/7a/5ed794942ace9d00bb77a8036c64c999cda6ebaab57e9b8a6ec1aa5fc900/mkdocs-1.4.3-py3-none-any.whl", hash = "sha256:6ee46d309bda331aac915cd24aab882c179a933bd9e77b80ce7d2eaaa3f689dd", size = 3654464 },
|
||||||
]
|
]
|
||||||
|
|
||||||
[[distribution]]
|
|
||||||
name = "mkdocs-plugin-commonmark"
|
|
||||||
version = "0.0.4"
|
|
||||||
source = { registry = "https://pypi.org/simple" }
|
|
||||||
dependencies = [
|
|
||||||
{ name = "markdown" },
|
|
||||||
{ name = "mistletoe" },
|
|
||||||
{ name = "mkdocs" },
|
|
||||||
]
|
|
||||||
sdist = { url = "https://files.pythonhosted.org/packages/fa/a1/4aaa744deec61d75dbe3c67c18f6e4c1fa7699bc2661b6eff5f891e83023/mkdocs-plugin-commonmark-0.0.4.tar.gz", hash = "sha256:9034507af26646e95188a130782dd07d65c86507fddd3b47ea340c02683e85e7", size = 10805 }
|
|
||||||
wheels = [
|
|
||||||
{ url = "https://files.pythonhosted.org/packages/f9/4a/4333ef1eb57ff130c7715ba0847dbdae471d153d94507004c92c591cb3c5/mkdocs_plugin_commonmark-0.0.4-py3-none-any.whl", hash = "sha256:70a33394d86a04ec97877ca1b2dff6181de3ec01ef4c7add178fa45b327da535", size = 12532 },
|
|
||||||
]
|
|
||||||
|
|
||||||
[[distribution]]
|
[[distribution]]
|
||||||
name = "mkdocs-terminal"
|
name = "mkdocs-terminal"
|
||||||
version = "4.4.0"
|
version = "4.4.0"
|
||||||
|
@ -1484,7 +1461,6 @@ dev = [
|
||||||
docs = [
|
docs = [
|
||||||
{ name = "jinja2" },
|
{ name = "jinja2" },
|
||||||
{ name = "mkdocs" },
|
{ name = "mkdocs" },
|
||||||
{ name = "mkdocs-plugin-commonmark" },
|
|
||||||
{ name = "mkdocs-terminal" },
|
{ name = "mkdocs-terminal" },
|
||||||
{ name = "natsort" },
|
{ name = "natsort" },
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue