summaryrefslogtreecommitdiffstats
path: root/o3d/documentation/jsdoc-toolkit-templates
diff options
context:
space:
mode:
authorgman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-13 23:23:11 +0000
committergman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-13 23:23:11 +0000
commit721d873dacf77a46f88d15d57ea7103d73635624 (patch)
treecd96f9c5504f88b2f738f2dcbc10e1687f9ef96f /o3d/documentation/jsdoc-toolkit-templates
parent5fdafb2f68bd61ef92d10194402348d1e5839015 (diff)
downloadchromium_src-721d873dacf77a46f88d15d57ea7103d73635624.zip
chromium_src-721d873dacf77a46f88d15d57ea7103d73635624.tar.gz
chromium_src-721d873dacf77a46f88d15d57ea7103d73635624.tar.bz2
A few more docs updates.
Review URL: http://codereview.chromium.org/155461 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20562 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/documentation/jsdoc-toolkit-templates')
-rw-r--r--o3d/documentation/jsdoc-toolkit-templates/publish.js21
1 files changed, 11 insertions, 10 deletions
diff --git a/o3d/documentation/jsdoc-toolkit-templates/publish.js b/o3d/documentation/jsdoc-toolkit-templates/publish.js
index 053db6a..4986729 100644
--- a/o3d/documentation/jsdoc-toolkit-templates/publish.js
+++ b/o3d/documentation/jsdoc-toolkit-templates/publish.js
@@ -60,13 +60,13 @@ var g_o3djsMode = false;
function publish(symbolSet) {
publish.conf = { // trailing slash expected for dirs
ext: '.ezt',
- outDir: JSDOC.opt.d || SYS.pwd + '../out/jsdoc/',
- templatesDir: JSDOC.opt.t || SYS.pwd + '../templates/jsdoc/',
+ outDir: JSDOC.opt.d,
+ templatesDir: JSDOC.opt.t,
symbolsDir: '',
- prefix: JSDOC.opt.D.prefix || 'js_1_0_',
- o3djs: JSDOC.opt.D.o3djs || ''};
- publish.conf.srcDir = publish.conf.outDir + 'src/'
- publish.conf.htmlDir = publish.conf.outDir + 'original_html/'
+ prefix: JSDOC.opt.D.prefix,
+ o3djs: JSDOC.opt.D.o3djs};
+ publish.conf.srcDir = publish.conf.outDir + 'src/';
+ publish.conf.htmlDir = JSDOC.opt.D.htmlOutDir;
if (publish.conf.o3djs) {
g_o3djsMode = true;
@@ -83,6 +83,7 @@ function publish(symbolSet) {
}
// create the folders and subfolders to hold the output
+ IO.mkPath((publish.conf.outDir).split('/'));
IO.mkPath((publish.conf.htmlDir).split('/'));
// used to allow Link to check the details of things being linked to
@@ -296,9 +297,9 @@ function resolveLinks(str) {
/**
* Makes a link for a symbol.
- *
- * @param {string} symbolName Name of symbol
- * @param {string} extra extra
+ *
+ * @param {string} symbolName Name of symbol
+ * @param {string} extra extra
* @param {string} opt_bookmark Optional bookmark.
*/
function makeSymbolLink(symbolName, extra, opt_bookmark) {
@@ -307,7 +308,7 @@ function makeSymbolLink(symbolName, extra, opt_bookmark) {
prefix = '../classo3d_1_1_';
}
return (prefix + symbolName + extra +
- '.html').toLowerCase() +
+ '.html').toLowerCase() +
(opt_bookmark ? '#' + opt_bookmark : '');
}