Skip to content
This repository has been archived by the owner on Jan 5, 2021. It is now read-only.

Commit

Permalink
Documentation restructuring (issue #781)
Browse files Browse the repository at this point in the history
* Restructuring done
* Changes for Eclipsehelp done
  • Loading branch information
RainerKlute committed Jun 30, 2016
1 parent 07740ef commit 4b99a8e
Show file tree
Hide file tree
Showing 272 changed files with 282 additions and 267 deletions.
72 changes: 41 additions & 31 deletions plugins/org.yakindu.sct.doc.user/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -129,29 +129,39 @@
<taskdef classpathref="wikitext.classpath"
resource="org/eclipse/mylyn/wikitext/core/ant/tasks.properties" />

<!-- Textile source files to turn into HTML: -->
<fileset id="fileset.eclipsehelp" dir="${src.dir}">
<include name="installation/installation.textile" />
<include name="tutorials/tutorials.textile" />
<include name="user-guide/overview.textile" />
<include name="user-guide/editing_statecharts.textile" />
<include name="user-guide/simulating_statecharts.textile" />
<include name="user-guide/advanced_simulation.textile" />
<include name="user-guide/c-domain.textile" />
<include name="user-guide/statechart_language.textile" />
<include name="user-guide/generating_code.textile" />
<!-- <include name="user-guide/sctunit.textile" /> -->
</fileset>

<!-- Check whether we have all the expected textile source files – no more, no less: -->
<fail message="Number of textile source file(s) doesn't match.">
<condition>
<resourcecount refid="fileset.eclipsehelp" when="ne" count="9" />
</condition>
</fail>

<!-- Convert textile source files to HTML: -->
<wikitext-to-eclipse-help markupLanguage="Textile"
multipleOutputFiles="false"
navigationImages="true"
formatoutput="true"
validate="true"
failOnValidationError="true"
failOnValidationWarning="false"
failOnValidationWarning="true"
sourceEncoding="UTF-8"
title="YAKINDU Statechart Tools"
helpPrefix="${help.dir}">
<fileset dir="${src.dir}">
<include name="Part1-Installation-Guide/00_installation.textile" />
<include name="Part2-User-Guide/20_tutorial.textile" />
<include name="Part2-User-Guide/10_overview.textile" />
<include name="Part2-User-Guide/40_editing_statecharts.textile" />
<include name="Part2-User-Guide/50_simulating_statecharts.textile" />
<include name="advanced_simulation/advanced_simulation.textile" />
<include name="c-domain/c-domain.textile" />
<include name="Part2-User-Guide/30_statechart_language.textile" />
<include name="Part2-User-Guide/60_generating_code.textile" />
<!-- <include name="sctunit/sctunit.textile" /> -->
</fileset>
<fileset refid="fileset.eclipsehelp" />
<stylesheet url="../${css.dir}/${css.root.file}" />
</wikitext-to-eclipse-help>

Expand Down Expand Up @@ -220,12 +230,12 @@
<create-hubspot-part name="YSCT-installation-guide" title="YAKINDU Statechart Tools Installation Guide">
<textile-files>
<filelist dir="${src.dir}">
<file name="Part1-Installation-Guide/00_installation.textile" />
<file name="installation.textile" />
</filelist>
</textile-files>
<image-files>
<fileset dir="${src.dir}">
<include name="Part1-Installation-Guide/images/**/*" />
<include name="images/**/*" />
</fileset>
</image-files>
</create-hubspot-part>
Expand All @@ -234,12 +244,12 @@
<create-hubspot-part name="YSCT-tutorials" title="YAKINDU Statechart Tools Tutorials">
<textile-files>
<filelist dir="${src.dir}">
<file name="Part2-User-Guide/20_tutorial.textile" />
<file name="tutorial.textile" />
</filelist>
</textile-files>
<image-files>
<fileset dir="${src.dir}">
<include name="Part2-User-Guide/images/**/*" />
<include name="images/**/*" />
</fileset>
</image-files>
</create-hubspot-part>
Expand All @@ -248,14 +258,14 @@
<create-hubspot-part name="YSCT-user-guide" title="YAKINDU Statechart Tools User Guide">
<textile-files>
<filelist dir=".">
<file name="${src.dir}/Part2-User-Guide/10_overview.textile" />
<file name="${src.dir}/Part2-User-Guide/40_editing_statecharts.textile" />
<file name="${src.dir}/Part2-User-Guide/50_simulating_statecharts.textile" />
<file name="${src.dir}/advanced_simulation/advanced_simulation.textile" />
<file name="${src.dir}/c-domain/c-domain.textile" />
<file name="${src.dir}/Part2-User-Guide/30_statechart_language.textile" />
<file name="${src.dir}/Part2-User-Guide/60_generating_code.textile" />
<!-- <file name="${src.dir}/sctunit/sctunit.textile" /> -->
<file name="${src.dir}/overview.textile" />
<file name="${src.dir}/editing_statecharts.textile" />
<file name="${src.dir}/simulating_statecharts.textile" />
<file name="${src.dir}/advanced_simulation.textile" />
<file name="${src.dir}/c-domain.textile" />
<file name="${src.dir}/statechart_language.textile" />
<file name="${src.dir}/generating_code.textile" />
<!-- <file name="${src.dir}/sctunit.textile" /> -->
</filelist>
</textile-files>
<image-files>
Expand Down Expand Up @@ -322,23 +332,23 @@

<!-- Fragment replacements for Hubspot: -->
<sequential unless:set="hubspot.local.files">
<loadfile property="hubspot.header" srcFile="${src.dir}/hubspot.header.htmlf" encoding="UTF-8" />
<loadfile property="hubspot.footer" srcFile="${src.dir}/hubspot.footer.htmlf" encoding="UTF-8" />
<loadfile property="hubspot.header" srcFile="${src.dir}/hubspot/header.htmlf" encoding="UTF-8" />
<loadfile property="hubspot.footer" srcFile="${src.dir}/hubspot/footer.htmlf" encoding="UTF-8" />
<loadfile property="hubspot.calltoaction.download"
srcFile="${src.dir}/hubspot.calltoaction.download.htmlf"
srcFile="${src.dir}/hubspot/calltoaction.download.htmlf"
encoding="UTF-8" />
</sequential>

<!-- Fragment replacements for generating local files which should look simular to Hubspot: -->
<sequential if:set="hubspot.local.files">
<loadfile property="hubspot.header"
srcFile="${src.dir}/hubspot.header.local.files.htmlf"
srcFile="${src.dir}/hubspot/header.local.files.htmlf"
encoding="UTF-8" />
<loadfile property="hubspot.footer"
srcFile="${src.dir}/hubspot.footer.local.files.htmlf"
srcFile="${src.dir}/hubspot/footer.local.files.htmlf"
encoding="UTF-8" />
<loadfile property="hubspot.calltoaction.download"
srcFile="${src.dir}/hubspot.calltoaction.download.local.files.htmlf"
srcFile="${src.dir}/hubspot/calltoaction.download.local.files.htmlf"
encoding="UTF-8" />
</sequential>

Expand Down
16 changes: 8 additions & 8 deletions plugins/org.yakindu.sct.doc.user/contexts.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,26 @@
<contexts>
<context id="sc_properties_entry_entrykind" title="Entry">
<description>An entry, possibly with a shallow or deep history, defines which state is to be activated first in a state machine or region.</description>
<topic href="help/Part2-User-Guide/30_statechart_language.html#entry" label="Entry"/>
<topic href="help/Part2-User-Guide/30_statechart_language.html#shallow-history" label="Shallow History state"/>
<topic href="help/Part2-User-Guide/30_statechart_language.html#deep-history" label="Deep History state"/>
<topic href="help/user-guide/statechart_language.html#entry" label="Entry"/>
<topic href="help/user-guide/statechart_language.html#shallow-history" label="Shallow History state"/>
<topic href="help/user-guide/statechart_language.html#deep-history" label="Deep History state"/>
</context>
<context id="sc_properties_state_expression" title="State">
<description>States are central elements of a state machine.</description>
<topic href="help/Part2-User-Guide/30_statechart_language.html#state" label="State"/>
<topic href="help/user-guide/statechart_language.html#state" label="State"/>
</context>
<context id="sc_properties_statechart_expression" title="Expressions">
<description>Expressions are used to declare events, variables etc. and to define behavior.</description>
<topic href="help/Part2-User-Guide/30_statechart_language.html#expressions" label="Expression reference"/>
<topic href="help/user-guide/statechart_language.html#expressions" label="Expression reference"/>
</context>
<context id="sc_properties_transition_expression" title="Transition">
<description>A transition is the transfer of one state to another. Transitions are diagrammed as arrows. They can carry events and actions, but don't need to.</description>
<topic href="help/Part2-User-Guide/30_statechart_language.html#transition" label="Transition reference"/>
<topic href="help/user-guide/statechart_language.html#transition" label="Transition reference"/>
</context>
<context id="sgen_feature" title="Genmodel Features">
<topic href="help/Part2-User-Guide/60_generating_code.html" label="Generating state machine code"/>
<topic href="help/user-guide/generating_code.html" label="Generating state machine code"/>
</context>
<context id="stext_keyword">
<topic href="help/Part2-User-Guide/30_statechart_language.html" label="YAKINDU Statechart Tools User Guide"/>
<topic href="help/user-guide/statechart_language.html" label="YAKINDU Statechart Tools User Guide"/>
</context>
</contexts>
18 changes: 11 additions & 7 deletions plugins/org.yakindu.sct.doc.user/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,17 @@

<extension point="org.eclipse.help.toc">
<toc file="toc.xml" primary="true" />
<toc file="help/Part1-Installation-Guide/00_installation-toc.xml" primary="false"/>
<toc file="help/Part2-User-Guide/20_tutorial-toc.xml" primary="false" />
<toc file="help/Part2-User-Guide/50_simulating_statecharts-toc.xml" primary="false" />
<toc file="help/Part2-User-Guide/30_statechart_language-toc.xml" primary="false" />
<toc file="help/Part2-User-Guide/60_generating_code-toc.xml" primary="false" />
<toc file="help/Part2-User-Guide/10_overview-toc.xml" primary="false" />
<toc file="help/Part2-User-Guide/40_editing_statecharts-toc.xml" primary="false" />

<!-- List all files constituting the documentation here: -->
<toc file="help/tutorials/tutorials-toc.xml" primary="false"/>
<toc file="help/user-guide/overview-toc.xml" primary="false"/>
<toc file="help/user-guide/editing_statecharts-toc.xml" primary="false"/>
<toc file="help/user-guide/simulating_statecharts-toc.xml" primary="false"/>
<toc file="help/user-guide/advanced_simulation-toc.xml" primary="false"/>
<toc file="help/user-guide/c-domain-toc.xml" primary="false"/>
<toc file="help/user-guide/statechart_language-toc.xml" primary="false"/>
<toc file="help/user-guide/generating_code-toc.xml" primary="false"/>
<toc file="help/installation/installation-toc.xml" primary="false"/>
</extension>

<extension point="org.eclipse.help.contexts">
Expand Down

This file was deleted.

Loading

0 comments on commit 4b99a8e

Please sign in to comment.