From ac05aeb684ff599eceec2002bdb006044e9b9749 Mon Sep 17 00:00:00 2001 From: eecavanna <134325062+eecavanna@users.noreply.github.com> Date: Sat, 14 Dec 2024 19:53:25 -0800 Subject: [PATCH] Enable "Edit on GitHub" link by defining `:github_url:` in `index.rst` --- docs/index.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/index.rst b/docs/index.rst index e00bb9d..502ede2 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -1,3 +1,11 @@ +:github_url: https://github.com/microbiomedata/metaT_ReadCounts/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 + MetaT Read Counts Workflow (v0.0.5) =============================