Small changes for documentation
This commit is contained in:
+5
-4
@@ -1,7 +1,8 @@
|
|||||||
@ECHO OFF
|
@ECHO OFF
|
||||||
cd ..
|
cd ..
|
||||||
echo Building Game...
|
echo Building Game...
|
||||||
lime build windows --haxeflag="--macro include('scripting')" --haxeflag="-xml docs/doc.xml"
|
lime build windows --haxeflag="--macro include('scripting')" --haxeflag="-xml docs/doc.xml" -D DOCUMENTATION --no-output
|
||||||
echo Generating Documentation...
|
echo art
|
||||||
haxelib run dox -i docs --include funkin --include scripting
|
|
||||||
echo Done!
|
echo Generated the api xml file at docs/doc.xml
|
||||||
|
echo Please put this in FNF-CNE-Devs.github.io/api-generator/api/doc.xml
|
||||||
@@ -3,19 +3,23 @@ package hscript;
|
|||||||
class Config {
|
class Config {
|
||||||
// Runs support for custom classes in these
|
// Runs support for custom classes in these
|
||||||
public static final ALLOWED_CUSTOM_CLASSES = [
|
public static final ALLOWED_CUSTOM_CLASSES = [
|
||||||
|
#if !DOCUMENTATION
|
||||||
"flixel",
|
"flixel",
|
||||||
|
|
||||||
"funkin",
|
"funkin",
|
||||||
|
#end
|
||||||
];
|
];
|
||||||
|
|
||||||
// Runs support for abstract support in these
|
// Runs support for abstract support in these
|
||||||
public static final ALLOWED_ABSTRACT_AND_ENUM = [
|
public static final ALLOWED_ABSTRACT_AND_ENUM = [
|
||||||
|
#if !DOCUMENTATION
|
||||||
"flixel",
|
"flixel",
|
||||||
"openfl",
|
"openfl",
|
||||||
|
|
||||||
"haxe.xml",
|
"haxe.xml",
|
||||||
"haxe.CallStack",
|
"haxe.CallStack",
|
||||||
"funkin",
|
"funkin",
|
||||||
|
#end
|
||||||
];
|
];
|
||||||
|
|
||||||
// Incase any of your files fail
|
// Incase any of your files fail
|
||||||
|
|||||||
Reference in New Issue
Block a user