Metadata-Version: 2.1
Name: landspout
Version: 0.5.0
Summary: Static website generation tool
Home-page: https://github.com/gmr/landspout
Author: Gavin M. Roy
Author-email: gavinmroy@gmail.com
License: BSD
Keywords: static website generation
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: License :: OSI Approved :: BSD License
License-File: LICENSE
Requires-Dist: pyyaml
Requires-Dist: tornado

Landspout
=========
Landspout is a static website generation tool, using
`Tornado Template <http://www.tornadoweb.org/en/stable/template.html>`_. Create
your template structure, and your content, and point landspout at it.

|Version| |License|

Landspout has three operational modes:

- Single run build of the site
- Watch for changes in the source or template directory, rendering on change
- Run a HTTP server while watching for changes and rendering them

Usage
-----

See the `example <example/>`_ directory for template and content usage examples.

.. code::

   usage: Static website generation tool

   positional arguments:
     {build,watch,serve}   The command to run (default: build)

   optional arguments:
     -h, --help            show this help message and exit
     -s SOURCE, --source SOURCE
                           Source content directory (default: content)
     -d DEST, --destination DEST
                           Destination directory for built content (default:
                           build)
     -t TEMPLATE DIR, --templates TEMPLATE DIR
                           Template directory (default: templates)
     -b BASE_URI_PATH, --base-uri-path BASE_URI_PATH
     --whitespace {all,single,oneline}
                           Compress whitespace (default: all)
     -n NAMESPACE, --namespace NAMESPACE
                           Load a JSON file of values to inject into the default
                           rendering namespace. (default: None)
     -i INTERVAL, --interval INTERVAL
                           Interval in seconds between file checks while watching
                           or serving (default: 3)
     --port PORT           The port to listen on when serving (default: 8080)
     --debug               Extra verbose debug logging (default: False)
     -v, --version         output version information, then exit


.. |Version| image:: https://img.shields.io/pypi/v/landspout.svg?
   :target: https://pypi.org/project/landspout

.. |License| image:: https://img.shields.io/pypi/l/landspout.svg?
   :target: https://pypi.org/project/landspout


