Rule behind generating is, that only first in the sequence has a menu entry, LOC001, LOC002 ...
Tools Directory
This folder contains scripts for managing files for the armbian-config project.
Overview
config-assemble.sh
The config-assemble.sh script is used to manage and assemble module files for the armbian-config project. This script includes functionality assemble modules and jobs for production or testing.
Usage
To run the script, use the following command:
./tools/config-assemble.sh -h
Options:
-h Display this help message
-p Assembe module and jobs for production
-t Assembe module and jobs for testing
config-markdown.py
The config-dynamic-doc script generates both technical and user-focused Markdown documentation from an external JSON configuration. The generated documentation files are saved in the docs directory, with separate Markdown files for each item in the JSON configuration.
Usage
python3 config-markdown.py -h
The script expects the JSON file to be located at ../lib/armbian-config/config.jobs.json
Error: The configuration file 'config.jobs.json' was not found.
Please run 'config_assemble.sh` `-p` or `-t' first.
python3 config-markdown.py -h
Usage: config-markdown [-u|-t]
Options:
-u Generate user documentation
-t Generate technical documentation
What It Does
-
Creates navigation links (table of contents) for all IDs and descriptions. -
Generates technical documentation that includes commands, prompts, conditions, author information, and status.
-
Creates user-focused documentation with simplified instructions.
-
Includes custom header, footer and section image:
- tools/include/markdown/ID-header.md - tools/include/markdown/ID-footer.md - tools/include/images/ID.png
Dependencies
- Python 3 with the standard libraries
json,sys,argparse, andos.
Example Usage
Markdown files will be created in the docs directory.