Skip to content

Commit

Permalink
Update conf.py
Browse files Browse the repository at this point in the history
This fixes the "Edit on GitHub" button on each page. Since rst files are generally stored in the content/ subfolder, we get the repo name by going one level above that.
  • Loading branch information
ffrancesco94 authored Sep 23, 2024
1 parent 3f71c19 commit 2ce0e5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"github_user": github_user,
# Auto-detect directory name. This can break, but
# useful as a default.
"github_repo": github_repo_name or basename(dirname(realpath(__file__))),
"github_repo": github_repo_name or basename(dirname(dirname(realpath(__file__)))),
"github_version": github_version,
"conf_py_path": conf_py_path,
}
Expand Down

0 comments on commit 2ce0e5e

Please sign in to comment.