mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Update settings documentation to explain INTRASITE_LINK_REGEX
I have added reference to "Linking to internal content" section because without it, it is difficult to explain the usage. I have also updated changelog. Closes getpelican/pelican#1061
This commit is contained in:
parent
48fa70c6a6
commit
e2236d50d6
3 changed files with 9 additions and 1 deletions
|
|
@ -156,6 +156,11 @@ Setting name (default value) What doe
|
|||
<http://www.methods.co.nz/asciidoc/manpage.html>`_
|
||||
`WITH_FUTURE_DATES` (``True``) If disabled, content with dates in the future will get a
|
||||
default status of draft.
|
||||
`INTRASITE_LINK_REGEX` (``'[{|](?P<what>.*?)[|}]'``) Regular expression that is used to parse internal links.
|
||||
Default syntax of links to internal files, tags, etc. is
|
||||
to enclose the identifier, say ``filename``, in ``{}`` or ``||``.
|
||||
Identifier between ``{`` and ``}`` goes into the ``what`` capturing group.
|
||||
For details see :ref:`ref-linking-to-internal-content`.
|
||||
===================================================================== =====================================================================
|
||||
|
||||
.. [#] Default is the system locale.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue