Skip to content

Commit

Permalink
Trac #33886: fixing a few roles
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Release Manager committed May 24, 2022
2 parents 67d1d1d + a20a6ac commit 3a99a8f
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/doc/en/developer/sage_manuals.rst
Expand Up @@ -83,7 +83,7 @@ The documentation can contain links toward modules, classes, or methods, e.g.::
:mod:`sage.module_name` (here the link's text is the module's name)

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

**Short links:** the link ``:func:`~sage.mod1.mod2.mod3.func1``` is equivalent
Expand Down
2 changes: 1 addition & 1 deletion src/sage/categories/coxeter_groups.py
Expand Up @@ -36,7 +36,7 @@ class CoxeterGroups(Category_singleton):
`I` is the *index set* of `W` and `|I|` is the *rank* of `W`.
See :Wikipedia:`Coxeter_group` for details.
See :wikipedia:`Coxeter_group` for details.
EXAMPLES::
Expand Down
6 changes: 3 additions & 3 deletions src/sage/categories/finite_dimensional_modules_with_basis.py
@@ -1,13 +1,13 @@
r"""
Finite dimensional modules with basis
"""
#*****************************************************************************
# ****************************************************************************
# Copyright (C) 2008 Teresa Gomez-Diaz (CNRS) <Teresa.Gomez-Diaz@univ-mlv.fr>
# 2011 Nicolas M. Thiery <nthiery at users.sf.net>
#
# Distributed under the terms of the GNU General Public License (GPL)
# http://www.gnu.org/licenses/
#******************************************************************************
# *****************************************************************************

import operator
from sage.categories.category_with_axiom import CategoryWithAxiom_over_base_ring
Expand Down Expand Up @@ -84,7 +84,7 @@ def annihilator(self, S, action=operator.mul, side='right', category=None):
If ``self`` is a ring, ``action`` an action of ``self`` on
a module `M` and `S` is a subset of `M`, we recover the
:Wikipedia:`Annihilator_%28ring_theory%29`. Similarly this
:wikipedia:`Annihilator_%28ring_theory%29`. Similarly this
can be used to compute torsion or orthogonals.
.. SEEALSO:: :meth:`annihilator_basis` for lots of examples.
Expand Down
2 changes: 1 addition & 1 deletion src/sage/categories/permutation_groups.py
Expand Up @@ -23,7 +23,7 @@ class PermutationGroups(Category):
This distinguished action should be preserved by permutation group
morphisms. For details, see
:Wikipedia:`Permutation_group#Permutation_isomorphic_groups`.
:wikipedia:`Permutation_group#Permutation_isomorphic_groups`.
.. TODO:: shall we accept only permutations with finite support or not?
Expand Down
Expand Up @@ -2014,7 +2014,7 @@ cdef inline int next_face_loop(iter_t structure) nogil except -1:

cdef inline size_t n_atom_rep(iter_t structure) nogil except -1:
r"""
See meth:`FaceIterator.n_atom_rep`.
See :meth:`FaceIterator.n_atom_rep`.
"""
if structure.face_status:
return face_len_atoms(structure.face)
Expand Down
4 changes: 2 additions & 2 deletions src/sage/groups/cubic_braid.py
Expand Up @@ -923,12 +923,12 @@ def _internal_test_attached_group(self, attached_group, tester):
r"""
It tests conversion maps from ``self`` to the given attached Group
which must have been defined using the :meth:`as_classical_group`,
:meth:`as_matrix_group`, meth:`as_permutation_group` or
:meth:`as_matrix_group`, :meth:`as_permutation_group` or
:meth:`as_reflection_group`.
INPUT:
- ``attached_group`` -- attached group to be tested as specified above.
- ``attached_group`` -- attached group to be tested as specified above.
EXAMPLES::
Expand Down
4 changes: 2 additions & 2 deletions src/sage/rings/padics/generic_nodes.py
Expand Up @@ -1027,7 +1027,7 @@ def unknown(self, start_val=0, digits=None):
of the previous ones. This method is used to declare a self-referent
number (and optionally, to set its first digits).
The definition of the number itself will be given afterwords using
to method meth:`sage.rings.padics.relaxed_template.RelaxedElement_unknown.set`
to method :meth:`sage.rings.padics.relaxed_template.RelaxedElement_unknown.set`
of the element.
EXAMPLES:
Expand All @@ -1044,7 +1044,7 @@ def unknown(self, start_val=0, digits=None):
sage: a
O(5^0)
We can now use the method meth:`sage.rings.padics.relaxed_template.RelaxedElement_unknown.set`
We can now use the method :meth:`sage.rings.padics.relaxed_template.RelaxedElement_unknown.set`
to define `a`. Below, for example, we say that the digits of `a` have to
agree with the digits of `1 + 5 a`. Note that the factor `5` shifts the
digits; the `n`-th digit of `a` is then defined by the previous ones::
Expand Down
2 changes: 1 addition & 1 deletion src/sage/rings/ring_extension.pyx
Expand Up @@ -1177,7 +1177,7 @@ cdef class RingExtension_generic(CommutativeAlgebra):
.. SEEALSO::
!meth:`base`, :meth:`bases`, :meth:`absolute_base`
:meth:`base`, :meth:`bases`, :meth:`absolute_base`
"""
cdef CommutativeRing b
b = self
Expand Down
4 changes: 2 additions & 2 deletions src/sage/schemes/curves/zariski_vankampen.py
Expand Up @@ -528,8 +528,8 @@ def roots_interval_cached(f, x0):

def populate_roots_interval_cache(inputs):
r"""
Call func:`roots_interval` to the inputs that have not been computed previously,
and cache them.
Call :func:`roots_interval` to the inputs that have not been
computed previously, and cache them.
INPUT:
Expand Down

0 comments on commit 3a99a8f

Please sign in to comment.