Skip to content

Commit

Permalink
Generated TOC for techniques
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Cooper committed Aug 16, 2018
1 parent d9b3b02 commit ce11011
Show file tree
Hide file tree
Showing 5 changed files with 734 additions and 1 deletion.
6 changes: 6 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,12 @@
<copy file="css/slicenav.css" todir="output/"/>
</target>

<target name="techniques-toc" depends="techniques-list" description="Generate the TOC for Techniques">
<xslt in="${inputdir.techniques}/techniques.xml" out="techniques/toc.html" style="xslt/generate-techniques-toc.xslt" force="true">
<factory name="${xslt.factory}"/>
</xslt>
</target>

<!-- Understanding -->
<target name="understanding" depends="guidelines-xml" description="Generate formatted Understanding docs">
<makeurl file="${basedir}/understanding/" property="base.understanding"/>
Expand Down
2 changes: 1 addition & 1 deletion techniques/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</section>
<section>
<h2>Techniques</h2>
<p>Techniques for WCAG 2.1 are still under development.</p>
<div data-include="toc.html" data-include-replace="true"></div>
</section>
<div data-include="../acknowledgements.html" data-include-replace="true">
<p>Acknowledgements</p>
Expand Down
Loading

0 comments on commit ce11011

Please sign in to comment.