[california/wip/732302-help] docs: use xinclude and xpointer to avoid repeating the same text multiple times.
- From: Jim Campbell <jcampbell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [california/wip/732302-help] docs: use xinclude and xpointer to avoid repeating the same text multiple times.
- Date: Sun, 7 Sep 2014 17:31:13 +0000 (UTC)
commit 858051e5e64503ef8fe75ff8aa86d3d1909eb51b
Author: Jim Campbell <jcampbell gnome org>
Date: Sun Sep 7 12:30:41 2014 -0500
docs: use xinclude and xpointer to avoid repeating the same text multiple times.
help/C/cal-add-calendar.page | 24 +++++++++---------------
help/C/cal-open-calendar-list.xml | 7 +++++++
2 files changed, 16 insertions(+), 15 deletions(-)
---
diff --git a/help/C/cal-add-calendar.page b/help/C/cal-add-calendar.page
index 400f2a8..0d43893 100644
--- a/help/C/cal-add-calendar.page
+++ b/help/C/cal-add-calendar.page
@@ -39,11 +39,9 @@
<steps>
<title>Follow these steps to syncronize your Google calendar with
<app>California</app>:</title>
- <item><p>Click the <gui>Calendar</gui> icon in the upper-right portion of
- <app>California's</app> menu bar. A list of your current calendars will
- appear in a new window.</p></item>
- <item><p>Click the <gui>Plus</gui> icon at the bottom of that window.</p>
- </item>
+ <include href="cal-open-calendar-list.xml"
+ xpointer="xmlns(mal=http://projectmallard.org/1.0/)xpointer(/mal:steps/mal:item)"
+ xmlns="http://www.w3.org/2001/XInclude"/>
<item><p>Select <gui>Google Calendar</gui> and click <gui>Add</gui>.</p>
</item>
<item><p>Enter your Google account name and Google password. Click
@@ -85,11 +83,9 @@
<item><p>Obtain the URL address of the calendar that you wish to add to
<app>California</app>. You will need to get this address from your
calendar provider or from your system administrator.</p></item>
- <item><p>Click the <gui>Calendar</gui> icon in the upper-right portion of
- <app>California's</app> menu bar. A list of your current calendars will
- appear in a new window.</p></item>
- <item><p>Click the <gui>Plus</gui> icon at the bottom of that window.</p>
- </item>
+ <include href="cal-open-calendar-list.xml"
+ xpointer="xmlns(mal=http://projectmallard.org/1.0/)xpointer(/mal:steps/mal:item)"
+ xmlns="http://www.w3.org/2001/XInclude"/>
<item><p>Select <gui>CalDAV</gui> and click <gui>Add</gui>.</p></item>
<item><p>Enter a calendar name. This can be any name of your
choosing.</p></item>
@@ -120,11 +116,9 @@
<item><p>Obtain the URL address of the calendar feed that you wish to
add to <app>California</app>. The address will end with a ".ics"
extension.</p></item>
- <item><p>Click the <gui>Calendar</gui> icon in the upper-right portion of
- <app>California's</app> menu bar. A list of your current calendars will
- appear in a new window.</p></item>
- <item><p>Click the <gui>Plus</gui> icon at the bottom of that window.</p>
- </item>
+ <include href="cal-open-calendar-list.xml"
+ xpointer="xmlns(mal=http://projectmallard.org/1.0/)xpointer(/mal:steps/mal:item)"
+ xmlns="http://www.w3.org/2001/XInclude"/>
<item><p>Select <gui>Web Calendar (.ics)</gui> and click <gui>Add</gui>.
</p></item>
<item><p>Enter a calendar name. This can be any name of your
diff --git a/help/C/cal-open-calendar-list.xml b/help/C/cal-open-calendar-list.xml
new file mode 100644
index 0000000..452b4a2
--- /dev/null
+++ b/help/C/cal-open-calendar-list.xml
@@ -0,0 +1,7 @@
+<steps xmlns="http://projectmallard.org/1.0/">
+ <item><p>Click the <gui>Calendar</gui> icon in the upper-right portion of
+ <app>California's</app> menu bar. A list of your current calendars will
+ appear in a new window.</p></item>
+ <item><p>Click the <gui>Plus</gui> icon at the bottom of that window.</p>
+ </item>
+</steps>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]