diff options
Diffstat (limited to 'scripts/document_path_handlers.py')
| -rwxr-xr-x | scripts/document_path_handlers.py | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/scripts/document_path_handlers.py b/scripts/document_path_handlers.py index 4c2e378..d86309a 100755 --- a/scripts/document_path_handlers.py +++ b/scripts/document_path_handlers.py @@ -1,6 +1,5 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 -from __future__ import print_function, unicode_literals from nikola import nikola n = nikola.Nikola() n.init_plugins() @@ -9,8 +8,15 @@ print(""".. title: Path Handlers for Nikola .. slug: path-handlers .. author: The Nikola Team -Nikola supports special links with the syntax ``link://kind/name``. In the templates you can also -use ``_link(kind, name)`` Here is the description for all the supported kinds. +.. DO NOT EDIT, this file is auto-generated by scripts/document_path_handlers.py + +Nikola supports special links with the syntax ``link://kind/name``. In +templates you can also use ``_link(kind, name)``. You can add query strings +(``?key=value``) for extra arguments, or pass keyword arguments to ``_link`` in +templates (support and behavior depends on path handlers themselves). Fragments +(``#anchor``) will be appended to the transformed link. + +Here are the descriptions for all the supported kinds. .. class:: dl-horizontal """) |
