Skip to content

Commit 8127bc9

Browse files
fix: add note, fix 404 url and fix unrelated typo
1 parent 058d4e7 commit 8127bc9

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

docs/how_tos/override-external-urls.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Use cases:
2121
- Help documentation
2222
- External tool integrations
2323

24-
Currently, the following external URLs are wrapped with `getExternalLinkUrl` in the authoring application:
24+
Following external URLs are wrapped with `getExternalLinkUrl` in the authoring application:
2525

2626
- 'https://www.edx.org/accessibility'
2727
- 'https://docs.openedx.org/en/latest/educators/concepts/exercise_tools/about_multi_select.html'
@@ -31,12 +31,14 @@ Currently, the following external URLs are wrapped with `getExternalLinkUrl` in
3131
- 'https://docs.openedx.org/en/latest/educators/how-tos/course_development/exercise_tools/add_text_input.html'
3232
- 'https://docs.openedx.org/en/latest/educators/how-tos/course_development/social_sharing.html'
3333
- 'https://docs.openedx.org/en/latest/educators/references/course_development/exercise_tools/guide_problem_types.html#advanced-problem-types'
34-
- 'https://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/en/latest/developing_course/course_components.html#components-that-contain-other-components'
34+
- 'https://docs.openedx.org/en/latest/educators/references/course_development/parent_child_components.html'
3535
- 'https://openai.com/api-data-privacy'
3636
- 'https://docs.openedx.org/en/latest/educators/how-tos/course_development/create_new_library.html'
3737
- 'https://bigbluebutton.org/privacy-policy/'
3838
- 'https://creativecommons.org/about'
3939

40+
Note: as new external URLs are added to the codebase, more URLs will be wrapped with `getExternalLinkUrl` and this list may not always be up to date.
41+
4042
How to Override External URLs
4143
-----------------------------
4244

src/accessibility-page/AccessibilityPage.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const AccessibilityPage = () => {
2424
</title>
2525
</Helmet>
2626
<Header isHiddenMainMenu />
27-
<Container size="xl" classNamae="px-4">
27+
<Container size="xl" className="px-4">
2828
<AccessibilityBody
2929
{...{
3030
email: ACCESSIBILITY_EMAIL,

src/course-unit/sidebar/SplitTestSidebarInfo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const SplitTestSidebarInfo = () => {
4545
<hr className="course-split-test-sidebar-devider my-4" />
4646
<Hyperlink
4747
showLaunchIcon={false}
48-
destination={getExternalLinkUrl('https://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/en/latest/developing_course/course_components.html#components-that-contain-other-components')}
48+
destination={getExternalLinkUrl('https://docs.openedx.org/en/latest/educators/references/course_development/parent_child_components.html')}
4949
className="btn btn-outline-primary btn-sm"
5050
target="_blank"
5151
>

0 commit comments

Comments
 (0)