forked from AY2324S1-CS2103T-W10-1/tp
-
Notifications
You must be signed in to change notification settings - Fork 0
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 AY2324S1-CS2103T-W10-1#188 from ravern/fix-broken-ci
Fix broken CI
- Loading branch information
Showing
4 changed files
with
68 additions
and
68 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 |
---|---|---|
|
@@ -12,4 +12,4 @@ repository: "AY2324S1-CS2103T-W10-1/tp" | |
github_icon: "images/github-icon.png" | ||
|
||
plugins: | ||
- jemoji | ||
- jemoji |
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 |
---|---|---|
|
@@ -17,4 +17,4 @@ | |
{% else %} | ||
* Table of contents | ||
{:toc} | ||
{% endif %} | ||
{% endif %} |
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,69 +1,69 @@ | ||
#markdown-toc { | ||
//@@author ravern-reused | ||
//Reused from https://github.com/AY2324S1-CS2103T-W10-3/tp/blob/master/docs/_sass/toc.scss | ||
//with minor modifications | ||
|
||
//Adapted from https://stackoverflow.com/a/51007932/9311854 | ||
ol { | ||
counter-reset: item; | ||
} | ||
|
||
> li, | ||
ol > li { | ||
counter-increment: item; | ||
} | ||
|
||
ol > li { | ||
display: block; | ||
position: relative; | ||
} | ||
|
||
ol > li:before { | ||
content: counters(item, ".") ". "; | ||
margin-left: -1em; | ||
} | ||
//@@author ravern-reused | ||
//Reused from https://github.com/AY2324S1-CS2103T-W10-3/tp/blob/master/docs/_sass/toc.scss | ||
//with minor modifications | ||
|
||
//Adapted from https://stackoverflow.com/a/51007932/9311854 | ||
ol { | ||
counter-reset: item; | ||
} | ||
|
||
|
||
article.post { | ||
counter-reset: section; | ||
|
||
h2:not(.no_toc) { | ||
counter-reset: subsection; | ||
} | ||
|
||
h3:not(.no_toc) { | ||
counter-reset: subsubsection; | ||
} | ||
|
||
h4:not(.no_toc) { | ||
counter-increment: subsubsection; | ||
} | ||
|
||
h2:not(.no_toc)::before { | ||
color: inherit !important; | ||
counter-increment: section; | ||
content: counter(section) ". "; | ||
} | ||
|
||
h3:not(.no_toc)::before { | ||
color: inherit !important; | ||
counter-increment: subsection; | ||
content: counter(section) "." counter(subsection) ". "; | ||
} | ||
|
||
h4:not(.no_toc)::before { | ||
color: inherit !important; | ||
|
||
> li, | ||
ol > li { | ||
counter-increment: item; | ||
} | ||
|
||
ol > li { | ||
display: block; | ||
position: relative; | ||
} | ||
|
||
ol > li:before { | ||
content: counters(item, ".") ". "; | ||
margin-left: -1em; | ||
} | ||
} | ||
|
||
|
||
article.post { | ||
counter-reset: section; | ||
|
||
h2:not(.no_toc) { | ||
counter-reset: subsection; | ||
} | ||
|
||
h3:not(.no_toc) { | ||
counter-reset: subsubsection; | ||
} | ||
|
||
h4:not(.no_toc) { | ||
counter-increment: subsubsection; | ||
content: counter(section) "." counter(subsection) "." counter(subsubsection) ". "; | ||
} | ||
} | ||
|
||
|
||
article.post { | ||
h2:not(.no_toc)::before, | ||
h3:not(.no_toc)::before, | ||
h4:not(.no_toc)::before { | ||
color: black; | ||
} | ||
} | ||
|
||
h2:not(.no_toc)::before { | ||
color: inherit !important; | ||
counter-increment: section; | ||
content: counter(section) ". "; | ||
} | ||
|
||
h3:not(.no_toc)::before { | ||
color: inherit !important; | ||
counter-increment: subsection; | ||
content: counter(section) "." counter(subsection) ". "; | ||
} | ||
|
||
h4:not(.no_toc)::before { | ||
color: inherit !important; | ||
counter-increment: subsubsection; | ||
content: counter(section) "." counter(subsection) "." counter(subsubsection) ". "; | ||
} | ||
} | ||
|
||
|
||
article.post { | ||
h2:not(.no_toc)::before, | ||
h3:not(.no_toc)::before, | ||
h4:not(.no_toc)::before { | ||
color: black; | ||
} | ||
} |