forked from ScriptoriumDev/LearningDITA
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set up reuse for publishing. Various clean up fixes.
- Loading branch information
Showing
17 changed files
with
133 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
en-us/course08-publishing_output/maps/this_course_keys.ditamap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd"> | ||
<!-- This file is part of the DITA Training project hosted on github.com. See the accompanying LICENSE file for applicable licenses.--> | ||
<map> | ||
<title>Keys for Publishing Output from DITA Sources</title> | ||
<keydef keys="sample_file" href="http://www.learningdita.com/wp-content/uploads/2017/03/publishing_output_samples.zip" format="zip" scope="external"> | ||
<topicmeta> | ||
<linktext>publishing_output_samples.zip</linktext> | ||
</topicmeta> | ||
</keydef> | ||
|
||
<keydef keys="course_name"> | ||
<topicmeta> | ||
<keywords> | ||
<keyword>Publishing output from DITA sources</keyword> | ||
</keywords> | ||
</topicmeta> | ||
</keydef> | ||
|
||
<!-- keys for other conkeyref elements: --> | ||
<!-- <keydef keys="ditaval_topic" href="../topics/lc_conditions_ditaval.dita" format="dita"/> | ||
--> | ||
<!-- key for warehouse file containing conkeyref elements. --> | ||
<keydef keys="sample_contents" href="../topics/z_conkeyref_elements.dita"/> | ||
|
||
<!-- IMAGES --> | ||
<keydef keys="i_conkeyref" href="../images/conkeyref-01.png" format="png"/> | ||
<keydef keys="i_conrefend" href="../images/conrefend-01.png" format="png"/> | ||
<keydef keys="i_keysubmap" href="../images/submap_of_keys-01.png" format="png"/> | ||
<keydef keys="i_conref_push" href="../images/conref_push-01.png" format="png"/> | ||
|
||
<!-- Screen shots --> | ||
<keydef keys="i_with_filtering" href="../images/with_filtering.png" format="png"/> | ||
<keydef keys="i_without_filtering" href="../images/without_filtering.png" format="png"/> | ||
<keydef keys="i_flagging_product" href="../images/flagging_product.png" format="png"/> | ||
<keydef keys="i_show_rev" href="../images/show_rev.png" format="png"/> | ||
<keydef keys="i_no_push" href="../images/no_conref_push.png" format="png"/> | ||
<keydef keys="i_ex_push_replace" href="../images/ex_push_replace.png" format="png"/> | ||
<keydef keys="i_ex_push_before" href="../images/ex_push_before.png" format="png"/> | ||
<keydef keys="i_ex_push_after" href="../images/ex_push_after.png" format="png"/> | ||
|
||
</map> |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
en-us/course08-publishing_output/topics/z_conkeyref_elements.dita
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd"> | ||
<!-- This file is part of the DITA Training project hosted on github.com. See the accompanying LICENSE file for applicable licenses.--> | ||
<topic id="topic_nxn_1t4_tx"> | ||
<title>Conkeyref elements for reuse advanced</title> | ||
<body> | ||
<!-- List the folders that are in the sample zip file for this course. --> | ||
<!-- This content is pulled in by conkeyref to the reusable housekeeping file. --> | ||
<p id="folder_contents">The samples folder contains two folders: <filepath>ducks</filepath> and | ||
<filepath>plugins</filepath>. <ul> | ||
<li>The <filepath>ducks</filepath> folder contains a DITA map, a bookmap, and 11 DITA topic | ||
files. You use these to test aspects of publishing output from DITA sources</li> | ||
<li>The <filepath>plugins</filepath> folder contains a single zip file | ||
(<filepath>com.learningdita.ld_xhtml.zip</filepath>), which is a DITA plugin. You use | ||
this to explore how to work with custom plugins.</li> | ||
</ul></p> | ||
</body> | ||
</topic> |
32 changes: 32 additions & 0 deletions
32
en-us/course08-publishing_output/topics/z_conref_push_elements.dita
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd"> | ||
<topic id="topic_oyt_5r4_tx"> | ||
<title>Conref push elements</title> | ||
<body> | ||
<p conref="../../shared/topics/lc_general_housekeeping.dita#download" conaction="pushreplace"> | ||
To view the sources for some of the examples in this course, | ||
download <xref keyref="sample_file"/> now. | ||
Extract the contents and put them in a directory that you can access easily. | ||
If you have access to an output generator (usually the DITA Open Toolkit), you can | ||
use it to generate output and see these principles in action. | ||
</p> | ||
|
||
<!-- This description omits the Oxygen editor and any mention of videos. --> | ||
<p conref="../../shared/topics/lc_general_housekeeping.dita#editor_info" conaction="pushreplace"> | ||
In the instructions and examples, we show you the DITA code for the sample files. | ||
Most DITA editors have auto-complete or other similar features to guide you through | ||
the process of adding elements (for example, if you type the opening tag of an | ||
element, most DITA editors will automatically add the closing tag for you). | ||
Therefore, you will probably not need to create every piece of code from scratch as | ||
you work.</p> | ||
|
||
<p conref="../../shared/topics/lc_general_housekeeping.dita#saving" conaction="pushreplace"> | ||
The lessons will instruct you on which files to use for the samples. | ||
</p> | ||
|
||
<p conref="../../shared/topics/lc_general_housekeeping.dita#download" conaction="pushreplace"> | ||
Download <xref keyref="sample_file"/> now. It contains the sample files for the | ||
entire <keyword keyref="course_name"/> course. Extract the contents and put them in | ||
a directory that you can access easily.</p> | ||
</body> | ||
</topic> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters