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”)

Download files

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

Source Distribution

doccito-0.1.4.tar.gz (4.1 kB view details)

Uploaded Source

File details

Details for the file doccito-0.1.4.tar.gz.

File metadata

  • Download URL: doccito-0.1.4.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for doccito-0.1.4.tar.gz
Algorithm Hash digest
SHA256 34b18b493c052315f06db62c04648f32ee53b027cf189b1145d18641c1aecfde
MD5 d688a5896939ce35ffc04c1f95606779
BLAKE2b-256 568e8ef2420b367a33578f9e964d9ebf44e48c2303f8a209a406cfe3895b9cf0

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.4 This release

1 file

0.1.3

1 file

0.1.2

1 file

0.1.1

1 file

0.1

1 file

Supported by

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