Git Product home page Git Product logo

manos's Introduction

Manos

Manos is a man page generator for C projects that use Doxygen for documentation generation.

Manos does not require any modifications to your project, code comments, or Doxygen configuration file.

Build Status ย  PyPI - Version

Why?

Doxygen's man page output (GENERATE_MAN = YES) is less-than-stellar for projects written in the C programming language. For example the formatting and lack of per-function man page is atypical of what one would expect. Manos corrects these shortcomings by generating a man page per-function and with defacto standard formatting.

Installation

Manos requires Python 3.10 or newer and Doxygen 1.9.2 or newer.

Install the project through git checkout or install using your package management tool of choice. In these example pip is used.

$ pip install manos

or from repository checkout:

$ git clone https://github.com/hgs3/manos
$ cd manos
$ pip install .

Usage

Manos can be used from the command-line or as a Python module in code.

After installing Manos, run the following command(s) substituting Doxyfile with the name of your Doxygen configuration file. If successful, there will be a directory created named man with your beautiful man pages.

Command-line Usage

$ manos Doxyfile

Code Usage

import manos
manos.process("path/to/your/Doxyfile")

Documentation

Manos lets you customize the generated output in various ways. The complete list of customization options can be retrieved by running manos -h locally.

Users on *nix systems are encouraged to review the man page for Manos with man manos.

Local Development

If you intend to develop Manos locally, then first install the required development dependencies with:

$ pip install -r requirements.txt

Run unit tests with:

$ pytest

Run type checking with:

$ mypy --strict manos
$ mypy --strict tests

License

Manos is available under the GNU General Public License v3.0.

The project is named after the no-buget horror cult-classic film of the same name.

manos's People

Contributors

hgs3 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.