Przeglądaj źródła

change table code in documentation guide

Mark Slatem 11 lat temu
rodzic
commit
d6bfbefd53
2 zmienionych plików z 3 dodań i 5 usunięć
  1. 1 1
      source/conf.py
  2. 2 4
      source/doc-guide.rst

+ 1 - 1
source/conf.py

@@ -29,7 +29,7 @@ import os
 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
 # ones.
 extensions = [
-    'sphinx.ext.autodoc', 'sphinx.ext.mathjax', 'matplotlib.sphinxext.only_directives', 'sphinx.ext.todo',
+    'sphinx.ext.autodoc', 'sphinx.ext.mathjax', 'sphinx.ext.todo',
 ]
 
 # Add any paths that contain templates here, relative to this directory.

+ 2 - 4
source/doc-guide.rst

@@ -357,8 +357,6 @@ A first method is the following syntax::
 
 gives:
 
-.. htmlonly::
-
     +------------+------------+-----------+
     | Header 1   | Header 2   | Header 3  |
     +============+============+===========+
@@ -386,7 +384,7 @@ The previous syntax can be simplified::
 
 gives:
 
-.. htmlonly::
+
 
     =====  =====  ======
        Inputs     Output
@@ -420,7 +418,7 @@ which means three left-adjusted (LaTeX syntax). By default, Sphinx uses a table
 
 gives 
 
-.. htmlonly::
+
 
     .. tabularcolumns:: |l|c|p{5cm}|