summaryrefslogtreecommitdiff
path: root/docutils/docs/api/publisher.txt
diff options
context:
space:
mode:
authorgoodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2005-04-26 03:57:00 +0000
committergoodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2005-04-26 03:57:00 +0000
commita66ca623d97c73233f14745423fc274a94299ac7 (patch)
tree94e0a4d716826f7c282e001526f5ba3c0ad7de37 /docutils/docs/api/publisher.txt
parentb66f96780587f6cdf04168b76780b805d79c7369 (diff)
downloaddocutils-a66ca623d97c73233f14745423fc274a94299ac7.tar.gz
Added ``html_prolog`` & ``html_head`` to HTML writer parts dictionary exposed by ``docutils.core.publish_parts``; updated tests & docs. At the request of Marcelo Huerta.
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3257 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/docs/api/publisher.txt')
-rw-r--r--docutils/docs/api/publisher.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/docutils/docs/api/publisher.txt b/docutils/docs/api/publisher.txt
index 5d793f003..55883f1ae 100644
--- a/docutils/docs/api/publisher.txt
+++ b/docutils/docs/api/publisher.txt
@@ -129,6 +129,15 @@ html_body
``parts['html_body']`` contains the HTML ``<body>`` content, less
the ``<body>`` and ``</body>`` tags themselves.
+html_head
+ ``parts['html_head']`` contains the HTML ``<head>`` content, less
+ the stylesheet link and the ``<head>`` and ``</head>`` tags
+ themselves.
+
+html_prolog
+ ``parts['html_prolog]`` contains the XML declaration and the
+ doctype declaration.
+
html_subtitle
``parts['html_subtitle']`` contains the document subtitle,
including the enclosing ``<h2 class="subtitle">`` & ``</h2>``