From 141b3135954737ee5be5ad2c7371796d20940719 Mon Sep 17 00:00:00 2001
From: bibby
Date: Wed, 5 Mar 2014 07:53:33 -0800
Subject: Closes bb-code tags, allowing make_doc.sh to finish
---
.gitignore | 3 +++
doc/base/classes.xml | 4 ++--
doc/make_doc.sh | 18 +++++++++++++++---
3 files changed, 20 insertions(+), 5 deletions(-)
mode change 100644 => 100755 doc/make_doc.sh
diff --git a/.gitignore b/.gitignore
index de9eed200..96f7a6ea9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -151,6 +151,9 @@ AutoTest.Net/
# Installshield output folder
[Ee]xpress/
+# dumpdoc generated files
+doc/html/class_list
+
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
diff --git a/doc/base/classes.xml b/doc/base/classes.xml
index 46bc8997f..25278f244 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -20966,7 +20966,7 @@
- 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.
@@ -20980,7 +20980,7 @@
- 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.
diff --git a/doc/make_doc.sh b/doc/make_doc.sh
old mode 100644
new mode 100755
index aa9b47cd4..a76f568bf
--- a/doc/make_doc.sh
+++ b/doc/make_doc.sh
@@ -1,5 +1,17 @@
#! /bin/bash
-cd html/class_list
-python ../../../tools/docdump/makehtml.py -multipage ../../base/classes.xml
-cd ../..
+here="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+godotHome=$(dirname "$here")
+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"
--
cgit v1.2.3-70-g09d2