From 96e8151ccef1ee4e497106678432e3025f39d6d2 Mon Sep 17 00:00:00 2001 From: Marco Zollinger Date: Tue, 20 Feb 2018 15:18:31 +0100 Subject: [PATCH] use up to date cheatsheet images from repo instead of qutebrowser.org --- README.asciidoc | 4 ++-- scripts/asciidoc2html.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.asciidoc b/README.asciidoc index aed2f61e2..c141aa0c3 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -44,8 +44,8 @@ Documentation In addition to the topics mentioned in this README, the following documents are available: -* https://qutebrowser.org/img/cheatsheet-big.png[Key binding cheatsheet]: + -image:https://qutebrowser.org/img/cheatsheet-small.png["qutebrowser key binding cheatsheet",link="https://qutebrowser.org/img/cheatsheet-big.png"] +* https://raw.githubusercontent.com/qutebrowser/qutebrowser/master/doc/img/cheatsheet-big.png[Key binding cheatsheet]: + +image:https://raw.githubusercontent.com/qutebrowser/qutebrowser/master/doc/img/cheatsheet-small.png["qutebrowser key binding cheatsheet",link="https://raw.githubusercontent.com/qutebrowser/qutebrowser/master/doc/img/cheatsheet-big.png"] * link:doc/quickstart.asciidoc[Quick start guide] * https://www.shortcutfoo.com/app/dojos/qutebrowser[Free training course] to remember those key bindings * link:doc/faq.asciidoc[Frequently asked questions] diff --git a/scripts/asciidoc2html.py b/scripts/asciidoc2html.py index 1827dc2a3..c4af174b2 100755 --- a/scripts/asciidoc2html.py +++ b/scripts/asciidoc2html.py @@ -85,9 +85,9 @@ class AsciiDoc: # patch image links to use local copy replacements = [ - ("https://qutebrowser.org/img/cheatsheet-big.png", + ("https://raw.githubusercontent.com/qutebrowser/qutebrowser/master/doc/img/cheatsheet-big.png", "qute://help/img/cheatsheet-big.png"), - ("https://qutebrowser.org/img/cheatsheet-small.png", + ("https://raw.githubusercontent.com/qutebrowser/qutebrowser/master/doc/img/cheatsheet-small.png", "qute://help/img/cheatsheet-small.png") ] asciidoc_args = ['-a', 'source-highlighter=pygments']