Skip to content
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.

Commit

Permalink
Silent Documentation Update 4.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkroorda committed Oct 1, 2015
1 parent cb7f116 commit 5f857d0
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 17 deletions.
Binary file modified dist/laf-fabric-4.5.4.tar.gz
Binary file not shown.
32 changes: 16 additions & 16 deletions docs/conf.py.bck
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ extensions = [
'sphinx.ext.intersphinx',
]

intersphinx_mapping = {'python': ('http://docs.python.org/3', None)}
intersphinx_mapping = {'python': ('http://docs.python.org/3.3', None)}

templates_path = ['_templates']
source_suffix = '.rst'
master_doc = 'index'
project = 'LAF Fabric'
copyright = '2013, Dirk Roorda'
project = u'LAF Fabric'
copyright = u'2013, Dirk Roorda'
version = '4.5'
release = '4.5.3'
release = '4.5.4'
exclude_patterns = ['_build']
add_function_parentheses = True
add_module_names = False
Expand All @@ -39,7 +39,7 @@ if on_rtd:
html_theme = 'default'
else:
html_theme = 'sphinx_rtd_theme'
html_theme_path = ['_themes', ]
html_theme_path = ["_themes", ]

html_static_path = ['_static']
html_domain_indices = True
Expand All @@ -58,32 +58,32 @@ latex_elements = {
}

latex_documents = [
('index', 'LAF_Fabric.tex', 'LAF Fabric Documentation',
'Dirk Roorda', 'manual'),
('index', 'LAF_Fabric.tex', u'LAF Fabric Documentation',
u'Dirk Roorda', 'manual'),
]

# -- Options for manual page output ---------------------------------------

man_pages = [
('index', 'LAF_Fabric', 'LAF Fabric Documentation',
['Dirk Roorda'], 1)
('index', 'LAF_Fabric', u'LAF Fabric Documentation',
[u'Dirk Roorda'], 1)
]

# -- Options for Texinfo output -------------------------------------------

texinfo_documents = [
('index', 'LAF_Fabric', 'LAF Fabric Documentation',
'Dirk Roorda', 'LAF Fabric', 'One line description of project_name.',
('index', 'LAF_Fabric', u'LAF Fabric Documentation',
u'Dirk Roorda', 'LAF Fabric', 'One line description of project_name.',
'Miscellaneous'),
]

# -- Options for Epub output ----------------------------------------------

epub_title = 'LAF Fabric'
epub_author = 'Dirk Roorda'
epub_publisher = 'Dirk Roorda'
epub_copyright = '2013, Dirk Roorda'
epub_basename = 'LAF_Fabric'
epub_title = u'LAF Fabric'
epub_author = u'Dirk Roorda'
epub_publisher = u'Dirk Roorda'
epub_copyright = u'2013, Dirk Roorda'
epub_basename = u'LAF_Fabric'
epub_theme = 'epub'
epub_show_urls = 'footnote'
epub_use_index = True
6 changes: 5 additions & 1 deletion etcbc/extra.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ def create_annots(self, data, spec):
result.append('''<a xml:id="a{}" as="{}" label="{}" ref="{}"><fs>'''.format(aid, aspace, alabel, xml_id))
for fname in sorted(features[aspace][alabel][xml_id]):
value = str(features[aspace][alabel][xml_id][fname])
value = value.replace('&', '&amp;').replace('<', '&lt;').replace('>', '&gt;').replace('"', '&quot')
value = value.replace('&', '&amp;').\
replace('<', '&lt;').\
replace('>', '&gt;').\
replace('"', '&quot;').\
replace('\n', '&#xa;')
result.append('\t<f name="{}" value="{}"/>'.format(fname, value))
result.append('</fs></a>')
result.append("</graph>")
Expand Down

0 comments on commit 5f857d0

Please sign in to comment.