Skip to content

Commit

Permalink
Remove md source parser
Browse files Browse the repository at this point in the history
  • Loading branch information
pdavide committed Jul 2, 2019
1 parent 95415db commit 060aa5e
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@

import sys, os
docs_italia_theme = __import__("docs-italia-theme")
from recommonmark.transform import AutoStructify
from recommonmark.parser import CommonMarkParser

# -- RTD configuration ------------------------------------------------

Expand Down Expand Up @@ -57,10 +55,6 @@
templates_path = ['_templates']

# The suffix of source filenames.
source_parsers = {
'.md': CommonMarkParser,
}

source_suffix = ['.rst', '.md']

# The encoding of source files.
Expand Down Expand Up @@ -103,16 +97,6 @@
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'

# -- AutoStructify --------------------------------------------------------
def setup(app):
app.add_config_value('recommonmark_config', {
'auto_toc_tree_section': 'Contents',
'enable_eval_rst': True,
'enable_auto_doc_ref': True
}, True)
app.add_transform(AutoStructify)


# -- Options for HTML output ----------------------------------------------
html_theme = 'docs-italia-theme'

Expand Down

0 comments on commit 060aa5e

Please sign in to comment.