Index: doc/build.txt ================================================================== --- doc/build.txt +++ doc/build.txt @@ -1,36 +1,36 @@ BUILDER -= Required = +# Required # Python 3.6 Firefox Nightly NodeJS npm jpm Thunderbird -= Commands = +# Commands # -== build a language == +## build a language ## make.py LANG generate the LibreOffice extension and the package folder. LANG is the lang code (ISO 639). This script uses the file `config.ini` in the folder `gc_lang/LANG`. -== First build == +## First build ## Type: make.py LANG -js This command is required to generate all necessary files. -== options == +## options ## -b --build_data Launch the script `build_data.py` in the folder `gc_lang/LANG`. -d --dict @@ -52,11 +52,11 @@ -tb --thunderbird Launch Thunderbird. -= Examples = +# Examples # Full rebuild: make.py LANG -b -d -js After modifying grammar rules: @@ -65,8 +65,5 @@ If you modify the lexicon: make.py LANG -d -js If you modify your script build_data.py: make.py LANG -b -js - - - Index: doc/syntax.txt ================================================================== --- doc/syntax.txt +++ doc/syntax.txt @@ -94,12 +94,12 @@ Rules can be named: __[i]/option1(name1)__ pattern __[u]/option2(name2)__ pattern __[s>/option1(name3)__ pattern - __/option3(name4)__ pattern - __/option3(name5)__ pattern + __(name4)__ pattern + __(name5)__ pattern ... Each rule name must be unique.