Skip to content

Commit

Permalink
Add "Edit on Github" links for readthedocs (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
aabmass authored May 11, 2023
1 parent 3122dc8 commit 85c4ad6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,11 @@
"sidebar_width": "320px",
"body_max_width": "800px",
}

html_context = {
"display_github": True, # Integrate GitHub
"github_user": "GoogleCloudPlatform", # Username
"github_repo": "opentelemetry-operations-python", # Repo name
"github_version": "main", # Version
"conf_py_path": "/docs/", # Path in the checkout to the docs root
}

0 comments on commit 85c4ad6

Please sign in to comment.