diff --git a/doc/requirements.txt b/doc/requirements.txt index b26df2f09ee..956df97689b 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,5 +1,4 @@ sphinx sphinxcontrib-programoutput sphinx-rtd-theme -gitpython evv4esm diff --git a/doc/source/conf.py b/doc/source/conf.py index 3e8e04e90a2..ce027828d9a 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -207,11 +207,7 @@ html_context["current_language"] = language -from git import Repo - -repo = Repo(search_parent_directories=True) - -current_version = repo.active_branch.name +current_version = "master" html_context["current_version"] = current_version html_context["version"] = current_version