Skip to content

[DEPR]: help-tokens #260

@sarina

Description

@sarina

Proposal Date

2025-04-04

Target Ticket Acceptance Date

2025-04-18

Earliest Open edX Named Release Without This Functionality

Teak 2025-04

Rationale

help-tokens is a package that allows you to switch between pages in different ReadTheDocs books, provided each book has a page of the same name.

Historically, this was done because Open edX and edx.org had different docs books with slightly different text on pages of the same name. However, with the transition to docs.openedx.org, help-tokens no longer works for Open edX docs, rendering links generated by help-tokens to be broken for Open edX users. Further, within the openedx org, only edx-platform uses this package, and seemingly only 16 times, whereas there are nearly 100 direct references to docs links. Keeping this pattern in the codebase will render these docs links broken for Open edX usage. The alternative will be to update help-tokens to work with the new docs.openedx.org URL patterns, which would then break those references to other books. Maintaining this repo is yet another burden on the platform ecosystem.

Removal

help-tokens will be removed for the Teak release, and the 16 usages in edx-platform will be replaced with direct links to Open edX documentation. Note that all other repos (MFEs, etc) already have direct links to documentation only.

Replacement

help-tokens will be removed for the Teak release, and the 16 usages in edx-platform will be replaced with direct links to Open edX documentation.

Deprecation

No response

Migration

No response

Additional Info

If individual installations wish to substitute documentation links with links to their own documentation, work should be done to make links fully configurable. This would involve having a dictionary of some sort in site settings override files that allow you to map a given URL to one of your own choosing. This would be helpful for all kinds of operators, including those that have documentation on sites that are not ReadTheDocs.

An issue has been made here to capture followup work: openedx/openedx-platform#36482

Task List

No response

Sub-issues

Metadata

Metadata

Assignees

Labels

deprProposal for deprecation & removal per OEP-21

Type

Projects

Status

Draft

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions