Toby Chui 66e81783f1 Fixed doc reader bug преди 5 години
..
img 446e92e07e Updated dev-en-HK 7 banner image преди 5 години
lang 0a878ccd82 ArOZ online zh-HK第一階段中文化完成 преди 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.