Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
chdemko committed Jan 21, 2024
1 parent c7f8aeb commit dba23c9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
15 changes: 8 additions & 7 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,25 @@
# import sys
# sys.path.insert(0, os.path.abspath('.'))

import importlib.metadata
import os
import sys

from datetime import date

sys.path.insert(0, os.path.abspath("../.."))

on_rtd = os.environ.get("READTHEDOCS", None) == "True"

# -- Project information -----------------------------------------------------

project = "pandoc-beamer-block"
copyright = "2018-2023, Christophe Demko"
author = "Christophe Demko"
project, release = os.popen("poetry version").readline().strip().split(" ")
author = importlib.metadata.metadata(project)["Author"]
year = date.today().year
copyright = f"2018-{year}, {author}"

# The short X.Y version
version = "1.0"
# The full version, including alpha/beta/rc tags
release = "1.0.0.0"

version = ".".join(release.split(".")[:2])

# -- General configuration ---------------------------------------------------

Expand Down
4 changes: 0 additions & 4 deletions docs/requirements.txt

This file was deleted.

0 comments on commit dba23c9

Please sign in to comment.