Skip to content

Commit

Permalink
interp traceinv
Browse files Browse the repository at this point in the history
  • Loading branch information
ameli committed Mar 6, 2022
1 parent 50ca6ee commit 1009e0a
Show file tree
Hide file tree
Showing 113 changed files with 983 additions and 511 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,14 @@ jobs:
ACCESS_TOKEN: ${{ secrets.IMATE_DOCS }}
BASE_BRANCH: main
BRANCH: gh-pages
FOLDER: docs/_build/html
FOLDER: docs/build/html
BUILD_SCRIPT: |
apt-get update
apt-get install graphviz -y
pip install --upgrade pip
pip install .[docs]
export PATH=$HOME/.local/bin:$PATH
sphinx-apidoc -f -o docs/_modules/ ./imate
python setup.py build_sphinx
make html --directory=docs
touch docs/_build/html/.nojekyll
echo 'Visit [Documentation](https://ameli.github.io/imate/index.html).' > docs/_build/html/README.md
8 changes: 6 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ recursive-include docs *.py
recursive-include docs *.rst
recursive-include docs *.svg
recursive-include docs Makefile
recursive-include _modules *.rst
recursive-exclude docs/images *.pdf
recursive-include docs *.bib
recursive-include docs *.in
recursive-include docs *.txt
recursive-exclude docs *.html
recursive-exclude docs *.pdf
recursive-include docs/source *.html

recursive-include imate *.rst
recursive-include examples *.py
Expand All @@ -28,6 +30,7 @@ recursive-include notebooks *.ipynb
recursive-include tests *.py
recursive-include tests *.rst
recursive-exclude tests *.svg
recursive-include tests *.txt

include CHANGELOG.rst
include README.rst
Expand All @@ -46,6 +49,7 @@ exclude .travis.yml
exclude .coverage
exclude .gitattributes

prune docs/build
prune .git
prune tmp
prune .tox
Expand Down
4 changes: 2 additions & 2 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = .
BUILDDIR = _build
SOURCEDIR = source
BUILDDIR = build

# Put it first so that "make" without argument is like "make help".
help:
Expand Down
21 changes: 0 additions & 21 deletions docs/_modules/imate.functions.rst

This file was deleted.

21 changes: 0 additions & 21 deletions docs/_modules/imate.generate_matrix.rst

This file was deleted.

21 changes: 0 additions & 21 deletions docs/_modules/imate.interpolate_traceinv.rst

This file was deleted.

37 changes: 0 additions & 37 deletions docs/_modules/imate.linear_operator.rst

This file was deleted.

21 changes: 0 additions & 21 deletions docs/_modules/imate.logdet.rst

This file was deleted.

24 changes: 0 additions & 24 deletions docs/_modules/imate.rst

This file was deleted.

29 changes: 0 additions & 29 deletions docs/_modules/imate.sample_matrices.rst

This file was deleted.

21 changes: 0 additions & 21 deletions docs/_modules/imate.trace.rst

This file was deleted.

21 changes: 0 additions & 21 deletions docs/_modules/imate.traceinv.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/_modules/modules.rst

This file was deleted.

4 changes: 2 additions & 2 deletions docs/make.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ REM Command file for Sphinx documentation
if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set SOURCEDIR=.
set BUILDDIR=_build
set SOURCEDIR=source
set BUILDDIR=build

if "%1" == "" goto help

Expand Down
8 changes: 8 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
sphinx
sphinx-math-dollar
sphinx-toggleprompt
sphinx_rtd_theme
pydata_sphinx_theme
graphviz
sphinx-automodapi
numpydoc
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
8 changes: 8 additions & 0 deletions docs/source/_templates/autosummary/attribute.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
:orphan:

{{ fullname }}
{{ underline }}

.. currentmodule:: {{ module }}

.. autoattribute:: {{ objname }}
38 changes: 38 additions & 0 deletions docs/source/_templates/autosummary/class.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{{ fullname }}
{{ underline }}

.. currentmodule:: {{ module }}

.. autoclass:: {{ objname }}
:no-members:
:no-inherited-members:
:no-special-members:

{% block methods %}
.. HACK -- the point here is that we don't want this to appear in the output, but the autosummary should still generate the pages.
.. autosummary::
:toctree:
{% for item in all_methods %}
{%- if not item.startswith('_') or item in ['__call__', '__mul__', '__getitem__', '__len__'] %}
{{ name }}.{{ item }}
{%- endif -%}
{%- endfor %}
{% for item in inherited_members %}
{%- if item in ['__call__', '__mul__', '__getitem__', '__len__'] %}
{{ name }}.{{ item }}
{%- endif -%}
{%- endfor %}
{% endblock %}

{% block attributes %}
{% if attributes %}
.. HACK -- the point here is that we don't want this to appear in the output, but the autosummary should still generate the pages.
.. autosummary::
:toctree:
{% for item in all_attributes %}
{%- if not item.startswith('_') %}
{{ name }}.{{ item }}
{%- endif -%}
{%- endfor %}
{% endif %}
{% endblock %}
8 changes: 8 additions & 0 deletions docs/source/_templates/autosummary/method.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
:orphan:

{{ fullname }}
{{ underline }}

.. currentmodule:: {{ module }}

.. automethod:: {{ objname }}
10 changes: 10 additions & 0 deletions docs/source/_templates/autosummary/ndarray_subclass.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{{ fullname }}
{{ underline }}

.. currentmodule:: {{ module }}

.. class:: {{ objname }}

This is an ndarray wrapper for a native MATLAB object. This class is not meant
to be instantiated directly, but can be used for type checking
:func:`scipy.io.loadmat` outputs.
8 changes: 8 additions & 0 deletions docs/source/_templates/autosummary/property.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
:orphan:

{{ fullname }}
{{ underline }}

.. currentmodule:: {{ module }}

.. autoproperty:: {{ objname }}
Loading

0 comments on commit 1009e0a

Please sign in to comment.