Skip to content

Commit 2fc2c51

Browse files
Format the doc
1 parent 88e1699 commit 2fc2c51

File tree

118 files changed

+2420
-2299
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+2420
-2299
lines changed

docs/source/authors.rst

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
.. Copyright (c) 2021-2024 J. D. Mitchell
1+
..
2+
Copyright (c) 2021-2024 J. D. Mitchell
23
3-
Distributed under the terms of the GPL license version 3.
4+
Distributed under the terms of the GPL license version 3.
45

5-
The full license is in the file LICENSE, distributed with this software.
6+
The full license is in the file LICENSE, distributed with this software.
67

7-
.. _Authors:
8+
.. _authors:
89

910
Authors
1011
=======
@@ -14,16 +15,19 @@ Authors
1415
- `Maria Tsalakou`_ (mt200@st-andrews.ac.uk)
1516
- Murray Whyte (mw231@st-andrews.ac.uk)
1617

17-
.. _Joseph Edwards: https://github.com/Joseph-Edwards
18-
.. _James Mitchell: https://jdbm.me
19-
.. _Maria Tsalakou: https://mariatsalakou.github.io/
18+
.. _james mitchell: https://jdbm.me
19+
20+
.. _joseph edwards: https://github.com/Joseph-Edwards
21+
22+
.. _maria tsalakou: https://mariatsalakou.github.io/
2023

2124
Contributors
2225
------------
2326

24-
- `Nicolas Thiery`_ helped the authors understand the ecosystem for integrating C++
25-
code into python, and to some preliminary versions of the python bindings for
26-
``libsemigroups`` using cython, and cppyy.
27-
- Chinmaya Nagpal (chinmaya1011@gmail.com) resolved some issues with the packaging.
27+
- `Nicolas Thiery`_ helped the authors understand the ecosystem for integrating
28+
C++ code into python, and to some preliminary versions of the python bindings
29+
for ``libsemigroups`` using cython, and cppyy.
30+
- Chinmaya Nagpal (chinmaya1011@gmail.com) resolved some issues with the
31+
packaging.
2832

29-
.. _Nicolas Thiery: http://nicolas.thiery.name/
33+
.. _nicolas thiery: http://nicolas.thiery.name/

docs/source/biblio.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
.. Copyright (c) 2021-2024 J. D. Mitchell
1+
..
2+
Copyright (c) 2021-2024 J. D. Mitchell
23
3-
Distributed under the terms of the GPL license version 3.
4+
Distributed under the terms of the GPL license version 3.
45

5-
The full license is in the file LICENSE, distributed with this software.
6+
The full license is in the file LICENSE, distributed with this software.
67

78
Bibliography
89
============
910

1011
.. bibliography:: libsemigroups.bib
11-
:all:
12+
:all:

docs/source/changelog.rst

Lines changed: 47 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
.. Copyright (c) 2021-2024, J. D. Mitchell
1+
..
2+
Copyright (c) 2021-2024, J. D. Mitchell
23
3-
Distributed under the terms of the GPL license version 3.
4+
Distributed under the terms of the GPL license version 3.
45

5-
The full license is in the file LICENSE, distributed with this software.
6+
The full license is in the file LICENSE, distributed with this software.
67

78
Changelog
89
=========
@@ -18,9 +19,9 @@ v0.10.0 (released 23/03/2023)
1819

1920
This is a minor release adding some new functionality from ``libsemigroups``:
2021

21-
* ukkonen: add support for ``Ukkonen`` + helpers by @james-d-mitchell in
22+
- ukkonen: add support for ``Ukkonen`` + helpers by @james-d-mitchell in
2223
https://github.com/libsemigroups/libsemigroups_pybind11/pull/132
23-
* present: add further manip. funcs by @james-d-mitchell in
24+
- present: add further manip. funcs by @james-d-mitchell in
2425
https://github.com/libsemigroups/libsemigroups_pybind11/pull/136
2526

2627
v0.9.2 (released 22/03/2023)
@@ -33,20 +34,20 @@ v0.9.1 (released 21/03/2023)
3334

3435
This is a minor release with some minor improvements:
3536

36-
* stephen: make ``accepts/is_left_factor`` call more robust by @james-d-mitchell
37+
- stephen: make ``accepts/is_left_factor`` call more robust by @james-d-mitchell
3738
in https://github.com/libsemigroups/libsemigroups_pybind11/pull/129
38-
* tests: add libsemigroups v2.7.0 special case by @james-d-mitchell in
39+
- tests: add libsemigroups v2.7.0 special case by @james-d-mitchell in
3940
https://github.com/libsemigroups/libsemigroups_pybind11/pull/130
4041

4142
v0.9.0 (released 06/03/2023)
4243
----------------------------
4344

44-
This is a minor release including two changes and some minor improvements to
45-
the doc:
45+
This is a minor release including two changes and some minor improvements to the
46+
doc:
4647

47-
* Improve ``ActionDigraph`` colours by @MTWhyte in
48+
- Improve ``ActionDigraph`` colours by @MTWhyte in
4849
https://github.com/libsemigroups/libsemigroups_pybind11/pull/125
49-
* Add support for ``ActionDigraph::cbegin/cend_pstilo`` by @james-d-mitchell in
50+
- Add support for ``ActionDigraph::cbegin/cend_pstilo`` by @james-d-mitchell in
5051
https://github.com/libsemigroups/libsemigroups_pybind11/pull/127
5152

5253
v0.8.0 (released 28/02/2023)
@@ -55,15 +56,15 @@ v0.8.0 (released 28/02/2023)
5556
This is a minor version that adds all the features from the namespace
5657
``libsemigroups::presentation`` to the package, these are:
5758

58-
* ``add_zero_rules``
59-
* ``are_rules_sorted``
60-
* ``change_alphabet``
61-
* ``letter`` and ``character``
62-
* ``first_unused_letter``
63-
* ``greedy_reduce_length``
64-
* ``longest_rule``, ``shortest_rule``, ``longest_rule_length``, and
59+
- ``add_zero_rules``
60+
- ``are_rules_sorted``
61+
- ``change_alphabet``
62+
- ``letter`` and ``character``
63+
- ``first_unused_letter``
64+
- ``greedy_reduce_length``
65+
- ``longest_rule``, ``shortest_rule``, ``longest_rule_length``, and
6566
``shortest_rule_length``
66-
* ``make_semigroup``
67+
- ``make_semigroup``
6768

6869
v0.7.3 (released 07/02/2023)
6970
----------------------------
@@ -74,15 +75,14 @@ changes in ``libsemigroups``.
7475
v0.7.2 (released 12/01/2023)
7576
----------------------------
7677

77-
This is a minor change related to some forthcoming changes in
78-
``libsemigroups``.
78+
This is a minor change related to some forthcoming changes in ``libsemigroups``.
7979

8080
v0.7.1 (released 11/01/2023)
8181
----------------------------
8282

83-
This is a very minor release updating the required versions of some
84-
dependencies to permit the ``libsemigroups_pybind11`` wheel to be built with
85-
python 3.11, and to adapt for some recent changes in ``libsemigroups``.
83+
This is a very minor release updating the required versions of some dependencies
84+
to permit the ``libsemigroups_pybind11`` wheel to be built with python 3.11, and
85+
to adapt for some recent changes in ``libsemigroups``.
8686

8787
v0.7.0 (released 15/12/2022)
8888
----------------------------
@@ -91,13 +91,13 @@ This release contains a number of improvements and fixes, and adds support for
9191
the library of finite semigroup and monoid presentations in ``libsemigroups``
9292
and the ``Stephen`` class from ``libsemigroups``.
9393

94-
* Add functionality for the presentation helper ``replace_word`` by @MTWhyte in
94+
- Add functionality for the presentation helper ``replace_word`` by @MTWhyte in
9595
https://github.com/libsemigroups/libsemigroups_pybind11/pull/84
96-
* Out neighbours for action digraphs by @james-d-mitchell in
96+
- Out neighbours for action digraphs by @james-d-mitchell in
9797
https://github.com/libsemigroups/libsemigroups_pybind11/pull/91
98-
* Add functionality for the ``fpsemi-examples`` presentations by @MTWhyte in
98+
- Add functionality for the ``fpsemi-examples`` presentations by @MTWhyte in
9999
https://github.com/libsemigroups/libsemigroups_pybind11/pull/85
100-
* Stephen by @james-d-mitchell in
100+
- Stephen by @james-d-mitchell in
101101
https://github.com/libsemigroups/libsemigroups_pybind11/pull/93
102102

103103
v0.6.0 (released 02/12/2022)
@@ -106,15 +106,15 @@ v0.6.0 (released 02/12/2022)
106106
This release contains a number of improvements and fixes, and adds support for
107107
the ``Konieczny`` class from ``libsemigroups``.
108108

109-
* Add missing header include in cong.cpp by @james-d-mitchell in
109+
- Add missing header include in cong.cpp by @james-d-mitchell in
110110
https://github.com/libsemigroups/libsemigroups_pybind11/pull/77
111-
* Remove trivial rules by @james-d-mitchell in
111+
- Remove trivial rules by @james-d-mitchell in
112112
https://github.com/libsemigroups/libsemigroups_pybind11/pull/79
113-
* Fix string encoding in ``KnuthBendix`` by @james-d-mitchell in
113+
- Fix string encoding in ``KnuthBendix`` by @james-d-mitchell in
114114
https://github.com/libsemigroups/libsemigroups_pybind11/pull/82
115-
* Add support for ``Konieczny`` from ``libsemigroups`` by @james-d-mitchell in
115+
- Add support for ``Konieczny`` from ``libsemigroups`` by @james-d-mitchell in
116116
https://github.com/libsemigroups/libsemigroups_pybind11/pull/80
117-
* Better ``__repr__`` for ``KnuthBendix`` by @james-d-mitchell in
117+
- Better ``__repr__`` for ``KnuthBendix`` by @james-d-mitchell in
118118
https://github.com/libsemigroups/libsemigroups_pybind11/pull/86
119119

120120
v0.5.0 (released 16/11/2022)
@@ -127,8 +127,8 @@ v0.4.3 (released 09/11/2022)
127127
----------------------------
128128

129129
This is a very minor release which contains no functional changes, or bugfixes,
130-
but exists to allow zenodo.org to pick up the release and generate a doi for
131-
the package.
130+
but exists to allow zenodo.org to pick up the release and generate a doi for the
131+
package.
132132

133133
v0.4.2 (released 28/10/2022)
134134
----------------------------
@@ -141,25 +141,24 @@ v0.4.1 (released 11/10/2022)
141141
Update for version 2.3.1 of ``libsemigroups`` which contains some bugfixes in
142142
the ``Sims1`` class, the ``Presentation`` class and its helper functions.
143143

144-
145144
v0.4.0 (released 04/10/2022)
146145
----------------------------
147146

148147
This is a minor release with a couple of new features added:
149148

150-
* ``libsemigroups`` constants ``POSITIVE_INFINITY``, ``NEGATIVE_INFINITY``, and
149+
- ``libsemigroups`` constants ``POSITIVE_INFINITY``, ``NEGATIVE_INFINITY``, and
151150
``UNDEFINED`` are properly supported;
152-
* ``libsemigroups::matrix_helper::pow`` is added as a method for ``__pow__``
153-
for some types of matrices (those not defined over a runtime semiring);
151+
- ``libsemigroups::matrix_helper::pow`` is added as a method for ``__pow__`` for
152+
some types of matrices (those not defined over a runtime semiring);
154153

155154
and some minor improvements (the tests now use ``pytest`` exclusively).
156155

157156
v0.3.0 (released 29/09/2022)
158157
----------------------------
159158

160-
This is a minor release adding support for the ``libsemigroups`` class
161-
``Sims1`` for computing low index congruences, and some further minor changes
162-
to the ``Presentation`` class.
159+
This is a minor release adding support for the ``libsemigroups`` class ``Sims1``
160+
for computing low index congruences, and some further minor changes to the
161+
``Presentation`` class.
163162

164163
v0.2.2 (released 16/09/2022)
165164
----------------------------
@@ -184,15 +183,15 @@ v0.1.8 (released 27/01/2022)
184183
----------------------------
185184

186185
This is a very minor release which contains no functional changes, or bugfixes,
187-
but exists to fix an issue related to the wheel created for pypi on mac os x
188-
arm machines.
186+
but exists to fix an issue related to the wheel created for pypi on mac os x arm
187+
machines.
189188

190189
v0.1.7 (released 27/01/2022)
191190
----------------------------
192191

193192
This is a very minor release which contains no functional changes, or bugfixes,
194-
but exists to fix an issue related to the wheel created for pypi on mac os x
195-
arm machines.
193+
but exists to fix an issue related to the wheel created for pypi on mac os x arm
194+
machines.
196195

197196
v0.1.6 (released 02/12/2021)
198197
----------------------------
@@ -239,5 +238,5 @@ Some minor issues were resolved and the function ``follow_path`` was added for
239238
v0.0.0 (released 24/09/2021)
240239
----------------------------
241240

242-
First release of the package, some functionality of ``libsemigroups`` is not
243-
yet available.
241+
First release of the package, some functionality of ``libsemigroups`` is not yet
242+
available.

docs/source/data-structures/adapters/imageleftaction.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
.. Copyright (c) 2024 James Mitchell
1+
..
2+
Copyright (c) 2024 James Mitchell
23
3-
Distributed under the terms of the GPL license version 3.
4+
Distributed under the terms of the GPL license version 3.
45

5-
The full license is in the file LICENSE, distributed with this software.
6+
The full license is in the file LICENSE, distributed with this software.
67

78
.. currentmodule:: libsemigroups_pybind11
89

@@ -11,14 +12,14 @@ The ImageLeftAction class
1112

1213
.. autoclass:: ImageLeftAction
1314
:doc-only:
14-
:class-doc-from: class
15+
:class-doc-from: class
1516

1617
Contents
1718
--------
1819

1920
.. autosummary::
2021
:signatures: short
21-
22+
2223
~ImageLeftAction
2324
ImageLeftAction.__call__
2425

docs/source/data-structures/adapters/imagerightaction.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
.. Copyright (c) 2024 James Mitchell
1+
..
2+
Copyright (c) 2024 James Mitchell
23
3-
Distributed under the terms of the GPL license version 3.
4+
Distributed under the terms of the GPL license version 3.
45

5-
The full license is in the file LICENSE, distributed with this software.
6+
The full license is in the file LICENSE, distributed with this software.
67

78
.. currentmodule:: libsemigroups_pybind11
89

@@ -11,14 +12,14 @@ The ImageRightAction class
1112

1213
.. autoclass:: ImageRightAction
1314
:doc-only:
14-
:class-doc-from: class
15+
:class-doc-from: class
1516

1617
Contents
1718
--------
1819

1920
.. autosummary::
2021
:signatures: short
21-
22+
2223
~ImageRightAction
2324
ImageRightAction.__call__
2425

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
.. Copyright (c) 2024 James Mitchell
1+
..
2+
Copyright (c) 2024 James Mitchell
23
3-
Distributed under the terms of the GPL license version 3.
4+
Distributed under the terms of the GPL license version 3.
45

5-
The full license is in the file LICENSE, distributed with this software.
6+
The full license is in the file LICENSE, distributed with this software.
67

78
.. currentmodule:: libsemigroups_pybind11
89

@@ -12,11 +13,10 @@ Adapters
1213
This page describes some of the adapters used in ``libsemigroups_pybind11``.
1314
These are classes that permit the generic classes in ``libsemigroups`` to be
1415
used with arbitrary types, provided that the adapters are implemented for these
15-
types.
16+
types.
1617

1718
.. toctree::
18-
:maxdepth: 1
19+
:maxdepth: 1
1920

20-
imagerightaction
21-
imageleftaction
22-
21+
imagerightaction
22+
imageleftaction
Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
.. Copyright (c) 2024 J. D. Mitchell
1+
..
2+
Copyright (c) 2024 J. D. Mitchell
23
3-
Distributed under the terms of the GPL license version 3.
4+
Distributed under the terms of the GPL license version 3.
45

5-
The full license is in the file LICENSE, distributed with this software.
6+
The full license is in the file LICENSE, distributed with this software.
67

78
Bipartition helpers
89
===================
@@ -11,6 +12,6 @@ This page contains the documentation for various helper functions for
1112
manipulating bipartitions.
1213

1314
.. automodule:: libsemigroups_pybind11.bipartition
14-
:members:
15-
:imported-members:
16-
:exclude-members: Bipartition
15+
:members:
16+
:imported-members:
17+
:exclude-members: Bipartition

0 commit comments

Comments
 (0)