diff options
| author | 2015-11-11 16:34:34 -0300 | |
|---|---|---|
| committer | 2015-11-11 16:34:34 -0300 | |
| commit | 4e3224c012df9f74f010eb92203520515e8537b9 (patch) | |
| tree | 19322dc0c595268cb6864f21d7e92fd93cb826e9 /scripts/document_path_handlers.py | |
| parent | 787b97a4cb24330b36f11297c6d3a7a473a907d0 (diff) | |
Imported Upstream version 7.7.3upstream/7.7.3
Diffstat (limited to 'scripts/document_path_handlers.py')
| -rwxr-xr-x | scripts/document_path_handlers.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/scripts/document_path_handlers.py b/scripts/document_path_handlers.py new file mode 100755 index 0000000..692c8e0 --- /dev/null +++ b/scripts/document_path_handlers.py @@ -0,0 +1,22 @@ +#!/usr/bin/env python + +from __future__ import print_function, unicode_literals +from nikola import nikola +n = nikola.Nikola() +n.init_plugins() + +print(""".. title: Path Handlers for Nikola +.. slug: path-handlers +.. author: The Nikola Team + +Nikola supports special links with the syntax ``link://kind/name``. Here is +the description for all the supported kinds. + +.. class:: dl-horizontal +""") + +for k in sorted(n.path_handlers.keys()): + v = n.path_handlers[k] + print(k) + print('\n'.join(' '+l.strip() for l in v.__doc__.splitlines())) + print() |
