Skip to content

Commit

Permalink
docs with markdown, needs further error search
Browse files Browse the repository at this point in the history
  • Loading branch information
Marvin Oßwald committed Jul 22, 2016
1 parent fce90a6 commit 16103c1
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
# import sys
# sys.path.insert(0, os.path.abspath('.'))
import sphinx_rtd_theme
#from recommonmark.parser import CommonMarkParser
#from sphinx.highlighting import lexers
#from pygments.lexers.web import PhpLexer
#lexers['php'] = PhpLexer(startinline=True, linenos=1)
#lexers['php-annotations'] = PhpLexer(startinline=True, linenos=1)
#primary_domain = 'php'
from recommonmark.parser import CommonMarkParser
from sphinx.highlighting import lexers
from pygments.lexers.web import PhpLexer
lexers['php'] = PhpLexer(startinline=True, linenos=1)
lexers['php-annotations'] = PhpLexer(startinline=True, linenos=1)
primary_domain = 'php'

# -- General configuration ------------------------------------------------

Expand All @@ -45,11 +45,10 @@
# The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string:
#
#source_parsers = {
# '.md': CommonMarkParser,
#}
#source_suffix = ['.rst','.md']
source_suffix = ['.rst']
source_parsers = {
'.md': CommonMarkParser,
}
source_suffix = ['.rst','.md']

# The encoding of source files.
#
Expand Down

0 comments on commit 16103c1

Please sign in to comment.