From 95600f17b7638c230e50792a641ae8e2610ed69c Mon Sep 17 00:00:00 2001 From: Colin Dunklau Date: Thu, 16 May 2013 22:41:13 -0500 Subject: [PATCH] Removed docstrings to avoid doc duplication. --- code_include/code_include.py | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/code_include/code_include.py b/code_include/code_include.py index 728c411..b87c8dd 100644 --- a/code_include/code_include.py +++ b/code_include/code_include.py @@ -1,17 +1,6 @@ # -*- coding: utf-8 -*- from __future__ import unicode_literals -""" -Include Pygments highlighted code with reStructuredText -======================================================= - -:author: Colin Dunklau - -Use this plugin to make writing coding tutorials easier! You can -maintain the example source files separately from the actual article. - -""" - import os.path from docutils import io, nodes, statemachine, utils @@ -22,16 +11,6 @@ from pelican.rstdirectives import Pygments class CodeInclude(Directive): - """ - Include content read from a separate source file, and highlight - it with the given lexer (using pelican.rstdirectives.CodeBlock) - - The encoding of the included file can be specified. Only a part - of the given file argument may be included by specifying start - and end line. Hard tabs will be replaced with ``tab-width`` - spaces. - """ - required_arguments = 1 optional_arguments = 0 final_argument_whitespace = True