1 Commits
Author SHA1 Message Date
Duncan Ogilvie 058ba20083 replace recommonmark with m2r
blocked on https://github.com/miyakogi/m2r/pull/16
2018-06-11 02:06:52 +02:00
2 changed files with 11 additions and 22 deletions

No files matched your search

+9 -9
View File
@@ -1,9 +1,9 @@
# docs
Documentation repository for [x64dbg](http://x64dbg.com) at [Read the Docs](https://readthedocs.org/projects/x64dbg).
## Building
1. `pip install sphinx recommonmark==0.4.0`
2. Add `relpath = relpath.replace(os.path.sep, '/')` to `C:\Python27\Lib\site-packages\recommonmark\transform.py` line `69`
3. run `makechm.bat`. It will build the .CHM help file.
# docs
Documentation repository for [x64dbg](http://x64dbg.com) at [Read the Docs](https://readthedocs.org/projects/x64dbg).
## Building
1. `pip install sphinx m2r sphinx_rtd_theme`
2. Add `relpath = relpath.replace(os.path.sep, '/')` to `C:\Python27\Lib\site-packages\recommonmark\transform.py` line `69`
3. run `makechm.bat`. It will build the .CHM help file.
+2 -13
View File
@@ -31,18 +31,12 @@
# ones.
extensions = [
'sphinx.ext.todo',
'm2r'
]
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
from recommonmark.parser import CommonMarkParser
from recommonmark.transform import AutoStructify
source_parsers = {
'.md': CommonMarkParser,
}
# The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string:
#
@@ -346,9 +340,4 @@ texinfo_documents = [
# texinfo_no_detailmenu = False
def setup(app):
app.add_config_value('recommonmark_config', {
'enable_auto_doc_ref': True,
'enable_inline_math': False,
'enable_auto_toc_tree': False
}, True)
app.add_transform(AutoStructify)
pass