Skip to content

Commit

Permalink
Add Edit On Github button
Browse files Browse the repository at this point in the history
This button should show up at the top-right on the Read The Docs
template.

This fixes the problem with the current button showing "View page
source" which displays the raw .rst file backing up the page.
  • Loading branch information
marcelofern committed Sep 16, 2024
1 parent 6b8ecaf commit 83ca470
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,10 @@

extensions = ["sphinx_rtd_theme"]
html_theme = "sphinx_rtd_theme"

html_context = {
"display_github": True,
"github_user": "kraken-tech",
"github_repo": "django-pg-migration-tools",
"github_version": "main/docs/",
}

0 comments on commit 83ca470

Please sign in to comment.