|
|
@ -57,27 +57,27 @@ template_index = template_index.replace("<author>", METADATA["author"]) |
|
|
|
with open ("index.adoc", "w") as w: |
|
|
|
w.write(template_index) |
|
|
|
|
|
|
|
#Documentation |
|
|
|
#Documentation |
|
|
|
|
|
|
|
METADATA["supportedLanguages"].update({"English":""}) |
|
|
|
for language in METADATA["supportedLanguages"].keys(): |
|
|
|
|
|
|
|
language = language.lower() |
|
|
|
|
|
|
|
|
|
|
|
language = language.lower() |
|
|
|
|
|
|
|
try: |
|
|
|
with open(f"{language}.adoc.template", "r") as r: |
|
|
|
template = r.read() |
|
|
|
template = r.read() |
|
|
|
except: |
|
|
|
continue #language not yet supported as manual |
|
|
|
|
|
|
|
|
|
|
|
for key, value in METADATA.items(): #all strings |
|
|
|
if type(value) is str: |
|
|
|
template = template.replace(f"<{key}>", value) |
|
|
|
template = template.replace(f"<{key}>", value) |
|
|
|
|
|
|
|
if language == "english": |
|
|
|
template = template.replace("<english-only-description>", "== Introduction\n\n" + METADATA["description"]) |
|
|
|
template = template.replace("<english-only-description>", "== Introduction\n\n" + METADATA["description"]) |
|
|
|
|
|
|
|
with open (f"{language}.part.adoc", "r") as clientPart: |
|
|
|
with open (f"{language}.part.adoc", "r") as clientPart: |
|
|
|
template = template.replace("<manual>", clientPart.read()) |
|
|
|
|
|
|
|
with open (f"{language}.adoc", "w") as w: |
|
|
@ -102,9 +102,9 @@ https://www.laborejo.org/bugs |
|
|
|
https://www.laborejo.org/ |
|
|
|
|
|
|
|
[examples] |
|
|
|
Run agordejo. You are now in the Quick View mode. Press New Session and add programs through a |
|
|
|
single click on available program-icons. You can switch to the Full View mode via the tab to |
|
|
|
get more options. Try right-clicking on many things to get context menus. |
|
|
|
Run agordejo. You are now in the session overview. Press the "Quick New" button and add programs |
|
|
|
by a double clicking on the list. Try right-clicking on many things to get more options in |
|
|
|
context menus. |
|
|
|
|
|
|
|
[see also] |
|
|
|
The full documentation for {METADATA["name"]} is maintained as a multi-lingual html site to your systems doc-dir. |
|
|
|