doc/book/devweb/resource.rst
author Laurent Peuch <cortex@worlddomination.be>
Thu, 19 Dec 2019 01:04:07 +0100
changeset 12829 0e9ce897dfdf
parent 10491 c67bcee93248
permissions -rw-r--r--
[mypy/fix] Incompatible types in assignment (expression has type "staticmethod", variable has type "Callable[[ETag], Any]")

.. _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