Skip to content

Commit

Permalink
Merge pull request #31 from microbiomedata/30-configure-edit-on-githu…
Browse files Browse the repository at this point in the history
…b-link-by-adding-github_url-field-to-indexrst-file

Enable "Edit on GitHub" link by defining `:github_url:` in `index.rst`
  • Loading branch information
eecavanna authored Dec 14, 2024
2 parents 74f7f6a + 31eec93 commit 111379b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
:github_url: https://github.com/microbiomedata/metaAssembly/blob/master/docs/index.rst

..
Note: The above `github_url` field is used to force the target of the "Edit on GitHub" link
to be the specified URL. That makes it so the link will work, regardless of the Sphinx
site the file is incorporated into. You can learn more about the `github_url` field at:
https://sphinx-rtd-theme.readthedocs.io/en/stable/configuring.html#confval-github_url
Metagenome Assembly Workflow (v1.0.7)
=====================================

Expand Down

0 comments on commit 111379b

Please sign in to comment.