Add buttons to link to your source#
There are a collection of buttons that you can use to link back to your source repository. This lets users browse the repository, or take actions like suggest an edit or open an issue. In each case, they require the following configuration to exist:
html_theme_options = {
...
"repository_url": "https://github.com/{your-docs-url}",
...
}
Add a link to your repository#
To add a link to your repository, add the following configuration:
html_theme_options = {
...
"repository_url": "https://github.com/{your-docs-url}",
"use_repository_button": True,
...
}