PostDirective

class ablog.post.PostDirective(name, arguments, options, content, lineno, content_offset, block_text, state, state_machine)

Bases: docutils.parsers.rst.Directive

Handle post directives.

Attributes Summary

final_argument_whitespace
has_content
option_spec
optional_arguments
required_arguments

Methods Summary

run()

Attributes Documentation

final_argument_whitespace = True
has_content = True
option_spec = {'author': <function _split at 0x7f77995a48c0>, 'category': <function _split at 0x7f77995a48c0>, 'excerpt': <type 'int'>, 'exclude': <function flag at 0x7f779b738938>, 'image': <type 'int'>, 'language': <function _split at 0x7f77995a48c0>, 'location': <function _split at 0x7f77995a48c0>, 'nocomments': <function flag at 0x7f779b738938>, 'redirect': <function _split at 0x7f77995a48c0>, 'tags': <function _split at 0x7f77995a48c0>, 'title': <function <lambda> at 0x7f77995a4938>}
optional_arguments = 1
required_arguments = 0

Methods Documentation

run()

Comments

comments powered by Disqus