-
Notifications
You must be signed in to change notification settings - Fork 173
[INF] update some mkdocs infrastructure #1231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
90846a2
chore: use precommit in dev
thatlittleboy 95337b6
chore: mkdocs-material compatibility
thatlittleboy d141e85
feat: add more mkdocs features
thatlittleboy 0854961
docs: update readme
thatlittleboy 3417f3e
docs: move development guide to after API ref
thatlittleboy 9d70af2
docs: update changelog
thatlittleboy 83b4d83
Merge dev into infra-mkdocs
ericmjl 6644d78
feat: add icon for search bar
thatlittleboy 3b6b00b
Merge dev into infra-mkdocs
ericmjl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,14 +1,46 @@ | ||
/* https://mkdocstrings.github.io/theming/#css-classes */ | ||
.doc-property { border-radius: 15px; padding: 0 5px; } | ||
.doc-property-special { background-color: blue; color: white; } | ||
.doc-property-private { background-color: red; color: white; } | ||
.doc-property-property { background-color: green; color: white; } | ||
.doc-property-read-only { background-color: yellow; color: black; } | ||
.doc-property { | ||
border-radius: 15px; | ||
padding: 0 5px; | ||
} | ||
.doc-property-special { | ||
background-color: blue; | ||
color: white; | ||
} | ||
.doc-property-private { | ||
background-color: red; | ||
color: white; | ||
} | ||
.doc-property-property { | ||
background-color: green; | ||
color: white; | ||
} | ||
.doc-property-read-only { | ||
background-color: yellow; | ||
color: black; | ||
} | ||
|
||
/* https://mkdocstrings.github.io/handlers/python/#recommended-style-material */ | ||
/* Indentation. */ | ||
div.doc-contents:not(.first) { | ||
padding-left: 25px; | ||
border-left: 4px solid rgba(230, 230, 230); | ||
margin-bottom: 80px; | ||
} | ||
padding-left: 25px; | ||
border-left: 4px solid rgba(230, 230, 230); | ||
margin-bottom: 80px; | ||
} | ||
|
||
/* add a keyboard shortcut icon for search bar, | ||
* https://github.com/squidfunk/mkdocs-material/issues/2574#issuecomment-821979698 | ||
*/ | ||
[data-md-toggle="search"]:not(:checked) ~ .md-header .md-search__form::after { | ||
position: absolute; | ||
top: 0.3rem; | ||
right: 0.3rem; | ||
display: block; | ||
padding: 0.1rem 0.4rem; | ||
color: var(--md-default-bg-color--lighter); | ||
font-weight: bold; | ||
font-size: 0.8rem; | ||
border: 0.05rem solid var(--md-default-bg-color--lighter); | ||
border-radius: 0.1rem; | ||
content: "/"; | ||
} | ||
This file contains hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.