Merge pull request #169 from bibby/makedoc

Closes bb-code tags, allowing make_doc.sh to finish
This commit is contained in:
reduz 2014-03-12 08:58:00 -07:00
commit 188a892195
3 changed files with 20 additions and 5 deletions

3
.gitignore vendored
View file

@ -156,6 +156,9 @@ AutoTest.Net/
# Installshield output folder # Installshield output folder
[Ee]xpress/ [Ee]xpress/
# dumpdoc generated files
doc/html/class_list
# DocProject is a documentation generator add-in # DocProject is a documentation generator add-in
DocProject/buildhelp/ DocProject/buildhelp/
DocProject/Help/*.HxT DocProject/Help/*.HxT

View file

@ -20966,7 +20966,7 @@
<argument index="0" name="linear_velocity" type="Vector2"> <argument index="0" name="linear_velocity" type="Vector2">
</argument> </argument>
<description> <description>
Set the body linear velocity. Can be used sporadically, but[b] DONT SET THIS IN EVERY FRAME [b], because physics may be running in another thread and definitely runs at a different granularity. Use [_integrate_forces] as your process loop if you want to have precise control of the body state. Set the body linear velocity. Can be used sporadically, but[b] DONT SET THIS IN EVERY FRAME [/b], because physics may be running in another thread and definitely runs at a different granularity. Use [_integrate_forces] as your process loop if you want to have precise control of the body state.
</description> </description>
</method> </method>
<method name="get_linear_velocity" qualifiers="const" > <method name="get_linear_velocity" qualifiers="const" >
@ -20980,7 +20980,7 @@
<argument index="0" name="angular_velocity" type="real"> <argument index="0" name="angular_velocity" type="real">
</argument> </argument>
<description> <description>
Set the body angular velocity. Can be used sporadically, but[b] DONT SET THIS IN EVERY FRAME [b], because physics may be running in another thread and definitely runs at a different granularity. Use [_integrate_forces] as your process loop if you want to have precise control of the body state. Set the body angular velocity. Can be used sporadically, but[b] DONT SET THIS IN EVERY FRAME [/b], because physics may be running in another thread and definitely runs at a different granularity. Use [_integrate_forces] as your process loop if you want to have precise control of the body state.
</description> </description>
</method> </method>
<method name="get_angular_velocity" qualifiers="const" > <method name="get_angular_velocity" qualifiers="const" >

18
doc/make_doc.sh Normal file → Executable file
View file

@ -1,5 +1,17 @@
#! /bin/bash #! /bin/bash
cd html/class_list here="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
python ../../../tools/docdump/makehtml.py -multipage ../../base/classes.xml godotHome=$(dirname "$here")
cd ../.. docTarget=${here}/html/class_list
toolsRoot=${godotHome}/tools
throw() {
echo "$@" >&2
exit 1
}
[ -d "$docTarget" ] || mkdir -p "$docTarget" || throw "Could not create doc target $docTarget"
cd "$docTarget"
python ${toolsRoot}/docdump/makehtml.py -multipage ${here}/base/classes.xml
cd "$here"