-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
62 changed files
with
4,575 additions
and
1,227 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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[bumpversion] | ||
current_version = 0.8.0 | ||
current_version = 0.8.1 | ||
commit = False | ||
tag = False | ||
allow_dirty = False | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
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
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,38 @@ | ||
import logging | ||
import os | ||
from pathlib import Path | ||
|
||
import mkdocs.plugins | ||
|
||
logger = logging.getLogger(__name__) | ||
|
||
root_dir = Path(__file__).parent.parent | ||
docs_dir = root_dir / "docs" | ||
contributing_file = root_dir / "CONTRIBUTING.md" | ||
target_filepath = docs_dir / contributing_file.name | ||
|
||
|
||
@mkdocs.plugins.event_priority(100) | ||
def on_pre_build(config): | ||
logger.info("Temporarily copying contributing guide to docs directory") | ||
try: | ||
if os.path.getmtime(contributing_file) <= os.path.getmtime(target_filepath): | ||
logger.info( | ||
f"Contributing guide '{os.fspath(contributing_file)}' hasn't been updated, skipping." | ||
) | ||
return | ||
except FileNotFoundError: | ||
pass | ||
logger.info( | ||
f"Creating symbolic link for '{os.fspath(contributing_file)}' " | ||
f"at '{os.fspath(target_filepath)}'" | ||
) | ||
target_filepath.symlink_to(contributing_file) | ||
|
||
logger.info("Finished copying contributing guide to docs directory") | ||
|
||
|
||
@mkdocs.plugins.event_priority(-100) | ||
def on_shutdown(): | ||
logger.info("Removing temporary contributing guide in docs directory") | ||
target_filepath.unlink() |
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,22 @@ | ||
/* Shadow and Hover */ | ||
.grid.cards > ul > li { | ||
box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%), 0 3px 1px -2px rgb(0 0 0 / 20%), 0 1px 5px 0 rgb(0 0 0 / 12%); | ||
|
||
&:hover { | ||
transform: scale(1.05); | ||
z-index: 999; | ||
background-color: rgba(0, 0, 0, 0.05); | ||
} | ||
} | ||
|
||
[data-md-color-scheme="slate"] { | ||
.grid.cards > ul > li { | ||
box-shadow: 0 2px 2px 0 rgb(4 40 33 / 14%), 0 3px 1px -2px rgb(40 86 94 / 47%), 0 1px 5px 0 rgb(139 252 255 / 64%); | ||
|
||
&:hover { | ||
transform: scale(1.05); | ||
z-index: 999; | ||
background-color: rgba(139, 252, 255, 0.05); | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.