ava-labs / avalanche-docs

Protocol documentation for the Avalanche network.
https://docs.avax.network/
BSD 3-Clause "New" or "Revised" License
163 stars 374 forks source link

Fix build errors, add hardcoded ACP explainer #1803

Closed meaghanfitzgerald closed 3 months ago

meaghanfitzgerald commented 3 months ago

Why this should be merged

the build has been broken due to invalid sourceBaseUrls in remoteContent.js. These Urls point to .md files in remote repositories (ie. https://github.com/ava-labs/avalanchego/) that are pulled into docs via docusaurus-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

How these changes were tested

yarn build yarn start

cloudflare-workers-and-pages[bot] commented 3 months ago

Deploying avalanche-docs with  Cloudflare Pages  Cloudflare Pages

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

View logs

meaghanfitzgerald commented 3 months ago

/gt docs/learn/acp.md i18n/es/docusaurus-plugin-content-docs/current/learn/acp.md spanish

github-actions[bot] commented 3 months ago

🎉Translation completed!

laviniat1996 commented 3 months ago

thank you @meaghanfitzgerald for this contribution