From 846ebaa4d733cecd0c9c7fc2e40f5b4eb2fd6851 Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Fri, 4 Mar 2011 14:57:25 -0500 Subject: [PATCH] Update API documents to match current implementation --- docs/source/api/elementjax.rst | 11 ++++--- docs/source/api/hub.rst | 9 ++++++ docs/source/api/inputjax.rst | 18 ++++++------ docs/source/api/jax.rst | 52 ++++++++++++++++++++-------------- docs/source/api/outputjax.rst | 15 ++++------ docs/source/community.rst | 2 +- docs/source/model.rst | 2 ++ 7 files changed, 63 insertions(+), 46 deletions(-) diff --git a/docs/source/api/elementjax.rst b/docs/source/api/elementjax.rst index 8ef996273..a2a2eee1a 100644 --- a/docs/source/api/elementjax.rst +++ b/docs/source/api/elementjax.rst @@ -24,7 +24,7 @@ that class. Class Properties ================ -.. describe:: name +.. describe:: id The name of the jax. @@ -42,11 +42,13 @@ Instance Properties .. describe:: inputJax - A reference to the input jax that created the element. + A reference to the input jax that created the element. (In the + future, this will be changed to the name of the input jax.) .. describe:: outputJax - A reference to the output jax that has processed this element. + A reference to the output jax that has processed this element. (In + the future, this will be changed to the name of the output jax.) .. describe:: inputID @@ -61,7 +63,8 @@ Instance Properties .. describe:: originalText A string indicating the original input text that was processed for - this element. + this element. (In the future, this may be managed by the input jax + rather than ``MathJax.Hub``.) .. describe:: mimeType diff --git a/docs/source/api/hub.rst b/docs/source/api/hub.rst index a226f8c0b..f751815ee 100644 --- a/docs/source/api/hub.rst +++ b/docs/source/api/hub.rst @@ -106,6 +106,15 @@ Methods - **options** --- object containing options to be set :Returns: ``null`` +.. describe:: Configured() + + When ``delayStartupUntil`` is specified in the configuration file or + in the script that loads ``MathJax.js``, MathJax's startup sequence is + delayed until this routine is called. See :ref:`Configuring MathJax + ` for details on how this is used. + + :Returns: ``null`` + .. describe:: Register.PreProcessor(callback) Used by preprocessors to register themselves with MathJax so that diff --git a/docs/source/api/inputjax.rst b/docs/source/api/inputjax.rst index 26660f886..52419ad71 100644 --- a/docs/source/api/inputjax.rst +++ b/docs/source/api/inputjax.rst @@ -35,7 +35,7 @@ that class. Properties ========== -.. describe:: name +.. describe:: id The name of the jax. @@ -54,15 +54,12 @@ Methods .. Method:: Translate(script) :noindex: - This is the main routine called by MathJax when a ``