-
Sub-task
-
Resolution: Fixed
-
Minor
-
2.4
-
MOODLE_24_STABLE
-
MOODLE_26_STABLE
-
The YUIDoc configuration can go in a file named 'yuidoc.json' anywhere within the Moodle tree, but not in a parent directory. It can documentation can be built outside of the working tree.
Here's a sample configuration I've been using based on the core YUI configuration:
{
|
"name": "Moodle",
|
"description": "YUI documentation for Moodle",
|
"url": "https://moodle.org",
|
"logo": "https://moodle.org/theme/image.php/moodleofficial/theme/1360919562/moodle-logo",
|
"options": {
|
"external": {
|
"data": "http://yuilibrary.com/yui/docs/api/data.json"
|
},
|
"linkNatives": true,
|
"attributesEmit": "true",
|
"selleck": "true",
|
"outdir": "../yuidocs",
|
"paths": "**/yui/src/*"
|
}
|
}
|