Skip to main content

Documentation tool for GObject-based libraries

Project description

GI-DocGen: Documentation tool for GObject-based libraries

GI-DocGen is a document generator for GObject-based libraries. GObject is the base type system of the GNOME project. GI-Docgen reuses the introspection data generated by GObject-based libraries to generate the API reference of these libraries, as well as other ancillary documentation.

Installation

Running GI-DocGen uninstalled

You can run GI-DocGen from its repository, by calling:

./gi-docgen.py

GI-DocGen will automatically detect this case.

Installing GI-DocGen via pip

To install GI-DocGen, you will need to have the following pieces of software available on your computer:

  • Python 3.6, or later
  • pip

Run the following command:

pip3 install --user gi-docgen

After running the command above, make sure to have the ~/.local/bin directory listed in your $PATH environment variable.

To update GI-DocGen, run the following command:

pip3 install --user --upgrade gi-docgen

Installing GI-DocGen from source

You can also install GI-DocGen from a local copy of its source code repository, but we recommend the methods above for easier and more stable updates. Please make sure the requirements for the installation via pip are present on your machine. Once you are inside the source code directory, run the following command:

python3 setup.py install

Usage

First, read the GI-DocGen tutorial.

The documentation for GI-DocGen is available online.

The examples directory in the repository contains simple project files for various GNOME libraries.

Copyright and Licensing terms

Copyright 2021 GNOME Foundation

GI-DocGen is released under the terms of the Apache License, version 2.0, or under the terms of the GNU General Publice License, either version 3.0 or, at your option, any later version.

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

gi-docgen-2021.2.tar.gz (62.9 kB view details)

Uploaded Source

Built Distribution

gi_docgen-2021.2-py2.py3-none-any.whl (1.0 MB view details)

Uploaded Python 2 Python 3

File details

Details for the file gi-docgen-2021.2.tar.gz.

File metadata

  • Download URL: gi-docgen-2021.2.tar.gz
  • Upload date:
  • Size: 62.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.1.3 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.1

File hashes

Hashes for gi-docgen-2021.2.tar.gz
Algorithm Hash digest
SHA256 f79682ebb620ac3199ac209a7d3892c8609ff1feb4c68801880db8d52276f314
MD5 efb7881ae59d31bea229596a6f9ea558
BLAKE2b-256 35a5952ccefa09033cbb4ff3a37438de32d5d4e5a30596cc629d0b70836aa178

See more details on using hashes here.

File details

Details for the file gi_docgen-2021.2-py2.py3-none-any.whl.

File metadata

  • Download URL: gi_docgen-2021.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.1.3 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.1

File hashes

Hashes for gi_docgen-2021.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 94ee46a7fd44d67478949d224a49765e7cdc7e3f9c68e8918a482d3ec5cf93b5
MD5 30fc70e4936e7dd0159575b577fee4e1
BLAKE2b-256 a47c6ee6460b6503a0c4d470d2b33f49b4ab596927a0fbfe4371542be62c8284

See more details on using hashes here.

Supported by

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