Skip to content

Commit

Permalink
build: avoid importing entire repo for building read the docs (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
fgebhart authored Oct 31, 2024
1 parent e396cf3 commit bfda77f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,15 @@
#
# For the full list of built-in configuration values, see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html

import aleph_alpha_client
import importlib.metadata

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

project = "aleph-alpha-client"
copyright = "2022, Aleph Alpha"
author = "Aleph Alpha"
version = aleph_alpha_client.__version__
version = importlib.metadata.version("aleph-alpha-client")

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Expand Down

0 comments on commit bfda77f

Please sign in to comment.