Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -170,12 +170,23 @@ cython_debug/
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
.idea/

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

# Downloaded assets
docs/assets/downloaded/

# PyPI configuration file
.pypirc

# Downloaded font assets
docs/assets/fonts/*.ttf

# Zarr stores (directories)
*.zarr/

Expand Down
93 changes: 0 additions & 93 deletions docs/assets/fonts/OFL.txt

This file was deleted.

2 changes: 1 addition & 1 deletion docs/hooks/download_fonts.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
def on_config(config):
"""Download self-hosted Roboto assets before MkDocs builds the site."""
docs_dir = Path(config["docs_dir"])
font_dir = docs_dir / "assets" / "fonts"
font_dir = docs_dir / "assets" / "downloaded" / "fonts"
font_dir.mkdir(parents=True, exist_ok=True)

for item in DOWNLOADS:
Expand Down
4 changes: 2 additions & 2 deletions docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@font-face {
font-family: "Roboto";
src: url("../assets/fonts/Roboto.ttf") format("truetype");
src: url("../assets/downloaded/fonts/Roboto.ttf") format("truetype");
font-style: normal;
font-weight: 100 900;
font-stretch: 75% 100%;
Expand All @@ -9,7 +9,7 @@

@font-face {
font-family: "Roboto";
src: url("../assets/fonts/Roboto-Italic.ttf") format("truetype");
src: url("../assets/downloaded/fonts/Roboto-Italic.ttf") format("truetype");
font-style: italic;
font-weight: 100 900;
font-stretch: 75% 100%;
Expand Down
Loading