/usr/share/pyshared/TracIncludeMacro-3.0.0dev.egg-info/PKG-INFO is in trac-includemacro 3.0.0~r12030-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | Metadata-Version: 1.1
Name: TracIncludeMacro
Version: 3.0.0dev
Summary: Include the contents of external URLs and other Trac objects in a wiki page.
Home-page: http://trac-hacks.org/wiki/IncludeMacro
Author: Ryan J Ollos
Author-email: ryan.j.ollos@gmail.com
License: 3-Clause BSD
Description: Notes
=====
This macro lets you include various things.
Currently supported sources:
* HTTP - ``http:`` and ``https:``
* FTP - ``ftp:``
* Wiki pages - ``wiki:``
* Repository files - ``source:``
* Ticket comments - ``ticket:N:comment:M`` (3.0dev, syntax may be changed before release)
The default source is ``wiki`` if only a source path is given.
An optional second argument sets the output MIME type, though in most
cases the default will be correct.
Permissions
===========
The three remote sources (``http``, ``https``, and ``ftp``) require
``INCLUDE_URL`` to be rendered.
Anyone can add a call to these, however they will not be shown. This is
**not** a replacement for ``render_unsafe_content``, see below.
Configuration
=============
If ``[wiki] render_unsafe_content`` is off (the default), any produced
HTML will be sanitized.
.. caution::
This is a potential security risk! Please review the implications
``render_unsafe_content`` before using this feature.
To enable the plugin::
[components]
includemacro.* = enabled
Example
=======
Include another wiki page::
[[Include(PageName)]]
Include the HEAD revision of a reStructuredText__ file from the repository::
[[Include(source:trunk/docs/README, text/x-rst)]]
Include a specific revision of a file from the repository::
[[Include(source:trunk/docs/README@5, text/x-rst)]]
__ http://docutils.sf.net/rst.html
.. tip::
If you set the ``svn:mime-type`` property on the file, you can
leave off the explicit MIME type.
Keywords: trac 0.11 plugin wiki include macro
Platform: UNKNOWN
Classifier: Framework :: Trac
|