File: misc_rst_html4css1.py

package info (click to toggle)
python-docutils 0.19%2Bdfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 9,668 kB
  • sloc: python: 45,630; lisp: 14,475; xml: 1,789; javascript: 1,032; sh: 130; makefile: 104
file content (17 lines) | stat: -rw-r--r-- 646 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Source and destination file names.
test_source = "misc_rst_html4css1.txt"
test_destination = "misc_rst_html4css1.html"

# Keyword parameters passed to publish_file.
reader_name = "standalone"
parser_name = "rst"
writer_name = "html4css1"

# Settings
# test for encoded attribute value in optional stylesheet name,
# 'stylesheet' setting, values are used verbatim
settings_overrides['stylesheet'] = 'foo&bar.css, ../input/data/html4css1.css'
# reset to avoid conflict with 'stylesheet'
settings_overrides['stylesheet_path'] = ''
# stylesheet_dirs not used with 'stylesheet'
settings_overrides['stylesheet_dirs'] = ('.', 'functional/input/data')