Alpaca-based forms for ReST.

To install, run nikola plugin -i forms

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

Issues? Questions?

You can report issues with this plugin and request help via GitHub Issues.