summaryrefslogtreecommitdiffstats
path: root/js/src/doc/lib/dummy-config.sh
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/doc/lib/dummy-config.sh')
-rw-r--r--js/src/doc/lib/dummy-config.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/js/src/doc/lib/dummy-config.sh b/js/src/doc/lib/dummy-config.sh
new file mode 100644
index 000000000..dd9d39a4b
--- /dev/null
+++ b/js/src/doc/lib/dummy-config.sh
@@ -0,0 +1,24 @@
+# Dummy definitions of functions used in doc directory config.sh files.
+# Scripts reading config.sh files should source this first, and then
+# override the definitions of the functions they care about.
+
+base-url() {
+ BASE_URL=$1
+}
+
+markdown() {
+ INPUT_FILE=$1
+ RELATIVE_URL=$2
+}
+
+label() {
+ :
+}
+
+absolute-label() {
+ :
+}
+
+resource() {
+ :
+}