Skip to main content

Generate man pages for C projects using Doxygen.

Project description

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.12.x series.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

manos-0.3.0.tar.gz (44.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

manos-0.3.0-py3-none-any.whl (44.7 kB view details)

Uploaded Python 3

File details

Details for the file manos-0.3.0.tar.gz.

File metadata

  • Download URL: manos-0.3.0.tar.gz
  • Upload date:
  • Size: 44.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.0

File hashes

Hashes for manos-0.3.0.tar.gz
Algorithm Hash digest
SHA256 78523b2b80f4da9e65f088a33f5a872e23bdce4a4174c8e82f8114589eff93d0
MD5 83842755ef6ba8f3077539d7c0a272fe
BLAKE2b-256 77a301a1ae7e561293681610277f8eb3795f89a127928aa902912df8eaf3162a

See more details on using hashes here.

File details

Details for the file manos-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: manos-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 44.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.0

File hashes

Hashes for manos-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cdbf3f5350c568777fbd89d1a963c79e64b1a495320976ffecc7b51dbefbd79c
MD5 4f7f3caaef1a7bc7d33ddbc5bc64d958
BLAKE2b-256 739f3e71a5a057b3f0e8e8fb594beef190b05530881bef010d628251c0f9d25a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page