Browse Source

Add Markdown Support

FusionPBX 6 months ago
parent
commit
51da14e30b
1 changed files with 13 additions and 3 deletions
  1. 13 3
      source/conf.py

+ 13 - 3
source/conf.py

@@ -255,7 +255,7 @@ latex_elements = {
 #  author, documentclass [howto, manual, or own class]).
 #  author, documentclass [howto, manual, or own class]).
 latex_documents = [
 latex_documents = [
   ('index', 'FusionPBXDocs.tex', u'FusionPBX Documentation',
   ('index', 'FusionPBXDocs.tex', u'FusionPBX Documentation',
-   u'Mark J Crane & Len Graham', 'manual'),
+   u'Mark J Crane', 'manual'),
 ]
 ]
 
 
 # The name of an image file (relative to this directory) to place at the top of
 # The name of an image file (relative to this directory) to place at the top of
@@ -285,7 +285,7 @@ latex_documents = [
 # (source start file, name, description, authors, manual section).
 # (source start file, name, description, authors, manual section).
 man_pages = [
 man_pages = [
     ('index', 'fusionpbxdocs', u'FusionPBX Documentation',
     ('index', 'fusionpbxdocs', u'FusionPBX Documentation',
-     [u'Mark J Crane & Len Graham'], 1)
+     [u'Mark J Crane'], 1)
 ]
 ]
 
 
 # If true, show URL addresses after external links.
 # If true, show URL addresses after external links.
@@ -299,7 +299,7 @@ man_pages = [
 #  dir menu entry, description, category)
 #  dir menu entry, description, category)
 texinfo_documents = [
 texinfo_documents = [
   ('index', 'FusionPBXDocs', u'FusionPBX Documentation',
   ('index', 'FusionPBXDocs', u'FusionPBX Documentation',
-   u'Mark J Crane & Len Graham', 'FusionPBXDocs', 'One line description of project.',
+   u'Mark J Crane', 'FusionPBXDocs', 'One line description of project.',
    'Miscellaneous'),
    'Miscellaneous'),
 ]
 ]
 
 
@@ -314,3 +314,13 @@ texinfo_documents = [
 
 
 # If true, do not generate a @detailmenu in the "Top" node's menu.
 # If true, do not generate a @detailmenu in the "Top" node's menu.
 #texinfo_no_detailmenu = False
 #texinfo_no_detailmenu = False
+
+# Markdown support
+from recommonmark.parser import CommonMarkParser
+
+# The suffix of source filenames.
+source_suffix = ['.rst', '.md']
+
+source_parsers = {
+	'.md': CommonMarkParser,
+}