Skip to content

Commit e7420ac

Browse files
committed
Add pagetree plugin
1 parent 88a9f22 commit e7420ac

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed

.github/workflows/mkdocs_ghp.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,5 @@ jobs:
2828
- run: pip install pymdown-extensions
2929
- run: pip install mkdocs-material
3030
- run: pip install mkdocs-callouts
31+
- run: pip install mkdocs-pagetree-plugin
3132
- run: mkdocs gh-deploy --force

docs/style.css

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,34 @@ hr {
7777
border-top: 1px solid #EEE;
7878
}
7979

80+
.pagetree-functions {
81+
display: none;
82+
}
83+
84+
.btn-primary {
85+
--bs-btn-color: #fff;
86+
--bs-btn-bg: #2fa4e7;
87+
/* --bs-btn-border-color: rgba(255, 255, 255, 128); */
88+
--bs-btn-border-color: unset;
89+
--bs-btn-hover-color: #fff;
90+
--bs-btn-hover-bg: #288bc4;
91+
--bs-btn-hover-border-color: rgba(255, 255, 255, 179);
92+
--bs-btn-focus-shadow-rgb: 78,178,235;
93+
--bs-btn-active-color: #fff;
94+
--bs-btn-active-bg: #2683b9;
95+
--bs-btn-active-border-color: rgba(255, 255, 255, 102);
96+
--bs-btn-disabled-color: #fff;
97+
--bs-btn-disabled-bg: #2fa4e7;
98+
--bs-btn-disabled-border-color: rgba(255, 255, 255, 0);
99+
100+
--bs-btn-border-radius: 0.3vmax;
101+
--bs-btn-border-width: 2px;
102+
103+
background-image: linear-gradient(#EC008C, #BE0071);
104+
text-transform: uppercase;
105+
font-weight: 600;
106+
}
107+
80108
footer {
81109
color: #999;
82110
}

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ markdown_extensions:
1717
plugins:
1818
- search
1919
- callouts
20+
- pagetree
2021

2122
extra_javascript:
2223
- javascripts/mathjax.js

0 commit comments

Comments
 (0)