Skip to content

Commit

Permalink
update doc building instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrik-johansson committed Nov 7, 2022
1 parent 5f57beb commit 1b476ea
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 53 deletions.
44 changes: 0 additions & 44 deletions docs/functions/signals.txt

This file was deleted.

20 changes: 11 additions & 9 deletions docs/setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,11 @@ Running tests

It is recommended that you run mpmath's full set of unit tests to make sure everything works. The `py.test <https://pytest.org/>`_ is a required dependence for testing. The tests are located in the ``tests`` subdirectory of the main mpmath directory. They can be run using::

``py.test --pyargs mpmath``
py.test --pyargs mpmath

Doctests can be run with::

py.test --doctest-modules mpmath

If any test fails, please send a detailed bug report to the `mpmath issue tracker <https://github.com/fredrik-johansson/mpmath/issues>`_.

Expand All @@ -104,19 +108,17 @@ To enable extra diagnostics, use, set ``MPMATH_STRICT`` environment variable.
Compiling the documentation
---------------------------

If you downloaded the source package, the text source for these documentation pages is included in the ``doc`` directory. The documentation can be compiled to pretty HTML using `Sphinx <http://sphinx.pocoo.org/>`_. Go to the ``doc`` directory and run

``python build.py``
Building the documentation requires `Sphinx <http://sphinx.pocoo.org/>`_.

You can also test that all the interactive examples in the documentation work by running
Use::

``python run_doctest.py``
python setup.py build_sphinx -c docs -b html,latex

and by running the individual ``.py`` files in the mpmath source.
The create a PDF::

(The doctests may take several minutes.)
make -C build/sphinx/latex all-pdf

Finally, some additional demo scripts are available in the ``demo`` directory included in the source package.
Some additional demo scripts are available in the ``demo`` directory included in the source package.

Mpmath under Sage
-------------------
Expand Down

0 comments on commit 1b476ea

Please sign in to comment.