Skip to content

Commit

Permalink
Update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
b8raoult committed May 28, 2024
1 parent d89533c commit 7c8e3b1
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,9 @@
import os
import sys

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


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

# top = os.path.realpath(os.path.dirname(os.path.dirname(__file__)))
# sys.path.insert(0, top)
sys.path.insert(0, os.path.join(os.path.abspath(".."), "src"))


source_suffix = ".rst"
Expand All @@ -32,7 +28,7 @@

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

project = "Anemoi"
project = "Anemoi Inference"

author = "ECMWF"

Expand All @@ -45,7 +41,12 @@
copyright = "%s, ECMWF" % (years,)


release = "0.1.0"
try:
from anemoi.inference._version import __version__

release = __version__
except ImportError:
release = "0.0.0"


# -- General configuration ---------------------------------------------------
Expand Down

0 comments on commit 7c8e3b1

Please sign in to comment.