-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deployed 7e1776f with MkDocs version: 1.6.0
- Loading branch information
Showing
18 changed files
with
1,532 additions
and
5 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
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
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,75 @@ | ||
/* | ||
Enumerate headings | ||
Only displayed when set in mkdocs.yml | ||
print-site: | ||
- print-site-enumerate_headings: true | ||
*/ | ||
|
||
/* Reset all enumeration at start of page */ | ||
body {counter-reset: chapter sec-top toc-chapter toc-sec-chapter figurecounter;} | ||
|
||
/* Enumerate headings of CHAPTERS, | ||
that are part of an original included page */ | ||
.print-site-enumerate-headings .print-page h1 {counter-reset: section sub-section composite detail last; } | ||
.print-site-enumerate-headings .print-page h2 {counter-reset: sub-section composite detail last; } | ||
.print-site-enumerate-headings .print-page h3 {counter-reset: composite detail last; } | ||
.print-site-enumerate-headings .print-page h4 {counter-reset: detail last; } | ||
.print-site-enumerate-headings .print-page h5 {counter-reset: last; } | ||
.print-site-enumerate-headings .print-page h1:before { | ||
counter-increment: chapter; | ||
content: counter(chapter) " " !important; | ||
} | ||
.print-site-enumerate-headings h1.print-page-toc-title:before, | ||
#print-site-cover-page h1:before, | ||
#print-site-cover-page h2:before, | ||
#print-site-cover-page h3:before, | ||
#print-site-cover-page h4:before, | ||
#print-site-cover-page h5:before, | ||
#print-site-cover-page h6:before { | ||
content: none !important; | ||
counter-increment: none; | ||
} | ||
|
||
|
||
/* Enumerate headings of SECTIONS, | ||
that are part of an original included page */ | ||
.print-site-enumerate-headings h1 {counter-reset: sec-section sec-sub-section sec-composite sec-detail sec-last; } | ||
.print-site-enumerate-headings h2.nav-section-title {counter-reset: sec-sub-section sec-composite sec-detail sec-last; } | ||
.print-site-enumerate-headings h3.nav-section-title {counter-reset: sec-composite sec-detail sec-last; } | ||
.print-site-enumerate-headings h4.nav-section-title {counter-reset: sec-detail sec-last; } | ||
.print-site-enumerate-headings h5.nav-section-title {counter-reset: sec-last; } | ||
.print-site-enumerate-headings h1.nav-section-title:before { | ||
counter-increment: sec-top; | ||
content: counter(sec-top, upper-roman) ". " !important; | ||
} | ||
|
||
|
||
/* Enumerate CHAPTERS in table of contents also */ | ||
.print-site-enumerate-headings .print-site-toc-level-1 > ul { counter-reset: toc-section; } | ||
.print-site-enumerate-headings .print-site-toc-level-2 > ul { counter-reset: toc-sub-section; } | ||
.print-site-enumerate-headings .print-site-toc-level-3 > ul { counter-reset: toc-composite; } | ||
.print-site-enumerate-headings .print-site-toc-level-4 > ul { counter-reset: toc-detail; } | ||
.print-site-enumerate-headings .print-site-toc-level-5 > ul { counter-reset: toc-last; } | ||
.print-site-enumerate-headings .print-site-toc-level-1 > li a:before { | ||
counter-increment: toc-chapter; | ||
content: counter(toc-chapter) " "; | ||
} | ||
|
||
/* Enumerate SECTIONS in table of contents also */ | ||
.print-site-enumerate-headings li.toc-nav-section-title-level-1 { counter-reset: toc-sec-section; } | ||
.print-site-enumerate-headings li.toc-nav-section-title-level-2 { counter-reset: toc-sec-sub-section; } | ||
.print-site-enumerate-headings li.toc-nav-section-title-level-3 { counter-reset: toc-sec-composite; } | ||
.print-site-enumerate-headings li.toc-nav-section-title-level-4 { counter-reset: toc-sec-detail; } | ||
.print-site-enumerate-headings li.toc-nav-section-title-level-5 { counter-reset: toc-sec-last; } | ||
.print-site-enumerate-headings li.toc-nav-section-title-level-1:before { | ||
counter-increment: toc-sec-chapter; | ||
content: counter(toc-sec-chapter, upper-roman) " "; | ||
} | ||
|
||
|
||
#print-page-toc li a.headerlink:before { | ||
content: none !important; | ||
counter-increment: none; | ||
} |
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,46 @@ | ||
|
||
/* | ||
Enumerate level 2 headings of CHAPTERS, | ||
that are part of an original included page | ||
Only displayed when set in mkdocs.yml: | ||
print-site: | ||
- enumerate_headings: true | ||
- enumerate_headings_depth: 2 # or more | ||
*/ | ||
|
||
.print-site-enumerate-headings .print-page h2:before { | ||
counter-increment: section; | ||
content: counter(chapter) "." counter(section) " " !important; | ||
} | ||
|
||
/* | ||
Enumerate level 2 headings of SECTIONS, | ||
that are part of an original included page | ||
Only displayed when set in mkdocs.yml: | ||
print-site: | ||
- enumerate_headings: true | ||
- enumerate_headings_depth: 2 # or more | ||
*/ | ||
.print-site-enumerate-headings h2.nav-section-title:before { | ||
counter-increment: sec-section; | ||
content: counter(sec-top, upper-roman) "." counter(sec-section, upper-roman) " " !important; | ||
} | ||
|
||
|
||
/* Enumerate CHAPTERS in table of contents also */ | ||
|
||
.print-site-enumerate-headings .print-site-toc-level-2 > li a:before { | ||
counter-increment: toc-section; | ||
content: counter(toc-chapter) "." counter(toc-section) " "; | ||
} | ||
|
||
/* Enumerate SECTIONS in table of contents also */ | ||
|
||
.print-site-enumerate-headings li.toc-nav-section-title-level-2:before { | ||
counter-increment: toc-sec-section; | ||
content: counter(toc-sec-chapter, upper-roman) "." counter(toc-sec-section, upper-roman) " "; | ||
} |
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,52 @@ | ||
|
||
/* | ||
Enumerate level 2 headings of CHAPTERS, | ||
that are part of an original included page | ||
Only displayed when set in mkdocs.yml: | ||
print-site: | ||
- enumerate_headings: true | ||
- enumerate_headings_depth: 2 # or more | ||
*/ | ||
|
||
|
||
.print-site-enumerate-headings .print-page h3:before { | ||
counter-increment: sub-section; | ||
content: counter(chapter) "." counter(section) "." counter(sub-section) " " !important; | ||
} | ||
|
||
|
||
/* | ||
Enumerate level 2 headings of SECTIONS, | ||
that are part of an original included page | ||
Only displayed when set in mkdocs.yml: | ||
print-site: | ||
- enumerate_headings: true | ||
- enumerate_headings_depth: 2 # or more | ||
*/ | ||
|
||
.print-site-enumerate-headings h3.nav-section-title:before { | ||
counter-increment: sec-sub-section; | ||
content: counter(sec-top, upper-roman) "." counter(sec-section, upper-roman) "." counter(sec-sub-section, upper-roman) " " !important; | ||
} | ||
|
||
|
||
/* Enumerate CHAPTERS in table of contents also */ | ||
|
||
|
||
.print-site-enumerate-headings .print-site-toc-level-3 > li a:before { | ||
counter-increment: toc-sub-section; | ||
content: counter(toc-chapter) "." counter(toc-section) "." counter(toc-sub-section) " "; | ||
} | ||
|
||
|
||
/* Enumerate SECTIONS in table of contents also */ | ||
|
||
|
||
.print-site-enumerate-headings li.toc-nav-section-title-level-3:before { | ||
counter-increment: toc-sec-sub-section; | ||
content: counter(toc-sec-chapter, upper-roman) "." counter(toc-sec-section, upper-roman) "." counter(toc-sec-sub-section, upper-roman) " "; | ||
} |
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,49 @@ | ||
|
||
/* | ||
Enumerate level 2 headings of CHAPTERS, | ||
that are part of an original included page | ||
Only displayed when set in mkdocs.yml: | ||
print-site: | ||
- enumerate_headings: true | ||
- enumerate_headings_depth: 2 # or more | ||
*/ | ||
|
||
.print-site-enumerate-headings .print-page h4:before { | ||
counter-increment: composite; | ||
content: counter(chapter) "." counter(section) "." counter(sub-section) "." counter(composite) " " !important; | ||
} | ||
|
||
/* | ||
Enumerate level 2 headings of SECTIONS, | ||
that are part of an original included page | ||
Only displayed when set in mkdocs.yml: | ||
print-site: | ||
- enumerate_headings: true | ||
- enumerate_headings_depth: 2 # or more | ||
*/ | ||
|
||
|
||
.print-site-enumerate-headings h4.nav-section-title:before { | ||
counter-increment: sec-composite; | ||
content: counter(sec-top, upper-roman) "." counter(sec-section, upper-roman) "." counter(sec-sub-section, upper-roman) "." counter(sec-composite, upper-roman) " " !important; | ||
} | ||
|
||
/* Enumerate CHAPTERS in table of contents also */ | ||
|
||
.print-site-enumerate-headings .print-site-toc-level-4 > li a:before { | ||
counter-increment: toc-composite; | ||
content: counter(toc-chapter) "." counter(toc-section) "." counter(toc-sub-section) "." counter(toc-composite) " "; | ||
} | ||
|
||
|
||
/* Enumerate SECTIONS in table of contents also */ | ||
|
||
|
||
.print-site-enumerate-headings li.toc-nav-section-title-level-4before { | ||
counter-increment: toc-sec-composite; | ||
content: counter(toc-sec-chapter, upper-roman) "." counter(toc-sec-section, upper-roman) "." counter(toc-sec-sub-section, upper-roman) "." counter(toc-sec-composite, upper-roman) " "; | ||
} |
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,49 @@ | ||
|
||
/* | ||
Enumerate level 2 headings of CHAPTERS, | ||
that are part of an original included page | ||
Only displayed when set in mkdocs.yml: | ||
print-site: | ||
- enumerate_headings: true | ||
- enumerate_headings_depth: 2 # or more | ||
*/ | ||
|
||
.print-site-enumerate-headings .print-page h5:before { | ||
counter-increment: detail; | ||
content: counter(chapter) "." counter(section) "." counter(sub-section) "." counter(composite) "." counter(detail) " " !important; | ||
} | ||
|
||
/* | ||
Enumerate level 2 headings of SECTIONS, | ||
that are part of an original included page | ||
Only displayed when set in mkdocs.yml: | ||
print-site: | ||
- enumerate_headings: true | ||
- enumerate_headings_depth: 2 # or more | ||
*/ | ||
|
||
|
||
.print-site-enumerate-headings h5.nav-section-title:before { | ||
counter-increment: sec-detail; | ||
content: counter(sec-top, upper-roman) "." counter(sec-section, upper-roman) "." counter(sec-sub-section, upper-roman) "." counter(sec-composite, upper-roman) "." counter(sec-detail, upper-roman) " " !important; | ||
} | ||
|
||
|
||
/* Enumerate CHAPTERS in table of contents also */ | ||
|
||
.print-site-enumerate-headings .print-site-toc-level-5 > li a:before { | ||
counter-increment: toc-detail; | ||
content: counter(toc-chapter) "." counter(toc-section) "." counter(toc-sub-section) "." counter(toc-composite) "." counter(toc-detail) " "; | ||
} | ||
|
||
|
||
/* Enumerate SECTIONS in table of contents also */ | ||
|
||
.print-site-enumerate-headings li.toc-nav-section-title-level-5:before { | ||
counter-increment: toc-detail; | ||
content: counter(toc-sec-chapter, upper-roman) "." counter(toc-sec-section, upper-roman) "." counter(toc-sec-sub-section, upper-roman) "." counter(toc-sec-composite, upper-roman) "." counter(toc-sec-detail, upper-roman) " "; | ||
} |
Oops, something went wrong.