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

Fix integrations absolute links and changelog generation errors #2285

Merged
merged 3 commits into from
Jan 4, 2023

Conversation

yanthomasdev
Copy link
Member

@yanthomasdev yanthomasdev commented Jan 4, 2023

What kind of changes does this PR include?

  • Changes to the docs site code

Description

Lots of links to other docs pages and local links (those starting with #) were being wrongly prepended by the absoluteLinks remark plugin. I couldn't find a reason as to why the absoluteLinks remark plugin exists in the first place, taking a look at #954, I guess it was fixing something related to Markdown footnotes (maybe we can remove it?). Changed a line to make it ignore the links I didn't want it to change, but perhaps this can cause another problem. - I did some tests and couldn't find any broken links from the change in the remark plugin.

Additionally, I found out the Alpine.js integration changelog wasn't being deleted, so I made a small change to ensure its deletion as well.

@netlify
Copy link

netlify bot commented Jan 4, 2023

Deploy Preview for astro-docs-2 ready!

Name Link
🔨 Latest commit fce4177
🔍 Latest deploy log https://app.netlify.com/sites/astro-docs-2/deploys/63b559da49b19000089b0634
😎 Deploy Preview https://deploy-preview-2285--astro-docs-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@yanthomasdev yanthomasdev marked this pull request as draft January 4, 2023 00:50
@delucis delucis marked this pull request as ready for review January 4, 2023 10:50
Copy link
Member

@delucis delucis left a comment

Choose a reason for hiding this comment

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

LGTM! I’ll address the broken translation links in a follow-up PR and the error page broken link will be resolved when we re-run the error docgen.

Nice work fixing that Alpine.js table of contents too! 🙌

@delucis delucis merged commit b09bce7 into main Jan 4, 2023
@delucis delucis deleted the yan/fix-integrations-generation branch January 4, 2023 10:58
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.

2 participants