Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
docs: add favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
trumully committed Apr 16, 2024
1 parent e127859 commit 3b73e1b
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ repos:
[
"-rn",
"--rcfile=pylintrc",
"--ignore-paths=^tests/.*$"
"--ignore-paths=^tests/.*$,^docs/.*$",
]
8 changes: 7 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

extensions = ["sphinx.ext.autodoc", "sphinx.ext.viewcode", "sphinx.ext.napoleon"]
extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.viewcode",
"sphinx.ext.napoleon",
"sphinx_favicon",
]

templates_path = ["_templates"]
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
Expand All @@ -29,3 +34,4 @@

html_theme = "sphinx_rtd_theme"
html_static_path = ["_static"]
favicons = [{"href": "icon.svg"}]
9 changes: 9 additions & 0 deletions docs/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 20 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ jobs=4
# active Python interpreter and may run arbitrary code.
unsafe-load-any-extension=no

ignore-paths=docs/.*$,
tests/.*$


[MESSAGES CONTROL]

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ pylint = "^3.1.0"
black = "^24.4.0"
ruff = "^0.3.7"
hypothesis = "^6.100.1"
sphinx-favicon = "^1.0.1"

[tool.black]
line-length = 88
Expand Down

0 comments on commit 3b73e1b

Please sign in to comment.