[rtems-docs commit] Render math via JavaScript in HTML output

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Feb 21 07:05:00 UTC 2017


On 21/02/17 00:25, Chris Johns wrote:
> Any new extensions need to have a waf check added before being pushed 
> to the repo. A build failure is not an acceptable way to manage a user 
> not having the extension installed, we need waf's configure to handle 
> this. We may also need to figure out what happens with the result of 
> the check, ie output specific extension control. 

Where can I add this test? There are some extensions in

common/conf.py

Is this file used for the tests? Is it enough to do this:

diff --git a/c-user/conf.py b/c-user/conf.py
index 18b3206..90a7af7 100644
--- a/c-user/conf.py
+++ b/c-user/conf.py
@@ -3,8 +3,6 @@ sys.path.append(os.path.abspath('../common/'))

  from conf import *

-extensions = ['sphinx.ext.mathjax', 'sphinxcontrib.bibtex']
-
  version = '4.11.99'
  release = '4.11.99'

diff --git a/common/conf.py b/common/conf.py
index 9f6bace..03cfa44 100644
--- a/common/conf.py
+++ b/common/conf.py
@@ -31,7 +31,8 @@ extensions = [
         "sphinx.ext.doctest",
         "sphinx.ext.graphviz",
         "sphinx.ext.intersphinx",
-       "sphinx.ext.pngmath",
+       "sphinx.ext.mathjax",
+       "sphinxcontrib.bibtex",
         "rtemsext",
         "rtemsdomain",
  ]

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the devel mailing list