[coreboot-gerrit] Change in coreboot[master]: Documentation: Fix Sphinx restructured text setup

Philipp Deppenwiese (Code Review) gerrit at coreboot.org
Sun May 13 13:32:29 CEST 2018


Philipp Deppenwiese has uploaded this change for review. ( https://review.coreboot.org/26254


Change subject: Documentation: Fix Sphinx restructured text setup
......................................................................

Documentation: Fix Sphinx restructured text setup

* Make rst support available.

Change-Id: Ic3852e299e6373519c96236650d1612f77cf8d39
Signed-off-by: Philipp Deppenwiese <zaolin at das-labor.org>
---
M Documentation/conf.py
1 file changed, 2 insertions(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/54/26254/1

diff --git a/Documentation/conf.py b/Documentation/conf.py
index 85e0438..3b5e28b 100644
--- a/Documentation/conf.py
+++ b/Documentation/conf.py
@@ -4,7 +4,7 @@
 templates_path = ['_templates']
 
 # The suffix(es) of source filenames.
-source_suffix = ['.md']
+source_suffix = ['.rst', '.md']
 
 # The master toctree document.
 master_doc = 'index'
@@ -173,6 +173,7 @@
 
 
 def setup(app):
+    from recommonmark.parser import CommonMarkParser
     from recommonmark.transform import AutoStructify
     app.add_config_value('recommonmark_config', {
         'enable_auto_toc_tree': True,

-- 
To view, visit https://review.coreboot.org/26254
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic3852e299e6373519c96236650d1612f77cf8d39
Gerrit-Change-Number: 26254
Gerrit-PatchSet: 1
Gerrit-Owner: Philipp Deppenwiese <zaolin.daisuki at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180513/29edaf63/attachment-0001.html>


More information about the coreboot-gerrit mailing list