Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

This plugin uses Alpaca Forms to allow "easy" form creation in reStructuredText documents.

Here's an example:

.. form::

    "schema": {
        "title": "What do you think of Alpaca?",
        "type": "object",
        "properties": {
            "name": {
                "type": "string",
                "title": "Name"
            "ranking": {
                "type": "string",
                "title": "Ranking",
                "enum": ['excellent', 'not too shabby', 'alpaca built my hotrod']

Instead of using the form description as content for the directive, you can put it in a separate file and load it like this:

.. form::
   :file: formdescription.json

A description of how Alpaca works is beyond the scope of this README, and you should read their fine docs instead.

You will probably want to add something like this to your config:

<link type="text/css" href="//" rel="stylesheet" />

BODY_END += """
<script type="text/javascript" src="//"></script>
<script type="text/javascript" src="//"></script>
$(document).ready(function() {
    $('div.alpacaform').each(function(index, element) {
        data = eval('_data');
        Alpaca(element, data);