Skip to main content

Create example API documentation in multiple languages

Project description

Flockdoc
========

Create example API documentation in multiple languages (like [Stripe's API
docs][stripe-api])

[stripe-api]: http://stripe.com/docs/api

Usage
-----

### Directory

You need (roughly) this directory structure.

├── code
│   ├── test.py
│   └── test.rb
├── docs
│   └── index.md
└── layout
│ └── index.html
├── static
├── styles.css
└── some_img.jpg

It will be transformed into (roughly) this directory structure:

├── code
│   ├── test.py.html
│   └── test.rb.html
├── index.html
└── static
├── some_img.jpg
└── styles.css

### Individual Files

For code, just write code as normal. Flockdoc will try to take care of
formatting for you. The output will look a little like [Docco][docco].

For markdown, think [Jekyll][jekyll]: header with layout specified, and then
your code. YAML header with Markdown body. Example:

title: Test
context:
key: value
---
This is a test document with a key: {{ key }}

Documents are passed through Jinja2 rendering before they are output.

[docco]: http://jashkenas.github.io/docco/
[jekyll]: http://jekyllrb.com/

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

flockdoc-0.0.4.tar.gz (4.9 kB view details)

Uploaded Source

File details

Details for the file flockdoc-0.0.4.tar.gz.

File metadata

  • Download URL: flockdoc-0.0.4.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for flockdoc-0.0.4.tar.gz
Algorithm Hash digest
SHA256 42b4f0e6dcbe209341aebfb7540b1dd9910b36793b203b542c8a225b5f165807
MD5 b2f28d0418ec39c42c37a92c8b7131e9
BLAKE2b-256 cc1d177a84671004aadb25437ce21349eac800d1324fb5f65a8de21d3a94f1c9

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