-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Armbian Build Framework Script [DOC-1] #5894
base: main
Are you sure you want to change the base?
Conversation
## Pull Request Description ### Documentation-Centric: Armbian Build Framework Wrapper Script #### Overview This pull request introduces a wrapper script designed with a strong emphasis on generating comprehensive and user-friendly documentation for the Armbian Build Framework. The implementation aims to provide various output formats, including man pages, markdown, and potentially JSON, to cater to different aspects of the larger system. #### Features Implemented - Added a basic wrapper script to provide a simplified interface. - Improved help messages for better documentation. - Initial support for multiple system languages (English, German, Spanish). #### Features to be Implemented - Implemented functionality to generate man pages for the wrapper script. - Integrated support for generating markdown documentation. - Designed with flexibility to potentially output JSON documentation. #### Continuinf Testing - Rigorous testing of the documentation generation process to ensure accuracy and completeness. - Fine-tuning of the output formats for optimal readability. #### Additional Notes - The primary focus of this implementation is to enhance the accessibility and comprehensibility of the Armbian Build Framework through robust documentation.
added json
fix error
implemented Translation switch in all function
You are doing something strange with localization) |
drooped example functions to fix language switching. json output seems working
@adeepn It seems like you found something interesting with localization! I appreciate the link to the BashFAQ, and running LANGUAGE=es_ES ./armbian-build.sh was quite insightful. I want to mention that the language selection in my script was primarily a placeholder for addressing locales. The main focus was on formatting the English output into JSON, key pairs, and dialog boxes. A loop for gettext could potentially be set up to improve localization. It's a work in progress, and I'm open to any suggestions or improvements. Thanks for your input! |
removed language switch. fixed loop iteration of descriptions
added tui output
Quick Video showing the outputsExample of the html outputhttps://codepen.io/Tearran/pen/ZEwKaXe Quick use{
wget https://raw.githubusercontent.com/Tearran/build/DOC-1/armbian-build ;
bash ./armbian-build -h ;
} |
| Feature | desc | example | src_reference | status | | :-----: | :---: | :---: | :-----: | :---------: | quick formatting to array and a markdown table
Will output features.md and featuesr.sh Hidden_options
|
Quick conversions of https://github.com/armbian/build/pull/6389/files This is a great array. as Tried to make PR update, maybe idea is enough to talk. |
Pull Request Description
Documentation-Focused: Armbian Build Framework
Overview
This pull request introduces a user-friendly script that acts as a bridge to interact with the Armbian Build Framework. Its main goal is to enhance accessibility and facilitate communication for users who may not be familiar with the underlying script.
Key Features
- Supports multiple system languages (English, German, Spanish).todoFuture Enhancements
Testing
Extensive testing will be conducted to ensure accurate and complete documentation generation, as well as fine-tuning of output formats for optimal readability.
Additional Information
The primary focus of this implementation is to enhance the accessibility and comprehensibility of the Armbian Build Framework through robust documentation.