semvec/pypi-packages huggingface dataset:
fl-static 0.0.2
Serve production static files with Flask.
License: MIT

FL-Static
=========

Serve production static files with Flask.
A Flask version of `DJ-Static <https://github.com/kennethreitz/dj-static>`_.


Usage
-----

::

    $ pip install fl-static

Configure your static assets in::

    from flask import Flask

    app = Flask(__name__)
    app.config.update(
        STATIC_ROOT='static',
        STATIC_URL='/static',
    )

Then, use the Cling middleware::

    from fl_static import Cling
    app = Cling(app)

You can use Werkzeug's local development server::

    app.run()

Jinja2 Magic
^^^^^^^^^^^^

``fl_static.Jinja2Magic`` extends ``static.StringMagic`` providing Jinja2
template support.

You can see it in action in ``example.py``.

License
-------
http://marksteve.mit-license.org
sphinx-serve 1.0.1
Preview sphinx documentation locally
License: MIT

sphinx-serve
------------

Simple utility to easier preview your sphinx documentation.

After running the sphinx-serve command, it tries to detect the
sphinx build directory. It examines the current working directory
and if the build directory is not present, it tries to iterate
the parent paths. If a build directory is detected it launches
an http server.

The build directory name is configurable. It also supports serving
documentation from the html folder of the singlehtml folder.

Installation
------------

    pip install sphinx-serve

Usage
-----

Run with:

    sphinx-serve

For all available options use:

    sphinx-serve --help