Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,19 @@
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))
import pkg_resources # part of setuptools

# -- Project information -----------------------------------------------------
import pkg_resources

project = "linopy"
copyright = "2021, Fabian Hofmann"
author = "Fabian Hofmann"

text = "text"
# The full version, including alpha/beta/rc tags
version = pkg_resources.get_distribution("linopy").version
release = "master" if "dev" in version else version

# For some reason is this needed, otherwise autosummary does fail on RTD but not locally
import linopy # noqa

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

Expand Down