-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only support Sphinx >= 4 and Python >= 3.6 (#121)
* Updated to version 0.12.0. * Only Sphinx >= 4.0.0 is now supported. * Only Python >= 3.6 is supported. * Fixed numerous warnings due to deprecated Sphinx API. * Fixed issue #101 * CI now tests on Python 3.6, 3.7, 3.8 and 3.9.
- Loading branch information
Showing
24 changed files
with
395 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,6 @@ tests/test_docs/_build/ | |
.pytest_cache/ | ||
.vscode/ | ||
_build | ||
htmlcov | ||
.coverage | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
[pytest] | ||
log_print = False | ||
addopts = --show-capture=all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
_build/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Minimal makefile for Sphinx documentation | ||
# | ||
|
||
# You can set these variables from the command line. | ||
SPHINXOPTS = | ||
SPHINXBUILD = sphinx-build | ||
SPHINXPROJ = sphinxcontrib-matlabdomain | ||
SOURCEDIR = . | ||
BUILDDIR = _build | ||
|
||
# Put it first so that "make" without argument is like "make help". | ||
help: | ||
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) | ||
|
||
.PHONY: help Makefile | ||
|
||
# Catch-all target: route all unknown targets to Sphinx using the new | ||
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). | ||
%: Makefile | ||
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
classdef Domain | ||
% Describes a set of elements with a common structure | ||
% | ||
% Those elements can be compared (`.eqv`), and random elements can be produced (`.sample`). | ||
|
||
methods % ABSTRACT | ||
|
||
function b = eqv(self, t, u) | ||
% Tests domain elements for equality/equivalence | ||
% | ||
% Args: | ||
% t (domain element): First element to test | ||
% u (domain element): Second element to test | ||
% | ||
% Returns: | ||
% logical: True when ``t`` and ``u`` are equivalent, and false otherwise | ||
error('Abstract'); | ||
end | ||
|
||
end | ||
|
||
end |
11 changes: 11 additions & 0 deletions
11
tests/roots/test_duplicate_link/_src/+replab/FiniteGroup.m
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
classdef FiniteGroup < replab.CompactGroup | ||
% Describes a group with a finite number of elements | ||
% | ||
% .. admonition:: Inherited elements | ||
% :class: collapsed | ||
% | ||
% .. method:: eqv | ||
% | ||
% Documentation in :meth:`+replab.Domain.eqv` | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
classdef Group < replab.Monoid | ||
% Describes a group | ||
% | ||
% .. admonition:: Inherited elements | ||
% :class: collapsed | ||
% | ||
% .. method:: eqv | ||
% | ||
% Documentation in :meth:`+replab.Domain.eqv` | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
classdef Monoid < replab.Domain | ||
% Describes a monoid | ||
% | ||
% See https://en.wikipedia.org/wiki/Monoid | ||
% | ||
% .. admonition:: Inherited elements | ||
% | ||
% .. method:: eqv | ||
% | ||
% Documentation in :meth:`+replab.Domain.eqv` | ||
|
||
end |
Oops, something went wrong.