-
Notifications
You must be signed in to change notification settings - Fork 394
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 build errors, add hardcoded ACP explainer #1803
Conversation
Deploying avalanche-docs with
|
Latest commit: |
58a6e67
|
Status: | ✅ Deploy successful! |
Preview URL: | https://7f3eee83.avalanche-docs.pages.dev |
Branch Preview URL: | https://meag-fix-build.avalanche-docs.pages.dev |
"https://raw.githubusercontent.com/ava-labs/teleporter/main/contracts/src/Teleporter/upgrades/", | ||
"https://raw.githubusercontent.com/ava-labs/teleporter/main/contracts/src/teleporter/registry/", | ||
documents: ["README.md"], | ||
outDir: "docs/build/cross-chain/teleporter/", | ||
// change file name and add metadata correct links | ||
modifyContent(filename, content) { | ||
if (filename.includes("README")) { | ||
const updatedContent = replaceRelativeLinks( | ||
content, | ||
"https://github.com/ava-labs/teleporter/blob/main/contracts/src/Teleporter/upgrades/" | ||
"https://github.com/ava-labs/teleporter/blob/main/contracts/src/teleporter/registry/" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these were the broken urls
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/gt docs/learn/acp.md i18n/es/docusaurus-plugin-content-docs/current/learn/acp.md spanish |
🎉Translation completed! |
thank you @meaghanfitzgerald for this contribution |
Why this should be merged
the build has been broken due to invalid
sourceBaseUrl
s inremoteContent.js
. These Urls point to.md
files in remote repositories (ie. https://github.com/ava-labs/avalanchego/) that are pulled into docs viadocusaurus-plugin-remote-content
community plugin.I wrote a detailed guide on how I implemented
docusaurus-plugin-remote-content
to pull remote docs. Many FAQs are answered there.How this works
docs/learn/acp.md
How these changes were tested
yarn build
yarn start