doc/book/devweb/resource.rst
author David Douard <david.douard@logilab.fr>
Wed, 02 Nov 2016 15:59:39 +0100
changeset 11793 b455460630a0
parent 10491 c67bcee93248
permissions -rw-r--r--
[config] fix the load_site_cubicweb() method for to 'new-style' cubes (closes #16059402) We first try to load the site_cubicweb module from the cubicweb_<cube> package, and if it fails, revert back to old cube path.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8271
3bd9b317b1d8 [req, doc] add some documentation of CubicWebRequestBase attributes
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 7632
diff changeset
     1
.. _resources:
3bd9b317b1d8 [req, doc] add some documentation of CubicWebRequestBase attributes
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 7632
diff changeset
     2
7529
2fdc310be7cd [book] add autoload section from code and fix sphinx warnings
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
     3
Locate resources
2fdc310be7cd [book] add autoload section from code and fix sphinx warnings
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
     4
----------------
2fdc310be7cd [book] add autoload section from code and fix sphinx warnings
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
     5
2fdc310be7cd [book] add autoload section from code and fix sphinx warnings
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
     6
.. automethod:: cubicweb.web.webconfig.WebConfiguration.locate_resource
2fdc310be7cd [book] add autoload section from code and fix sphinx warnings
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
     7
.. automethod:: cubicweb.web.webconfig.WebConfiguration.locate_doc_file
2fdc310be7cd [book] add autoload section from code and fix sphinx warnings
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
     8
.. automethod:: cubicweb.web.webconfig.WebConfiguration.locate_all_files
2fdc310be7cd [book] add autoload section from code and fix sphinx warnings
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
     9
2fdc310be7cd [book] add autoload section from code and fix sphinx warnings
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
    10
Static files handling
2fdc310be7cd [book] add autoload section from code and fix sphinx warnings
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
    11
---------------------
2fdc310be7cd [book] add autoload section from code and fix sphinx warnings
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
    12
7632
3c9dfc6e820b [book] fix some rest/sphinx errors
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 7529
diff changeset
    13
.. autoattribute:: cubicweb.web.webconfig.WebConfiguration.static_directory
7529
2fdc310be7cd [book] add autoload section from code and fix sphinx warnings
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
    14
.. automethod:: cubicweb.web.webconfig.WebConfiguration.static_file_exists
2fdc310be7cd [book] add autoload section from code and fix sphinx warnings
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
    15
.. automethod:: cubicweb.web.webconfig.WebConfiguration.static_file_open
2fdc310be7cd [book] add autoload section from code and fix sphinx warnings
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
    16
.. automethod:: cubicweb.web.webconfig.WebConfiguration.static_file_add
2fdc310be7cd [book] add autoload section from code and fix sphinx warnings
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
    17
.. automethod:: cubicweb.web.webconfig.WebConfiguration.static_file_del
2fdc310be7cd [book] add autoload section from code and fix sphinx warnings
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff changeset
    18