File: standalone_rst_docutils_xml.py

package info (click to toggle)
python-docutils 0.22.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 11,524 kB
  • sloc: python: 54,162; lisp: 14,475; xml: 1,807; javascript: 1,032; makefile: 102; sh: 96
file content (11 lines) | stat: -rw-r--r-- 400 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
# Source and destination file names
test_source = "standalone_rst_docutils_xml.rst"
test_destination = "standalone_rst_docutils_xml.xml"

# Keyword parameters passed to publish_file()
writer = "docutils_xml"
settings_overrides = {
    'sectsubtitle_xform': True,
    'indents': True,  # format output with indents and newlines
    'validate': True,  # check conformance to Docutils Generic DTD
    }