Skip to content

Commit

Permalink
[DOC] added ipython dependency to support IPython.sphinxext extension (
Browse files Browse the repository at this point in the history
…NVIDIA#5345)

* [DOC] added ipython dependency to support IPython.sphinxext extension

Signed-off-by: Xuesong Yang <1646669+XuesongYang@users.noreply.github.com>

* revert ipython extension in the doc and replace ipython block with
shell-session.

Signed-off-by: Xuesong Yang <1646669+XuesongYang@users.noreply.github.com>

Signed-off-by: Xuesong Yang <1646669+XuesongYang@users.noreply.github.com>
Signed-off-by: andrusenkoau <andrusenkoau@gmail.com>
  • Loading branch information
XuesongYang authored and andrusenkoau committed Jan 5, 2023
1 parent 833d586 commit 6b02856
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,6 @@
"sphinx.ext.autosectionlabel",
"sphinxcontrib.bibtex",
"sphinx_copybutton",
"IPython.sphinxext.ipython_console_highlighting",
"IPython.sphinxext.ipython_directive",
]

bibtex_bibfiles = [
Expand Down
2 changes: 1 addition & 1 deletion docs/source/tts/checkpoints.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ The models can be accessed via the :code:`from_pretrained()` method inside the T
where ``<MODEL_NAME>`` is the value in ``Model Name`` column in the tables in :ref:`Checkpoints<NGC TTS Models>`. These names are predefined in the each model's member function ``self.list_available_models()``. For example, the available NGC FastPitch model names can be found,

.. ipython::
.. code-block:: shell-session
In [1]: import nemo.collections.tts as nemo_tts
Expand Down

0 comments on commit 6b02856

Please sign in to comment.