Skip to content

Commit

Permalink
Removes gitpython usage
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonb5 committed Apr 11, 2024
1 parent d03f00e commit 4d9fb04
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion doc/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
sphinx
sphinxcontrib-programoutput
sphinx-rtd-theme
gitpython
evv4esm
6 changes: 1 addition & 5 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4d9fb04

Please sign in to comment.