doc building works now
This commit is contained in:
parent
7820014667
commit
189449c0d7
2 changed files with 15 additions and 7 deletions
10
build.xml
10
build.xml
|
@ -214,13 +214,20 @@
|
||||||
<include name="doc/ChangeLog"/>
|
<include name="doc/ChangeLog"/>
|
||||||
<include name="doc/**.txt"/>
|
<include name="doc/**.txt"/>
|
||||||
<include name="doc/**.rst"/>
|
<include name="doc/**.rst"/>
|
||||||
|
<include name="doc/**/*.rst"/>
|
||||||
</fileset>
|
</fileset>
|
||||||
</foreach>
|
</foreach>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="build-doc-file" depends="check">
|
<target name="build-doc-file" depends="check">
|
||||||
<echo msg="${fname}"/>
|
<echo msg="${fname}"/>
|
||||||
<exec command="rst2html ${fname} > dist/${fname}.html" checkreturn="1"/>
|
<php function="preg_replace" returnProperty="outfile">
|
||||||
|
<param value="/^(.+)(.rst|.txt)$/"/>
|
||||||
|
<param value="\1.html"/>
|
||||||
|
<param value="${fname}"/>
|
||||||
|
</php>
|
||||||
|
<!--<echo msg="${fname} - ${outfile}"/>-->
|
||||||
|
<exec command="rst2html ${fname} > dist/${outfile}" checkreturn="1"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|
||||||
|
@ -334,6 +341,7 @@
|
||||||
|
|
||||||
<mkdir dir="dist" />
|
<mkdir dir="dist" />
|
||||||
<mkdir dir="dist/doc" />
|
<mkdir dir="dist/doc" />
|
||||||
|
<mkdir dir="dist/doc/developers" />
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
|
@ -34,10 +34,10 @@ Developer documentation
|
||||||
- `Running unit testes`__
|
- `Running unit testes`__
|
||||||
- `How to translate SemanticScuttle`__
|
- `How to translate SemanticScuttle`__
|
||||||
|
|
||||||
__ rules.html
|
__ developers/rules.html
|
||||||
__ api.html
|
__ developers/api.html
|
||||||
__ debugging.html
|
__ developers/debugging.html
|
||||||
__ release-new-version.html
|
__ developers/release-new-version.html
|
||||||
__ running-unit-tests.html
|
__ developers/running-unit-tests.html
|
||||||
__ translation.html
|
__ developers/translation.html
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue