[gnome-user-docs] Starting the process of removing desc links and updating design



commit 32e83ba8e7e74975ce6094cf2b434adeb2f66f24
Author: Shaun McCance <shaunm redhat com>
Date:   Sun Feb 7 13:20:38 2021 -0500

    Starting the process of removing desc links and updating design

 gnome-help/C/.yelp-tools.cfg | 12 ++++++------
 gnome-help/C/index.page      |  4 ++--
 2 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/gnome-help/C/.yelp-tools.cfg b/gnome-help/C/.yelp-tools.cfg
index 2b6f53af..f6ea1c8b 100644
--- a/gnome-help/C/.yelp-tools.cfg
+++ b/gnome-help/C/.yelp-tools.cfg
@@ -31,14 +31,14 @@ message = Must have non-empty desc
 
 [check:gnome-desc-punc]
 select = /mal:page/mal:info/mal:desc
-assert = mal:link or substring(normalize-space(.), string-length(normalize-space(.))) = '.' or 
substring(normalize-space(.), string-length(normalize-space(.))) = '?'
+assert = substring(normalize-space(.), string-length(normalize-space(.))) = '.' or 
substring(normalize-space(.), string-length(normalize-space(.))) = '?'
 message = Desc must end with a period or question mark
 
-[check:gnome-desc-link]
-desc = Make sure all desc elements end with an ellipsis
-select = /mal:page/mal:info/mal:desc/mal:link
-assert = substring(normalize-space(..), string-length(normalize-space(..)) - 2) = '...' or 
substring(normalize-space(..), string-length(normalize-space(..))) = '…'
-message = Desc with links must end with an ellipsis
+[check:gnome-no-desc-link]
+desc = Stop putting links in desc elements
+select = /mal:page/mal:info/mal:desc
+assert = not(mal:link)
+message = Stop putting links in desc elements
 
 [check:gnome-no-ascii-quotes]
 select = //mal:*[not(ancestor-or-self::mal:cmd or ancestor-or-self::mal:code or 
ancestor-or-self::mal:comment or ancestor-or-self::mal:file or ancestor-or-self::mal:input or 
ancestor-or-self::mal:key or ancestor-or-self::mal:output or ancestor-or-self::mal:screen or 
ancestor-or-self::mal:screen or ancestor-or-self::mal:sys)]
diff --git a/gnome-help/C/index.page b/gnome-help/C/index.page
index 06bfe652..ea966e5a 100644
--- a/gnome-help/C/index.page
+++ b/gnome-help/C/index.page
@@ -8,7 +8,7 @@
 
     <title type='link'>GNOME Help</title>
     <title type='text'>GNOME Help</title>
-    <title role="trail" type="link"><media its:translate="no" type="image" mime="image/svg" width="32" 
height="32" src="figures/gnome.svg"><span its:translate="yes">Help</span></media></title>
+    <title role="trail" type="link">Help</title>
 
     <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
 </info>
@@ -19,7 +19,7 @@
 
 <links type="topic" groups="intro #first"/>
 
-<links type="topic" style="toronto" groups="
+<links type="topic" style="2column" groups="
        shell-overview
        net media files
        prefs hardware


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]