Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

doc: describe options for the lib tag.

Support for these options were added in 24116b0 and b534f9a.
  • Loading branch information...
commit cccaca040a6d7eeb4dbf5ed5a43b8ecdd63a3932 1 parent ae823f4
@kaos kaos authored
View
4 doc/manuals/modules/structure.rst
@@ -70,13 +70,13 @@ This section describes what each of the module folders hold.
actions/
........
-This directory holds the :ref:`actions <manual-actions>` defined by the
+This directory holds the :ref:`actions <manual-template-actions>` defined by the
module. Every action name must be prefixed with the word “action” and
the module name (without the `mod_`). For example the filename for the
action ``dialog_open`` in the module ``mod_base`` will be
``action_base_dialog_open.erl``
-.. seealso:: :ref:`manual-actions`
+.. seealso:: :ref:`manual-template-actions`
dispatch/
.........
View
9 doc/ref/modules/mod_development.rst
@@ -1,4 +1,11 @@
.. include:: meta-mod_development.rst
-.. todo:: Not yet documented.
+.. todo:: Not yet completely documented.
+
+Config options
+--------------
+
+:mod_development: libsep :: boolean
+ If true, :ref:`tag-lib` files will be included separately instead of in one big concatenated file.
+
View
17 doc/ref/tags/tag_lib.rst
@@ -28,3 +28,20 @@ Will output::
<link href="/lib/css/zp-compressed~zp-admin~zp-wysiwyg~zp-dialog~zp-formreplace~zp-finder~zp-growl~63417066183.css" type="text/css" media="all" rel="stylesheet" />
The number at the end is the Unix modification time of the most recently changed file.
+
+The `lib` tag supports optional arguments to control the resulting html tag:
+
++-----------------+-------------+---------------------------------------------------------+
+|Option |Default |Description |
++=================+=============+=========================================================+
+|use_absolute_url |false |If true, prefix the generated URL with |
+| | |"http://{hostname}/". |
++-----------------+-------------+---------------------------------------------------------+
+|title |<empty> |Specify a value for the title attribute of the link tag. |
++-----------------+-------------+---------------------------------------------------------+
+|media |"all" |Specify value for the media attribute of the link tag. |
++-----------------+-------------+---------------------------------------------------------+
+|rel |"stylesheet" |Specify value for the rel attribute of the link tag. |
++-----------------+-------------+---------------------------------------------------------+
+
+.. seealso:: :ref:`mod_development`.
Please sign in to comment.
Something went wrong with that request. Please try again.