https://github.com/vroncevic/gen_man
Generate man page
https://github.com/vroncevic/gen_man
bash documentation generator linux macos man-page manual-deployment qnx shell unix
Last synced: about 2 months ago
JSON representation
Generate man page
- Host: GitHub
- URL: https://github.com/vroncevic/gen_man
- Owner: vroncevic
- License: gpl-3.0
- Created: 2016-12-17T11:08:38.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-06-14T18:26:26.000Z (11 months ago)
- Last Synced: 2025-03-28T21:47:00.239Z (about 2 months ago)
- Topics: bash, documentation, generator, linux, macos, man-page, manual-deployment, qnx, shell, unix
- Language: Shell
- Homepage: https://vroncevic.github.io/gen_man
- Size: 6.62 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Generate Man Page
**gen_man** is shell tool for generating man pages.
Developed in **[bash](https://en.wikipedia.org/wiki/Bash_(Unix_shell))** code: **100%**.
[](https://github.com/vroncevic/gen_man/actions/workflows/gen_man_shell_checker.yml)
The README is used to introduce the tool and provide instructions on
how to install the tool, any machine dependencies it may have and any
other information that should be provided before the tool is installed.[](https://github.com/vroncevic/gen_man/issues) [](https://github.com/vroncevic/gen_man/graphs/contributors)
**Table of Contents**
- [Installation](#installation)
- [Usage](#usage)
- [Dependencies](#dependencies)
- [Shell tool structure](#shell-tool-structure)
- [Docs](#docs)
- [Copyright and licence](#copyright-and-licence)### Installation
Navigate to release **[page](https://github.com/vroncevic/gen_man/releases)** download and extract release archive.
To install **gen_man** type the following:
```bash
tar xvzf gen_man-x.y.tar.gz
cd gen_man-x.y
cp -R ~/sh_tool/bin/ /root/scripts/gen_man/ver.x.y/
cp -R ~/sh_tool/conf/ /root/scripts/gen_man/ver.x.y/
cp -R ~/sh_tool/log/ /root/scripts/gen_man/ver.x.y/
```
Or You can use docker to create image/container.
### Usage
```bash
# Create symlink for shell tool
ln -s /root/scripts/gen_man/ver.x.y/bin/gen_man.sh /root/bin/gen_man# Setting PATH
export PATH=${PATH}:/root/bin/# Generating man
gen_man SimpleTest
```### Dependencies
**gen_man** requires next modules and libraries:
* sh_util [https://github.com/vroncevic/sh_util](https://github.com/vroncevic/sh_util)### Shell tool structure
**gen_man** is based on MOP.
Code structure
```bash
sh_tool/
├── bin/
│ ├── create_man.sh
│ ├── gen_man.sh
│ └── install_man.sh
├── conf/
│ ├── gen_man.cfg
│ ├── gen_man_util.cfg
│ └── template/
│ └── man.template
└── log/
└── gen_man.log
```### Docs
[](https://gen-man.readthedocs.io/projects/gen_man/en/latest/?badge=latest)
More documentation and info at:
* [https://gen_man.readthedocs.io/en/latest/](https://gen-man.readthedocs.io/en/latest/)
* [https://www.gnu.org/software/bash/manual/](https://www.gnu.org/software/bash/manual/)
* [https://www.man7.org/linux](https://www.man7.org/linux/man-pages/man7/man-pages.7.html)### Copyright and licence
[](https://www.gnu.org/licenses/gpl-3.0) [](https://opensource.org/licenses/Apache-2.0)
Copyright (C) 2017 - 2024 by [vroncevic.github.io/gen_man](https://vroncevic.github.io/gen_man)
**gen_man** is free software; you can redistribute it and/or modify
it under the same terms as Bash itself, either Bash version 4.2.47 or,
at your option, any later version of Bash 4 you may have available.Lets help and support FSF.
[](https://my.fsf.org/)
[](https://my.fsf.org/donate/)