Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use relative links to extension reference pages #5970

Merged
merged 1 commit into from
Nov 28, 2023
Merged

Conversation

D8H
Copy link
Collaborator

@D8H D8H commented Nov 28, 2023

Absolute links make navigation in the preview difficult because it links to the production.

@D8H D8H requested a review from 4ian as a code owner November 28, 2023 11:33
@@ -1,6 +1,6 @@
// @ts-check

const gdevelopWikiUrlRoot = 'https://wiki.gdevelop.io/gdevelop5';
const gdevelopWikiUrlRoot = '/gdevelop5';
Copy link
Collaborator

Choose a reason for hiding this comment

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

it's used in multiple scripts, are you sure it doesn't break the links?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes, it's the format we used when writing documentation.

Copy link
Owner

Choose a reason for hiding this comment

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

This is more a question asking if all the scripts using this will be safe. I think it's fine because it's all for generating wiki pages, so they should continue to work.

@4ian 4ian merged commit 6531e2e into master Nov 28, 2023
6 checks passed
@4ian 4ian deleted the doc-relative-link branch November 28, 2023 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants