Skip to main content

A library for building data documentation.

Project description

Horkos Doc

A command-line tool for generating HTML documentation from horkos schemas

Install

pip3 install horkos-doc

Usage

> horkos-doc --help
usage: horkos-doc [-h] [--config CONFIG] [--author AUTHOR]
                  [--home-page HOME_PAGE] [--output OUTPUT]
                  [input]

positional arguments:
  input                 A directory of schema files from which to build the
                        html documentation. This is not required if a value is
                        set within the given config file.

optional arguments:
  -h, --help            show this help message and exit
  --config CONFIG, -c CONFIG
                        The path to a configuration file for horkos-doc. This
                        file can be used to override the built-in default for
                        command-line arguments. By default this is
                        `.horkos_doc`.
  --author AUTHOR, -a AUTHOR
                        The author of the documentation. This is used to
                        create copyright statements within the generated
                        documentation.
  --home-page HOME_PAGE, --hp HOME_PAGE
                        The name to use for the home page of the generated
                        documentation. By default this is "Horkos Doc".
  --output OUTPUT, -o OUTPUT
                        The directory in which to store built html. By default
                        this is ./build

If all the schema files are in ./schemas to build the docs run:

horkos-doc ./schemas

Configuration

All options available on the command-line can also be set in an optional configuration file. By default this file is expected to be .horkos_doc.

[default]
input = ./schemas
output = ./docs
author = Mr. Foobar
home_page = The Docs!

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

horkos-doc-0.0.3.tar.gz (11.2 kB view details)

Uploaded Source

Built Distribution

horkos_doc-0.0.3-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file horkos-doc-0.0.3.tar.gz.

File metadata

  • Download URL: horkos-doc-0.0.3.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

File hashes

Hashes for horkos-doc-0.0.3.tar.gz
Algorithm Hash digest
SHA256 b2c6cd2e0d9fbcc6c4275d1efb67d93a0cbe7908528c7ec93d5face9697b1a05
MD5 04dafcaf0b02f952619852e12d72f477
BLAKE2b-256 cfb4d7cb9582bf44e17db7bbba3d5024be40dd58ad1ce4c63f8c2f26a90d8ed9

See more details on using hashes here.

File details

Details for the file horkos_doc-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: horkos_doc-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

File hashes

Hashes for horkos_doc-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 65fb8cc1edae59ad75b9cbb535ae1f82b2ac17b2abb0c6efd5400b37069c1c5d
MD5 e576a430700d336639ff23bd2f155db0
BLAKE2b-256 f87bbb46cd2cc451aec3925eb1f4fa7cc404f9e0177a74dc17424c4769918bdf

See more details on using hashes here.

Supported by

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