build.docs.dev.hacking.txt Maven / Gradle / Ivy
==========================
Docutils_ Hacker's Guide
==========================
:Author: Lea Wiemann
:Contact: [email protected]
:Revision: $Revision: 5174 $
:Date: $Date: 2007-05-31 02:01:52 +0200 (Don, 31 Mai 2007) $
:Copyright: This document has been placed in the public domain.
:Abstract: This is the introduction to Docutils for all persons who
want to extend Docutils in some way.
:Prerequisites: You have used reStructuredText_ and played around with
the `Docutils front-end tools`_ before. Some (basic) Python
knowledge is certainly helpful (though not necessary, strictly
speaking).
.. _Docutils: http://docutils.sourceforge.net/
.. _reStructuredText: http://docutils.sourceforge.net/rst.html
.. _Docutils front-end tools: ../user/tools.html
.. contents::
Overview of the Docutils Architecture
=====================================
To give you an understanding of the Docutils architecture, we'll dive
right into the internals using a practical example.
Consider the following reStructuredText file::
My *favorite* language is Python_.
.. _Python: http://www.python.org/
Using the ``rst2html.py`` front-end tool, you would get an HTML output
which looks like this::
[uninteresting HTML code removed]
My favorite language is Python.