From 4e3224c012df9f74f010eb92203520515e8537b9 Mon Sep 17 00:00:00 2001 From: Dererk Date: Wed, 11 Nov 2015 16:34:34 -0300 Subject: Imported Upstream version 7.7.3 --- scripts/document_path_handlers.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 scripts/document_path_handlers.py (limited to 'scripts/document_path_handlers.py') 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() -- cgit v1.2.3