Skip to content

Fix broken external link in docs/introduction.txt Installing section #492

@Shrikantgiri25

Description

@Shrikantgiri25

TL;DR

The "Installing" section link in docs/introduction.txt uses incorrect RST syntax (:ref: for external URL) and points to /master/ which should be /latest/ for stable documentation.

Description

The docs/introduction.txt file in the django-celery-results repository contains a broken reference to the Celery documentation. The current ReStructuredText (RST) syntax incorrectly uses the :ref: role for an external URL, which is only valid for internal Sphinx references. Additionally, the URL points to /master/ which does not exist and should point to /latest/ for stable documentation.

Current Code (Broken)

Installing

The installation instructions for this extension is available from the :ref:Celery documentation .

Issue

  1. :ref: is meant for internal Sphinx references, not external URLs.
  2. The link text and reference target syntax is incorrect for external links.
  3. The documentation URL points to /master/ which does not exist; it must use /latest/ to point to stable documentation.

Proposed Fix

Use a named external link in proper RST syntax with correct URL:

  • Defines a named external link Celery documentation.
  • The trailing underscore _ correctly references the URL.
  • Uses /latest/ in the URL which exists and points to stable documentation.

Changes

  • Replaced invalid :ref: usage with proper RST external link syntax.
  • Fixed the URL from /master/ to /latest/.
  • Ensured that the link renders correctly and points to existing stable documentation.

Files Affected

  • docs/introduction.txt

Screenshots

Image Image

Motivation
This change ensures that the installation link renders correctly in the HTML documentation and points to existing stable documentation at /latest/ instead of the non-existent /master/ URL.

I would like to work on this issue and submit a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions