Move apidoc config with other build related config
This commit is contained in:
@@ -533,9 +533,10 @@ virtual('apidoc', 'build/jsdoc-%(BRANCH)s-timestamp' % vars(variables))
|
|||||||
|
|
||||||
|
|
||||||
@target('build/jsdoc-%(BRANCH)s-timestamp' % vars(variables), 'host-resources',
|
@target('build/jsdoc-%(BRANCH)s-timestamp' % vars(variables), 'host-resources',
|
||||||
SRC, SHADER_SRC, ifind('apidoc/template'))
|
SRC, SHADER_SRC, ifind('buildcfg/jsdoc/apidoc/template'))
|
||||||
def jsdoc_BRANCH_timestamp(t):
|
def jsdoc_BRANCH_timestamp(t):
|
||||||
t.run('%(JSDOC)s', 'apidoc/index.md', '-c', 'apidoc/conf.json',
|
t.run('%(JSDOC)s', 'buildcfg/jsdoc/apidoc/index.md',
|
||||||
|
'-c', 'buildcfg/jsdoc/apidoc/conf.json',
|
||||||
'-d', 'build/hosted/%(BRANCH)s/apidoc')
|
'-d', 'build/hosted/%(BRANCH)s/apidoc')
|
||||||
t.touch()
|
t.touch()
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"opts": {
|
"opts": {
|
||||||
"recurse": true,
|
"recurse": true,
|
||||||
"template": "apidoc/template"
|
"template": "buildcfg/jsdoc/apidoc/template"
|
||||||
},
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"allowUnknownTags": true
|
"allowUnknownTags": true
|
||||||
@@ -17,12 +17,12 @@
|
|||||||
},
|
},
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"node_modules/jsdoc/plugins/markdown",
|
"node_modules/jsdoc/plugins/markdown",
|
||||||
"apidoc/plugins/inheritdoc",
|
"buildcfg/jsdoc/apidoc/plugins/inheritdoc",
|
||||||
"apidoc/plugins/interface",
|
"buildcfg/jsdoc/apidoc/plugins/interface",
|
||||||
"apidoc/plugins/typedefs",
|
"buildcfg/jsdoc/apidoc/plugins/typedefs",
|
||||||
"apidoc/plugins/events",
|
"buildcfg/jsdoc/apidoc/plugins/events",
|
||||||
"apidoc/plugins/observable",
|
"buildcfg/jsdoc/apidoc/plugins/observable",
|
||||||
"apidoc/plugins/api"
|
"buildcfg/jsdoc/apidoc/plugins/api"
|
||||||
],
|
],
|
||||||
"markdown": {
|
"markdown": {
|
||||||
"parser": "gfm"
|
"parser": "gfm"
|
||||||
|
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 61 KiB |
Reference in New Issue
Block a user