mirror of
https://github.com/FuzzyGrim/Yamtrack.git
synced 2026-06-27 22:35:55 +00:00
migrate docs to zensical
This commit is contained in:
@@ -94,10 +94,10 @@ http://localhost:8000
|
||||
|
||||
## Documentation
|
||||
|
||||
Install the docs dependencies with the development requirements, then serve the current checkout:
|
||||
Install the docs dependencies from `docs/requirements.txt`, then serve the current checkout:
|
||||
|
||||
```bash
|
||||
venv/bin/mkdocs serve --livereload
|
||||
venv/bin/zensical serve
|
||||
```
|
||||
|
||||
## Testing
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
{% include-markdown "../README.md" end="<!-- docs-site-link:start -->" %}
|
||||
{% include-markdown "../README.md" start="<!-- docs-site-link:end -->" %}
|
||||
--8<-- "README.md:docs-index-intro"
|
||||
--8<-- "README.md:docs-index-body"
|
||||
|
||||
@@ -1,10 +1,2 @@
|
||||
mkdocs-git-authors-plugin==0.10.0
|
||||
mkdocs-git-committers-plugin-2==2.5.0
|
||||
mkdocs-include-markdown-plugin==7.2.2
|
||||
mkdocs-git-revision-date-localized-plugin==1.5.1
|
||||
mkdocs-material==9.7.1
|
||||
mike==2.1.3
|
||||
# Keep pinned until Pygments 2.20+ works with pymdownx.superfences.
|
||||
# Newer versions render fenced code blocks as inline code in CI builds.
|
||||
Pygments==2.19.2
|
||||
pymdown-extensions==10.20.1
|
||||
zensical==0.0.42
|
||||
git+https://github.com/squidfunk/mike.git
|
||||
|
||||
@@ -1,6 +1,34 @@
|
||||
:root > * {
|
||||
[data-md-color-primary="indigo"] {
|
||||
--md-primary-fg-color: #6366f1;
|
||||
--md-primary-fg-color--light: #818cf8;
|
||||
--md-primary-fg-color--dark: #4f46e5;
|
||||
--md-accent-fg-color: #4a9eff;
|
||||
}
|
||||
|
||||
[data-md-color-accent="indigo"] {
|
||||
--md-accent-fg-color: #4a9eff;
|
||||
--md-accent-fg-color--transparent: #4a9eff1a;
|
||||
}
|
||||
|
||||
[data-md-color-primary="indigo"] .md-header,
|
||||
[data-md-color-primary="indigo"] .md-tabs {
|
||||
background-color: var(--md-primary-fg-color);
|
||||
color: var(--md-primary-bg-color);
|
||||
}
|
||||
|
||||
[data-md-color-primary="indigo"] .md-tabs {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
[data-md-color-primary="indigo"] .md-tabs__item--active {
|
||||
border-bottom-color: var(--md-primary-bg-color);
|
||||
}
|
||||
|
||||
[data-md-color-scheme="slate"] {
|
||||
--md-default-bg-color: #1e2129;
|
||||
--md-default-bg-color--light: #1e2129b3;
|
||||
--md-default-bg-color--lighter: #1e21294d;
|
||||
--md-default-bg-color--lightest: #1e21291f;
|
||||
--color-background: 30 33 41;
|
||||
--color-background-subtle: 39 43 53;
|
||||
--color-backdrop: 22 24 30;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user