Skip to content

Commit 3a99a8f

Browse files
author
Release Manager
committed
Trac #33886: fixing a few roles
namely meth, func and wikipedia roles URL: https://trac.sagemath.org/33886 Reported by: chapoton Ticket author(s): Frédéric Chapoton Reviewer(s): Matthias Koeppe
2 parents 67d1d1d + a20a6ac commit 3a99a8f

File tree

9 files changed

+14
-14
lines changed

9 files changed

+14
-14
lines changed

src/doc/en/developer/sage_manuals.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ The documentation can contain links toward modules, classes, or methods, e.g.::
8383
:mod:`sage.module_name` (here the link's text is the module's name)
8484

8585
For links toward classes, methods, or function, replace **:mod:** by
86-
**:class:**, **:meth:** or **func:** respectively. See `Sphinx' documentation
86+
**:class:**, **:meth:** or **:func:** respectively. See `Sphinx' documentation
8787
<http://sphinx.pocoo.org/markup/inline.html>`_.
8888

8989
**Short links:** the link ``:func:`~sage.mod1.mod2.mod3.func1``` is equivalent

src/sage/categories/coxeter_groups.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class CoxeterGroups(Category_singleton):
3636
3737
`I` is the *index set* of `W` and `|I|` is the *rank* of `W`.
3838
39-
See :Wikipedia:`Coxeter_group` for details.
39+
See :wikipedia:`Coxeter_group` for details.
4040
4141
EXAMPLES::
4242

src/sage/categories/finite_dimensional_modules_with_basis.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
r"""
22
Finite dimensional modules with basis
33
"""
4-
#*****************************************************************************
4+
# ****************************************************************************
55
# Copyright (C) 2008 Teresa Gomez-Diaz (CNRS) <[email protected]>
66
# 2011 Nicolas M. Thiery <nthiery at users.sf.net>
77
#
88
# Distributed under the terms of the GNU General Public License (GPL)
99
# http://www.gnu.org/licenses/
10-
#******************************************************************************
10+
# *****************************************************************************
1111

1212
import operator
1313
from sage.categories.category_with_axiom import CategoryWithAxiom_over_base_ring
@@ -84,7 +84,7 @@ def annihilator(self, S, action=operator.mul, side='right', category=None):
8484
8585
If ``self`` is a ring, ``action`` an action of ``self`` on
8686
a module `M` and `S` is a subset of `M`, we recover the
87-
:Wikipedia:`Annihilator_%28ring_theory%29`. Similarly this
87+
:wikipedia:`Annihilator_%28ring_theory%29`. Similarly this
8888
can be used to compute torsion or orthogonals.
8989
9090
.. SEEALSO:: :meth:`annihilator_basis` for lots of examples.

src/sage/categories/permutation_groups.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class PermutationGroups(Category):
2323
2424
This distinguished action should be preserved by permutation group
2525
morphisms. For details, see
26-
:Wikipedia:`Permutation_group#Permutation_isomorphic_groups`.
26+
:wikipedia:`Permutation_group#Permutation_isomorphic_groups`.
2727
2828
.. TODO:: shall we accept only permutations with finite support or not?
2929

src/sage/geometry/polyhedron/combinatorial_polyhedron/face_iterator.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -2014,7 +2014,7 @@ cdef inline int next_face_loop(iter_t structure) nogil except -1:
20142014

20152015
cdef inline size_t n_atom_rep(iter_t structure) nogil except -1:
20162016
r"""
2017-
See meth:`FaceIterator.n_atom_rep`.
2017+
See :meth:`FaceIterator.n_atom_rep`.
20182018
"""
20192019
if structure.face_status:
20202020
return face_len_atoms(structure.face)

src/sage/groups/cubic_braid.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -923,12 +923,12 @@ def _internal_test_attached_group(self, attached_group, tester):
923923
r"""
924924
It tests conversion maps from ``self`` to the given attached Group
925925
which must have been defined using the :meth:`as_classical_group`,
926-
:meth:`as_matrix_group`, meth:`as_permutation_group` or
926+
:meth:`as_matrix_group`, :meth:`as_permutation_group` or
927927
:meth:`as_reflection_group`.
928928
929929
INPUT:
930930
931-
- ``attached_group`` -- attached group to be tested as specified above.
931+
- ``attached_group`` -- attached group to be tested as specified above.
932932
933933
EXAMPLES::
934934

src/sage/rings/padics/generic_nodes.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1027,7 +1027,7 @@ def unknown(self, start_val=0, digits=None):
10271027
of the previous ones. This method is used to declare a self-referent
10281028
number (and optionally, to set its first digits).
10291029
The definition of the number itself will be given afterwords using
1030-
to method meth:`sage.rings.padics.relaxed_template.RelaxedElement_unknown.set`
1030+
to method :meth:`sage.rings.padics.relaxed_template.RelaxedElement_unknown.set`
10311031
of the element.
10321032
10331033
EXAMPLES:
@@ -1044,7 +1044,7 @@ def unknown(self, start_val=0, digits=None):
10441044
sage: a
10451045
O(5^0)
10461046
1047-
We can now use the method meth:`sage.rings.padics.relaxed_template.RelaxedElement_unknown.set`
1047+
We can now use the method :meth:`sage.rings.padics.relaxed_template.RelaxedElement_unknown.set`
10481048
to define `a`. Below, for example, we say that the digits of `a` have to
10491049
agree with the digits of `1 + 5 a`. Note that the factor `5` shifts the
10501050
digits; the `n`-th digit of `a` is then defined by the previous ones::

src/sage/rings/ring_extension.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1177,7 +1177,7 @@ cdef class RingExtension_generic(CommutativeAlgebra):
11771177
11781178
.. SEEALSO::
11791179
1180-
!meth:`base`, :meth:`bases`, :meth:`absolute_base`
1180+
:meth:`base`, :meth:`bases`, :meth:`absolute_base`
11811181
"""
11821182
cdef CommutativeRing b
11831183
b = self

src/sage/schemes/curves/zariski_vankampen.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -528,8 +528,8 @@ def roots_interval_cached(f, x0):
528528

529529
def populate_roots_interval_cache(inputs):
530530
r"""
531-
Call func:`roots_interval` to the inputs that have not been computed previously,
532-
and cache them.
531+
Call :func:`roots_interval` to the inputs that have not been
532+
computed previously, and cache them.
533533
534534
INPUT:
535535

0 commit comments

Comments
 (0)