Skip to content

Commit 3d57f48

Browse files
authored
Merge pull request #44 from sbryngelson/mkdocs-readthedocs
2 parents 6d6eb65 + aba3e5e commit 3d57f48

36 files changed

+701
-836
lines changed

.github/toc-generator.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

.github/workflows/deploy.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Deploy docs
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
workflow_dispatch:
8+
9+
permissions:
10+
contents: read
11+
pages: write
12+
id-token: write
13+
14+
jobs:
15+
build:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v4
19+
20+
- uses: actions/setup-python@v5
21+
with:
22+
python-version: "3.12"
23+
24+
- name: Build docs
25+
run: |
26+
pip install zensical
27+
zensical build
28+
29+
- uses: actions/upload-pages-artifact@v3
30+
with:
31+
path: site/
32+
33+
deploy:
34+
needs: build
35+
runs-on: ubuntu-latest
36+
environment:
37+
name: github-pages
38+
url: ${{ steps.deployment.outputs.page_url }}
39+
steps:
40+
- id: deployment
41+
uses: actions/deploy-pages@v4
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Markdown Lint
2+
3+
on:
4+
push:
5+
pull_request:
6+
workflow_dispatch:
7+
8+
jobs:
9+
lint:
10+
name: Markdown Lint
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: Run markdownlint
16+
uses: DavidAnson/markdownlint-cli2-action@v19
17+
with:
18+
globs: "docs/**/*.md"

.github/workflows/spelling.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout
13-
uses: actions/checkout@v3
13+
uses: actions/checkout@v4
1414

1515
- name: Spell Check
1616
uses: crate-ci/typos@master

.github/workflows/update-toc.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

.gitignore

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
1-
*tags
2-
tags
3-
4-
*.DS_Store
1+
site/
52
.DS_Store
6-
7-
**.aux
8-
**.fls
9-
**.synctex.gz
10-
**.log
11-
**.fdb_latexmk
12-
**.bbl
13-
**.blg
14-
**.spl
15-
**.out
3+
*.aux
4+
*.fdb_latexmk
5+
*.fls
6+
*.log
7+
*.synctex.gz
8+
*.bbl
9+
*.blg
10+
*.out
11+
*.spl

.markdownlint.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
default: false
2+
3+
# Rules that affect rendering
4+
MD001: true # heading increment
5+
MD032: true # blank lines around lists
6+
MD012: true # no multiple blank lines
7+
MD009: true # no trailing spaces

docs/assets/extra.css

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
:root {
2+
--md-primary-fg-color: #292929;
3+
--md-primary-fg-color--light: #3a3d3f;
4+
--md-primary-fg-color--dark: #292929;
5+
--md-accent-fg-color: #c0995e;
6+
--md-accent-fg-color--transparent: #c0995e1a;
7+
}
8+
9+
[data-md-color-scheme="slate"] {
10+
--md-default-bg-color: #292929;
11+
--md-default-bg-color--light: #2e3133;
12+
--md-default-bg-color--lighter: #3a3d3f;
13+
--md-default-bg-color--lightest: #454849;
14+
}
15+
16+
.md-header {
17+
background-color: #292929;
18+
color: #fff;
19+
}
20+
21+
.md-header a,
22+
.md-header__topic,
23+
.md-header__title {
24+
color: #fff;
25+
}
26+
27+
.md-header__topic {
28+
font-weight: 700;
29+
}
30+
31+
a {
32+
color: #c0995e;
33+
}
34+
35+
a:hover {
36+
color: #d4b07a;
37+
}
38+
39+
.md-nav__link--active,
40+
.md-nav__link:hover {
41+
color: #c0995e;
42+
}
43+
44+
.md-nav--secondary .md-nav__link--active {
45+
color: #c0995e;
46+
background-color: transparent;
47+
border-left: 2px solid #c0995e;
48+
}
49+
50+
.md-typeset a {
51+
color: #c0995e;
52+
}
53+
54+
.md-typeset a:hover {
55+
color: #d4b07a;
56+
}
57+
58+
.md-header__button.md-logo img {
59+
height: 2.5rem;
60+
width: auto;
61+
}
62+
63+
.md-footer {
64+
display: none;
65+
}

docs/assets/favicon.ico

178 KB
Binary file not shown.

docs/assets/logo-icon.png

20.2 KB
Loading

0 commit comments

Comments
 (0)