mirror of
https://github.com/edwinb/Idris2-boot.git
synced 2024-11-28 05:32:03 +03:00
Improve RTD config.
+ Sphinx can read CommonMark formatted files, so let us allow that capability. + Improve .gitignore to ignore sphinx build directories.
This commit is contained in:
parent
e95c5f7571
commit
79729935ea
2
.gitignore
vendored
2
.gitignore
vendored
@ -6,6 +6,8 @@
|
|||||||
idris2
|
idris2
|
||||||
runtests
|
runtests
|
||||||
|
|
||||||
|
docs/_build/
|
||||||
|
|
||||||
libs/**/build
|
libs/**/build
|
||||||
tests/**/output
|
tests/**/output
|
||||||
|
|
||||||
|
@ -35,13 +35,14 @@ extensions = [
|
|||||||
'sphinx.ext.todo',
|
'sphinx.ext.todo',
|
||||||
# 'sphinx.ext.pngmath', # imgmath is not supported on readthedocs.
|
# 'sphinx.ext.pngmath', # imgmath is not supported on readthedocs.
|
||||||
'sphinx.ext.ifconfig',
|
'sphinx.ext.ifconfig',
|
||||||
|
'recommonmark'
|
||||||
]
|
]
|
||||||
|
|
||||||
# Add any paths that contain templates here, relative to this directory.
|
# Add any paths that contain templates here, relative to this directory.
|
||||||
templates_path = ['_templates']
|
templates_path = ['_templates']
|
||||||
|
|
||||||
# The suffix of source filenames.
|
# The suffix of source filenames.
|
||||||
source_suffix = '.rst'
|
source_suffix = ['.rst','.md']
|
||||||
|
|
||||||
# The encoding of source files.
|
# The encoding of source files.
|
||||||
#source_encoding = 'utf-8-sig'
|
#source_encoding = 'utf-8-sig'
|
||||||
|
Loading…
Reference in New Issue
Block a user