Welcome on the repository of the unofficial documentation of Babylon.js.
This is use to generate the files for the actual guide site.
Before beginning, please be sure to have these packages installed:
https://github.com/BabylonJSGuide/Generator.git
npm install
to install all dependenciesnpm install -g grunt-cli
- Head to content folder. All markdown files are located in this folder.
- Edit markdown according to your need
- Add pages in content in correct directy
- Update statics.jjson in data directory
The arrays are mandatory, when displayed, object's order is kept.
Here is how the object is structured:
{
"Directory Name": [ // Mandatory
{ // This object represents a folder inside the tutorials folder
"title": "title displayed", // The title displayed in the list of folders
"name": "foldername", // The folder name with no spaces, no special chars except underscores
"desc": "my great tutos serie", // This is the description of the folder, don't make it too long :)
"files": [ // This is the list of files inside your folder
{
"title":'tuto title', // The title displayed in the list of tutorials
"filename":'tuto title', // The file name with no spaces, no special chars except underscores, and no extension
},
...
]
},
...
]
}
grunt build
to rebuild html from markdown.
Fork and clone https://github.com/BabylonJSGuide/BabylonJSGuide.github.io.git
In Generator directory find the Public directory and then the HTML directory copy the files from HTML directory into the Babylon Guide Directory push to your repository and send PR