-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from ubaumann/main
Add first version of material theme with custom yellow
- Loading branch information
Showing
10 changed files
with
445 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: mkdocs | ||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- "docs/**" | ||
- "mkdocs.yml" | ||
- ".github/workflows/docs.yaml" | ||
release: | ||
types: [published] | ||
permissions: | ||
contents: write | ||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.10" | ||
|
||
- name: Install Poetry | ||
uses: snok/install-poetry@v1 | ||
with: | ||
virtualenvs-create: true | ||
virtualenvs-in-project: true | ||
|
||
- name: Cache Poetry virtualenv | ||
uses: actions/cache@v4 | ||
id: cached-poetry-dependencies | ||
with: | ||
path: .venv | ||
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }} | ||
|
||
- name: Install Dependencies | ||
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' | ||
run: poetry install --no-interaction --no-root | ||
|
||
- name: Publish mkdocs to gh | ||
run: poetry run mkdocs gh-deploy --force |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
:root { | ||
--md-primary-fg-color: #ffff00; | ||
--md-primary-fg-color--dark: #ffff00bb; | ||
--md-primary-bg-color: #1d0935; | ||
|
||
--md-accent-fg-color: hsl(0deg, 0%, 86.27%); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,26 @@ | ||
--- | ||
site_name: "Autonomicon Docs" | ||
site_description: We're building out a lexicon / glossary for "standard" and/or common network automation terms and concepts... | ||
nav: | ||
- Home: "index.md" | ||
- Glossary: "glossary.md" | ||
- Collaborative Engineering Interpretations: "interpretations.md" | ||
- Links: "links.md" | ||
theme: "readthedocs" | ||
|
||
repo_url: https://github.com/Network-Automation-Forum/autonomicon | ||
repo_name: Network-Automation-Forum/autonomicon | ||
|
||
theme: | ||
name: material | ||
logo: img/NAF.png | ||
favicon: img/favicon.png | ||
palette: | ||
- scheme: slate | ||
primary: custom | ||
accent: custom | ||
features: | ||
- navigation.tracking | ||
extra: | ||
homepage: https://networkautomation.forum/ | ||
extra_css: | ||
- stylesheets/extra.css |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters