Skip to content

using :doc: tag instead of relative links with ../ to html #36622

@dimpase

Description

@dimpase

One can use :doc: tag here:

--- a/src/sage/rings/polynomial/msolve.py
+++ b/src/sage/rings/polynomial/msolve.py
@@ -8,7 +8,7 @@ based on Gröbner bases.
 This module provide implementations of some operations on polynomial ideals
 based on msolve.
 
-Note that the `optional package msolve <../../../../spkg/msolve.html>`_ must be installed.
+Note that the :doc:`optional package msolve <spkg/msolve>` must be installed.
 
 .. SEEALSO::
 

and it looks much more Sphinxic to me. I propose to do this for many other places where this is present - this would also make these links in pdf docs meaningful.

Originally posted by @dimpase in #36611 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions