From 48d8010303cea5b74b6330b1babbce0d8e5650a8 Mon Sep 17 00:00:00 2001 From: clime Date: Apr 23 2018 20:48:38 +0000 Subject: [PATCH 1/2] add howto for adding images into Project overview page --- diff --git a/doc/usage/tips_tricks.rst b/doc/usage/tips_tricks.rst index 831376a..3eedb82 100644 --- a/doc/usage/tips_tricks.rst +++ b/doc/usage/tips_tricks.rst @@ -4,6 +4,17 @@ Tips and tricks This page contains some tips and tricks on how to use pagure. These do not fit in their own page but are worth mentioning. +Place image onto your overview page +----------------------------------- + +You can only use images that come from the Pagure host itself. + +Example +~~~~~~~ + +![See Copr workflow](/copr/copr/raw/master/f/doc/img/copr-workflow.png) + +Text in the square brackets will be used as an alt description. Pre-fill issue template using the URL ------------------------------------- From 5fdf282160908eef3aee71691e97108b68533952 Mon Sep 17 00:00:00 2001 From: clime Date: Apr 24 2018 11:34:48 +0000 Subject: [PATCH 2/2] render image howto example in docs as code --- diff --git a/doc/usage/tips_tricks.rst b/doc/usage/tips_tricks.rst index 3eedb82..9180fe7 100644 --- a/doc/usage/tips_tricks.rst +++ b/doc/usage/tips_tricks.rst @@ -12,7 +12,9 @@ You can only use images that come from the Pagure host itself. Example ~~~~~~~ -![See Copr workflow](/copr/copr/raw/master/f/doc/img/copr-workflow.png) +:: + + ![See Copr workflow](/copr/copr/raw/master/f/doc/img/copr-workflow.png) Text in the square brackets will be used as an alt description.