doc/book/devweb/resource.rst
author Philippe Pepiot <philippe.pepiot@logilab.fr>
Fri, 24 May 2019 17:09:10 +0200
changeset 12628 7b89cad574f8
parent 10491 c67bcee93248
permissions -rw-r--r--
Install patched yapps for test from an http archive Instead of git which require git to be installed. Also downloading archive is faster than cloning the repository.

.. _resources:

Locate resources
----------------

.. automethod:: cubicweb.web.webconfig.WebConfiguration.locate_resource
.. automethod:: cubicweb.web.webconfig.WebConfiguration.locate_doc_file
.. automethod:: cubicweb.web.webconfig.WebConfiguration.locate_all_files

Static files handling
---------------------

.. autoattribute:: cubicweb.web.webconfig.WebConfiguration.static_directory
.. automethod:: cubicweb.web.webconfig.WebConfiguration.static_file_exists
.. automethod:: cubicweb.web.webconfig.WebConfiguration.static_file_open
.. automethod:: cubicweb.web.webconfig.WebConfiguration.static_file_add
.. automethod:: cubicweb.web.webconfig.WebConfiguration.static_file_del