Skip to content

Conversation

@DeimerM
Copy link
Contributor

@DeimerM DeimerM commented Oct 16, 2025

Description

Upon reviewing the documentation article links displayed in edx-platform as a resource for users, it was evident that the links were pointing to the old documentation: https://edx.readthedocs.io

Many of these links no longer work today, and attempting to access them results in errors. An example of this can be found on the Studio homepage, in the link highlighted in the image below:

Screenshot From 2025-10-16 13-21-32

As part of the process, I created the following document: Procedure for Resolving Broken Links, which contains the current documentation links (old documentation) and the proposed current documentation links in this PR.

I believe it would be important to use this PR for a discussion regarding the proposed links so that we can select the best options.

The articles were updated because they pointed to the old documentation.
The documentation links were pointing to the old documentation and in many cases, these links no longer worked, so we have updated these links to the new documentation.
@openedx-webhooks
Copy link

Thanks for the pull request, @DeimerM!

This repository is currently maintained by @openedx/wg-maintenance-edx-platform.

Once you've gone through the following steps feel free to tag them in a comment and let them know that your changes are ready for engineering review.

🔘 Get product approval

If you haven't already, check this list to see if your contribution needs to go through the product review process.

  • If it does, you'll need to submit a product proposal for your contribution, and have it reviewed by the Product Working Group.
    • This process (including the steps you'll need to take) is documented here.
  • If it doesn't, simply proceed with the next step.
🔘 Provide context

To help your reviewers and other members of the community understand the purpose and larger context of your changes, feel free to add as much of the following information to the PR description as you can:

  • Dependencies

    This PR must be merged before / after / at the same time as ...

  • Blockers

    This PR is waiting for OEP-1234 to be accepted.

  • Timeline information

    This PR must be merged by XX date because ...

  • Partner information

    This is for a course on edx.org.

  • Supporting documentation
  • Relevant Open edX discussion forum threads
🔘 Get a green build

If one or more checks are failing, continue working on your changes until this is no longer the case and your build turns green.

Details
Where can I find more information?

If you'd like to get more details on all aspects of the review process for open source pull requests (OSPRs), check out the following resources:

When can I expect my changes to be merged?

Our goal is to get community contributions seen and reviewed as efficiently as possible.

However, the amount of time that it takes to review and merge a PR can vary significantly based on factors such as:

  • The size and impact of the changes that it introduces
  • The need for product review
  • Maintenance status of the parent repository

💡 As a result it may take up to several weeks or months to complete a review and merge your PR.

@openedx-webhooks openedx-webhooks added the open-source-contribution PR author is not from Axim or 2U label Oct 16, 2025
@github-project-automation github-project-automation bot moved this to Needs Triage in Contributions Oct 16, 2025
@DeimerM
Copy link
Contributor Author

DeimerM commented Oct 16, 2025

Hi folks, I hope you're doing very well. I wanted to ask for your support in reviewing this Pull Request. @feanil @sarina @felipemontoya @Apgomeznext

@mphilbrick211 mphilbrick211 moved this from Needs Triage to Waiting on Author in Contributions Oct 16, 2025
@felipemontoya
Copy link
Member

This is great @DeimerM. I believe @jswope00 will also be interested in the new docs being the default for studio links.

I'll review in a few days

@sarina
Copy link
Contributor

sarina commented Oct 20, 2025

The reason these links were not changed is because (I thought) they were in the legacy frontend, and I (am not sure) if sites can override these, and we didn't want to break all the links for edx.org.

The links in the MFEs (should) default to docs.openedx.org, and can be overridden: https://github.com/openedx/frontend-platform?tab=readme-ov-file#overriding-default-external-links

@felipemontoya
Copy link
Member

The behavior we are seeing is very much in the course authoring mfe.
I am seeing this in edly's sandbox https://apps.sandbox.openedx.edly.io/authoring/home and also in edunext's https://studio.teak.releases.edunext.link/authoring/home

The "Getting started with Open edX Demo Site - Studio" link points to https://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/getting_started/CA_get_started_Studio.html which is a 404.

That is how we initially found it and how this PR came about.

When researching this, @DeimerM found a way to override it on our end, but it seemed to us that a default community install should have it's help links already pointing to the community docs.

I believe edx.org is already using the override, as the same link in https://course-authoring.edx.org/home points towards https://edx.readthedocs.io/projects/edx-partner-course-staff/en/latest/getting_started/CA_get_started_Studio.html which does work.

@sarina
Copy link
Contributor

sarina commented Oct 20, 2025

I thought this was addressed in the Authoring MFE with the completion of openedx/platform-roadmap#440

@sarina
Copy link
Contributor

sarina commented Oct 20, 2025

on my master sandbox I see that the link to the demo course is wrong though:
image

@sarina
Copy link
Contributor

sarina commented Oct 20, 2025

Oh, that's because it should be training.openedx.io - I'll make a PR to fix it. openedx/frontend-component-footer#561

@felipemontoya
Copy link
Member

I don't have a master sandbox at the moment to test is myself. The screenshot you posted fixes it for the buttons below (green line). Does it also fix it for the sidebar (orange-line)?

image

@sarina
Copy link
Contributor

sarina commented Oct 20, 2025

That sidebar doesn't appear on my master branch:

image

@felipemontoya
Copy link
Member

I suppose that you also don't have anything in the sidebar in the /authoring/home page?

In the course outline I get a complete sidebar full of helpful content and links that also point towards the edx-specific docs.

image

@DeimerM do you have an environment from the main branches to see if the whole sidebar is gone now?

@DeimerM
Copy link
Contributor Author

DeimerM commented Oct 20, 2025

@felipemontoya I'm using Tutor main with the main branches, and I can see the sidebar. The only difference is that I've disabled the Indigo Tutor plugin.

Screenshot 2025-10-20 at 13-33-12 Course outline Test Course

@sarina
Copy link
Contributor

sarina commented Oct 20, 2025

@DeimerM I spoke to Adolfo, his is what he says (note our sandbox is not running Indigo):

Ah. I've seen this before.
[15:17]
The messages/sidebar shows in dev mode (which is what they're reporting), but the current leading theory is that it doesn't in production. I haven't been able to confirm it, yet. (Because as of late I haven't been able to set up tutor prod to coexist with tutor dev, as I used to.)
[15:18]
But then again, this is why we have the master sandbox. If it doesn't show there, it's good evidence that there's a problem

The question would be, which is correct? Dev or prod?

@sarina
Copy link
Contributor

sarina commented Oct 20, 2025

It could be an issue with the plugin slot in the prod configuration, as that's where Aspects shows.

@felipemontoya
Copy link
Member

It could be, but aspects also has a button in the top and at least in teak it is not causing issues.

aspects_sidebar

@sarina
Copy link
Contributor

sarina commented Oct 20, 2025

Gotcha. We don't have time on our side to investigate this before the cut, unfortunately, but looking at it, That sidebar is the only default content in the course_outline_sidebar slot. It's very likely that a plugin is clobering it, and I suspect Aspects. It should look like this:

image

@sarina
Copy link
Contributor

sarina commented Oct 20, 2025

@robrap could you take a look at this? Felipe reports this:

I believe edx.org is already using the override, as the same link in https://course-authoring.edx.org/home points towards https://edx.readthedocs.io/projects/edx-partner-course-staff/en/latest/getting_started/CA_get_started_Studio.html which does work.

@felipemontoya
Copy link
Member

By pure chance I was investigating the way aspects loads UI Slots just this morning. I think this is the culprit:
https://github.com/openedx/tutor-contrib-aspects/blob/main/tutoraspects/patches/mfe-env-config-runtime-definitions-authoring#L9

This happens when you do have aspects installed, but have the flag for ASPECTS_ENABLE_STUDIO_IN_CONTEXT_METRICS as off (default).

Anyhow, the fixing of the sidebar slot config should not block the conversation of having better defaults for the documentation links.

@sarina
Copy link
Contributor

sarina commented Oct 20, 2025

Agreed, I'd like Robert to weigh in before proceeding.

@sarina
Copy link
Contributor

sarina commented Oct 22, 2025

@felipemontoya @DeimerM could we confirm that these defaults are overridable and that there is documentation on how to do that?

@felipemontoya
Copy link
Member

Hi sarina, @DeimerM is out on vacation this week. On monday he will be able to answer in detail. My understanding is that yes it is overridable, but I'll let him answer properly.

@DeimerM
Copy link
Contributor Author

DeimerM commented Nov 5, 2025

@felipemontoya @DeimerM could we confirm that these defaults are overridable and that there is documentation on how to do that?

Hello @sarina, please excuse the delay in my response. I would like to confirm that I conducted some research and can verify that it is indeed possible to override these defaults. To do so, you need to follow these steps:

  1. Replace the HELP_TOKENS_BOOKS setting. This setting contains the documentation domains and will be used to form the URL of the articles.
  2. Create a new help_tokens.ini file. It is important to note that there is a separate file for the LMS and the CMS.
  3. Configure the HELP_TOKENS_INI_FILE setting to point to the new file created in the previous step. We also found this configuration in both the LMS and the CMS.

By following these steps, you should be able to replace these defaults. Regarding the documentation, the tool responsible for forming these URLs details its functionality and consequences thoroughly in its README:

https://github.com/openedx/help-tokens?tab=readme-ov-file#documentation

I await any questions or comments you may have. Thank you very much for your help.

@robrap
Copy link
Contributor

robrap commented Nov 5, 2025

@sarina: As long as the required override is documented in the Verawood release notes, feel free to proceed as you wish. Note that a fast-track DEPR is probably the right process for inform around this. Thanks.

@sarina
Copy link
Contributor

sarina commented Nov 6, 2025

@DeimerM could you follow the fast-track depr process for this change, and we can get it merged?

@DeimerM
Copy link
Contributor Author

DeimerM commented Nov 10, 2025

@DeimerM could you follow the fast-track depr process for this change, and we can get it merged?

Hi @sarina Thank you very much for your answer. I would like to confirm that I have started the fast-track process. Please let me know if there is anything I need to do on my end. Thank you again for your help!

@robrap
Copy link
Contributor

robrap commented Nov 10, 2025

@DeimerM: Thanks. The OEP doesn't have a documented process for Fast-Track DEPRs yet, but openedx/.github#175 (comment) will give you some guidance for announcing.

@DeimerM
Copy link
Contributor Author

DeimerM commented Nov 12, 2025

@DeimerM: Thanks. The OEP doesn't have a documented process for Fast-Track DEPRs yet, but openedx/.github#175 (comment) will give you some guidance for announcing.

Hi @robrap Thank you very much for your help. I would like to confirm that I have followed the announcement process. Please let me know if there is anything else I need to do. Thanks.

@robrap
Copy link
Contributor

robrap commented Nov 12, 2025

@DeimerM: I moved the DEPR #37621 to "Plan Accepted" on the DEPR project. Now, I just think you need to address questions that have been added to the DEPR ticket (I see one now). At some point you'll need to add the operator notes to the Verawood release notes, if you haven't already. Thanks.

@mphilbrick211 mphilbrick211 moved this from Waiting on Author to In Eng Review in Contributions Nov 13, 2025
@DeimerM
Copy link
Contributor Author

DeimerM commented Nov 18, 2025

@DeimerM: I moved the DEPR #37621 to "Plan Accepted" on the DEPR project. Now, I just think you need to address questions that have been added to the DEPR ticket (I see one now). At some point you'll need to add the operator notes to the Verawood release notes, if you haven't already. Thanks.

Hi @robrap thank you very much for all your help and your comments. I will remain attentive to all the comments added in the DEPR ticket. Also, I would like to request your help if you could share with me the documentation on how to follow the process to add these notes to the operator notes in the Verawood release note. Thank you very much for your help.

@sarina
Copy link
Contributor

sarina commented Nov 18, 2025

@DeimerM the Releases Homepage (https://openedx.atlassian.net/wiki/spaces/OEPM/pages/4191191044/Open+edX+Releases+Homepage) will always have information on upcoming releases and places to put breaking changes. There's a link to the Verawood page there currently.

@sarina
Copy link
Contributor

sarina commented Nov 18, 2025

@robrap can we merge this if the DEPR is accepted?

@robrap
Copy link
Contributor

robrap commented Nov 18, 2025

@sarina: Your DEPR gives warning until 11-24 for merging. This would just affect developers on master, and MIT as an early deployer at this point. I no longer need to be a blocker. Yay!

Copy link
Contributor

@sarina sarina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple questions about the defaults, when resolve this'll be good to merge.

checklist = course_author:concepts/releasing-course/course_launch_checklist.html
import_library = course_author:how-tos/course_development/export_import_library.html#import-a-legacy-library
import_course = course_author:how-tos/releasing-course/import_course.html
export_library = course_author:how-tos/course_development/export_import_library.html#export-a-legacy-library
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this link be for legacy libraries? Do you know where this link is used?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I investigated where this article is used, but could not locate any references.

While checking the Authoring MFE, I found the following article in the libraries section:

Screenshot From 2025-11-25 10-53-36

However, upon reviewing the MFE code, I determined that the link was hardcoded there, as you can see in the following reference link: https://github.com/openedx/frontend-app-authoring/blob/735159311d72e21f2adff1f12cf5dee335f612f8/src/studio-home/tabs-section/libraries-v2-tab/WelcomeLibrariesV2Alert.tsx#L13

Additionally, my search for documentation on how to export/import libraries only returned articles related to the legacy libraries.

Copy link
Contributor

@sarina sarina Nov 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, I'm asking around on this.

Nevermind, I think we should just remove the unused tokens in followup PR.

Comment on lines +25 to +27
welcome = course_author:index.html
login = course_author:index.html
register = course_author:index.html
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where are these used? I'm not sure the course_author:index is a very useful path to point to

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I conducted an investigation into these tokens, but they do not appear to be used anywhere. Given that no specific article addressing these functionalities could be located, I believe this is the most pertinent approach.

@DeimerM DeimerM changed the title Fixing the documentation article links fix: fixing the documentation article links Nov 25, 2025
@DeimerM
Copy link
Contributor Author

DeimerM commented Nov 25, 2025

Just a couple questions about the defaults, when resolve this'll be good to merge.

Hello @sarina, thank you very much for your feedback! I have conducted some investigation and provided a response. I will be very attentive in case you have any doubts or suggestions. I would also like to confirm that I have added these changes to the Verawood Operator Release Notes article. Thank you very much for your help!

@sarina
Copy link
Contributor

sarina commented Nov 25, 2025

@DeimerM could you create a follow-up PR once this is merged to remove the unused tokens?

@DeimerM
Copy link
Contributor Author

DeimerM commented Nov 25, 2025

@DeimerM could you create a follow-up PR once this is merged to remove the unused tokens?

@sarina, I agree with you. I will proceed to create the new PR once we merge this current PR, thank you very much for your help!

@sarina
Copy link
Contributor

sarina commented Dec 1, 2025

@felipemontoya will you be able to merge this?

@felipemontoya
Copy link
Member

Sure, I'm happy to merge. I'll give notice in the slack channel and hit the button in half hour

@felipemontoya felipemontoya merged commit a765273 into openedx:master Dec 1, 2025
49 checks passed
@github-project-automation github-project-automation bot moved this from In Eng Review to Done in Contributions Dec 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

open-source-contribution PR author is not from Axim or 2U

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants