From a1d986d952ac739b52e11e755e834dcf7444d957 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Thu, 24 Dec 2020 14:57:51 -0800 Subject: [PATCH] Replace "improve this documentation" form with link to support and ticket tracker. --- NEWS | 1 + docs/_includes/components/suggestion-form.css | 18 ---------- .../_includes/components/suggestion-form.html | 33 ------------------- .../_includes/components/suggestion-link.html | 17 ++++++++++ docs/_includes/layouts/base.njk | 1 - docs/_includes/layouts/main.njk | 2 +- 6 files changed, 19 insertions(+), 53 deletions(-) delete mode 100644 docs/_includes/components/suggestion-form.css delete mode 100644 docs/_includes/components/suggestion-form.html create mode 100644 docs/_includes/components/suggestion-link.html diff --git a/NEWS b/NEWS index 099e4e3..b346ef8 100644 --- a/NEWS +++ b/NEWS @@ -6,6 +6,7 @@ * Update versions of test dependencies (test_requirements.txt and test containers). * Only support black code formatter on Python 3.8+. New black dependencies make installation difficult on older versions of Python. + * Replace "improve this documentation" form with link to support and ticket tracker. 1.5.12 * Fix for previous release with incorrect version suffix in setup.py. No other changes. diff --git a/docs/_includes/components/suggestion-form.css b/docs/_includes/components/suggestion-form.css deleted file mode 100644 index 874faea..0000000 --- a/docs/_includes/components/suggestion-form.css +++ /dev/null @@ -1,18 +0,0 @@ -#suggestion-form textarea { - font-family: sans-serif; - width: 100%; -} - -#suggestion-form label { - font-weight: bold; -} - -#suggestion-form input[type=email] { - font-size: 16px; - width: 100%; -} - -#suggestion-form .form-error { - color: red; -} - diff --git a/docs/_includes/components/suggestion-form.html b/docs/_includes/components/suggestion-form.html deleted file mode 100644 index 8e3a73a..0000000 --- a/docs/_includes/components/suggestion-form.html +++ /dev/null @@ -1,33 +0,0 @@ -

Improve this documentation

- -

Have an idea on how to make this documentation even better? Send your -feedback below! But if you need help with borgmatic, or have an idea for a -borgmatic feature, please use our issue -tracker instead.

- -
-
- -
- - -
- -
-
-
-
-
-
- - - - diff --git a/docs/_includes/components/suggestion-link.html b/docs/_includes/components/suggestion-link.html new file mode 100644 index 0000000..a1bd0e2 --- /dev/null +++ b/docs/_includes/components/suggestion-link.html @@ -0,0 +1,17 @@ +

Improve this documentation

+ +

Have an idea on how to make this documentation even better? Use our issue tracker to send your +feedback!

+ + + + diff --git a/docs/_includes/layouts/base.njk b/docs/_includes/layouts/base.njk index 548f251..361967c 100644 --- a/docs/_includes/layouts/base.njk +++ b/docs/_includes/layouts/base.njk @@ -11,7 +11,6 @@ {% include 'components/minilink.css' %} {% include 'components/toc.css' %} {% include 'components/info-blocks.css' %} -{% include 'components/suggestion-form.css' %} {% include 'prism-theme.css' %} {% include 'asciinema.css' %} {% endset %} diff --git a/docs/_includes/layouts/main.njk b/docs/_includes/layouts/main.njk index e1d839a..a7e5b66 100644 --- a/docs/_includes/layouts/main.njk +++ b/docs/_includes/layouts/main.njk @@ -28,5 +28,5 @@ headerClass: elv-header-default {{ content | safe }} - {% include 'components/suggestion-form.html' %} + {% include 'components/suggestion-link.html' %}