This folder contains scripts for managing files for the armbian-config project.
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.
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
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.
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
-
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
- Python 3 with the standard libraries
json
,sys
,argparse
, andos
.
Markdown files will be created in the docs
directory.