Skip to content

Commit

Permalink
Logos for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
abondar committed Apr 28, 2024
1 parent 4327e1b commit d4d7561
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
Binary file added docs/source/_static/logo-no-background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/source/_static/logo.ico
Binary file not shown.
9 changes: 8 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,19 @@
# https://www.sphinx-doc.org/en/master/usage/configuration.html
import os
import sys
import tomllib

# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information


with open("../../pyproject.toml", "rb") as f:
_META = tomllib.load(f)

project = "django-copyist"
copyright = "2024, abondar"
author = "abondar"
release = "0.1.0"
release = _META["tool"]["poetry"]["version"]

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Expand All @@ -27,6 +32,8 @@

# nitpicky = True

html_favicon = os.path.join("_static", "logo.ico")
html_logo = os.path.join("_static", "logo-no-background.png")

# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
Expand Down

0 comments on commit d4d7561

Please sign in to comment.