Skip to content

Commit

Permalink
fix: types
Browse files Browse the repository at this point in the history
  • Loading branch information
kai687 committed Aug 17, 2023
1 parent 4271a8c commit 1e108ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sphinxawesome_theme/postprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
from __future__ import annotations

import os
import pathlib
import re
from dataclasses import dataclass

Expand All @@ -41,7 +42,7 @@ class Icons:
permalinks_icon: str = '<svg xmlns="http://www.w3.org/2000/svg" height="1em" width="1em" viewBox="0 0 24 24"><path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"/></svg>'


def _get_html_files(outdir: str) -> list[str]:
def _get_html_files(outdir: pathlib.Path | str) -> list[str]:
"""Get a list of HTML files."""
html_list = []
for root, _, files in os.walk(outdir):
Expand Down

0 comments on commit 1e108ce

Please sign in to comment.