Skip to main content

## Installation ##

Install lib with pip:

pip install doccito

- OR -

Put the “doccito” directory somewhere in your python path

## Usage ##

Doccito allows quick and easy documentation for your project by taking a readme.markdown file and constructing an html page with a table of contents corresponding to the document’s <h> tags.

More markdown syntax and examples can be found on the Markdown website, <a href = “http://daringfireball.net/projects/markdown/syntax”>here</a>.

###Command-Line Arguments###

Running Doccito on the command-line allows use of either a provided base.html page for your document or a custom one with the [–template] command.

Running Doccito without any arguments will bring up it’s help menu with optional arguments:

-h, --help

show help message and exit

--stdio

specifies stdio

--template

specifies custom html template

--version

show program’s version number and exit

cat README.markdown | python doccito.py –stdio > docs.html

- OR -

python doccito.py README.markdown > docs.html

will take the README.markdown file and throw it into the default base.html template and create and send it to docs.html.

cat README.markdown | python doccito.py –stdio –template layout.html > docs.html

will use layout.html as it’s template.

##API##

Using Doccito as a library allows use of several functions:

###doccito.create_docs###

  • input is a string containing the documentation in .markdown

  • template is the .html template to be used (optional)

Example usage:

import doccito

doccito.create_docs(input, template=”./base.html”)

Metadata

Release files for doccito 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for doccito 0.1.4
File Size Uploaded Provenance Actions
doccito-0.1.4.tar.gz 4.1 kB Without provenance Details for doccito-0.1.4.tar.gz

Release files / doccito-0.1.4.tar.gz

Download URL doccito-0.1.4.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
34b18b493c052315f06db62c04648f32ee53b027cf189b1145d18641c1aecfde
BLAKE2b-256 checksum
How to use checksums
568e8ef2420b367a33578f9e964d9ebf44e48c2303f8a209a406cfe3895b9cf0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for doccito 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page