Toby Chui c6371b9bd1 Create CNAME 5 роки тому
..
img 446e92e07e Updated dev-en-HK 7 banner image 5 роки тому
lang 0a878ccd82 ArOZ online zh-HK第一階段中文化完成 5 роки тому
CNAME c6371b9bd1 Create CNAME 5 роки тому
README.md 378f7a772e init docs rendering system 5 роки тому
index.html 746bcd7a66 Added zh-TW machine translated docs 5 роки тому
reader.html 66e81783f1 Fixed doc reader bug 5 роки тому
showdown.min.js 378f7a772e init docs rendering system 5 роки тому
showdown.min.js.map 378f7a772e init docs rendering system 5 роки тому

README.md

ArOZ Online Documentation Rendering Interface

This is the documentation rendering script for ArOZ Online Documentation System. The json files follow the following structure

How it works

It works by passing the lanauge into the html file as hash and ask the script to search all the JSON files which contain the content of the documentation in the respective directories.

Structure

The first line is the meta tag in JSON string format and the rest of the document is in markdown format. For example:

["Hello World!"]
# This is a document file for the ArOZ Online System
More lines here

The reader.php will then render the JSON content into css + HTML. All image should be placed inside /img directory under the /docs documentation root folder.