From d2b9504c3bce11f07c70270ebe15373e6999819b Mon Sep 17 00:00:00 2001 From: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sun, 12 Jan 2020 17:13:58 +0100 Subject: [PATCH] [Docs] Add "Fork me on GitHub" ribbon (#3306) * docs: add "Fork me on GitHub" ribbon * chore(changelog): add towncrier entry --- changelog.d/3306.docs.rst | 1 + docs/_templates/layout.html | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 changelog.d/3306.docs.rst create mode 100644 docs/_templates/layout.html diff --git a/changelog.d/3306.docs.rst b/changelog.d/3306.docs.rst new file mode 100644 index 000000000..e52352c5b --- /dev/null +++ b/changelog.d/3306.docs.rst @@ -0,0 +1 @@ +Add "Fork me on GitHub" ribbon in top right corner of the docs page. \ No newline at end of file diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html new file mode 100644 index 000000000..91fab053e --- /dev/null +++ b/docs/_templates/layout.html @@ -0,0 +1,9 @@ +{% extends '!layout.html' %} +{% block document %} +{{ super() }} + + Fork me on GitHub + +{% endblock %} \ No newline at end of file