23 from recommonmark.parser
import CommonMarkParser
25 sys.path.insert(0, os.path.abspath(
'../Base/Python'))
26 sys.path.append(os.path.abspath(
"./_sphinxext"))
40 'workaround_recommonmark_issue_191',
42 'sphinx_markdown_tables',
47 templates_path = [
'_templates']
52 source_suffix = [
'.rst',
'.md']
59 copyright =
'2020, Slicer Community' 60 author =
'Slicer Community' 81 exclude_patterns = [
'_build',
'Thumbs.db',
'.DS_Store']
85 if os.environ.get(
'EXCLUDE_API_REFERENCE',
False) ==
'True':
86 print(
"API reference is excluded from documentation.")
87 exclude_patterns.append(
'developer_guide/saferef.rst')
88 exclude_patterns.append(
'developer_guide/teem.rst')
89 exclude_patterns.append(
'developer_guide/vtkAddon.rst')
90 exclude_patterns.append(
'developer_guide/vtkITK.rst')
91 exclude_patterns.append(
'developer_guide/slicer.rst')
92 exclude_patterns.append(
'developer_guide/mrml.rst')
97 'title':
'Page Not Found',
99 <h1>Page Not Found</h1> 100 <p>Sorry, we couldn't find that page.</p> 101 <p>Try using the search box or go to the homepage.</p> 106 pygments_style =
'sphinx' 109 todo_include_todos =
False 112 rst_prolog = open(
'global.rst.in',
'r').read() 116 html_logo =
'_static/images/3D-Slicer-Mark.png' 123 html_theme =
'default' 129 html_theme_options = {
131 'includehidden':
False,
137 html_static_path = [
'_static']
148 htmlhelp_basename =
'3DSlicerdoc' 175 (master_doc,
'3DSlicer.tex',
'3D Slicer Documentation',
176 'Slicer Community',
'manual'),
185 (master_doc,
'3Dslicer',
'3D Slicer Documentation',
195 texinfo_documents = [
196 (master_doc,
'3DSlicer',
'3D Slicer Documentation',
197 author,
'3DSlicer',
'One line description of project.',
205 on_rtd = os.environ.get(
'READTHEDOCS',
None) ==
'True' 208 import sphinx_rtd_theme
209 html_theme =
'sphinx_rtd_theme' 210 html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]