Skip to content

Commit

Permalink
chore: adapt to mkdocs-material changes
Browse files Browse the repository at this point in the history
  • Loading branch information
phil65 committed Sep 21, 2023
1 parent 2917d9a commit 4c05bba
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python_version }}
- name: Setup Graphviz
uses: ts-graphviz/setup-graphviz@v1
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion mknodes/utils/pathhelpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def get_material_icon_path(icon: str) -> pathlib.Path:
if "/" not in icon:
icon = f"material/{icon}"
path = pathlib.Path(next(iter(material.__path__)))
return path / ".icons" / f"{icon}.svg"
return path / "templates" / ".icons" / f"{icon}.svg"


def download_from_github(
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ dependencies = [
# MkDocs
"mkdocs >=1.5",
"mkdocs-literate-nav",
"mkdocs-material",
"mkdocs-material >= 9.4",
"mkdocstrings[python]",
"mkdocs-section-index",

Expand Down

0 comments on commit 4c05bba

Please sign in to comment.