ionic-team / capacitor-docs

https://capacitorjs.com/docs
Apache License 2.0
20 stars 195 forks source link

fix: use custom_edit_url instead of editUrl #298

Closed jcesarmobile closed 2 months ago

jcesarmobile commented 2 months ago

Looks like at some point having editUrl on the md files broke and we started using programmatic editUrl, but the programmatic editUrl doesn't handle all the cases, on the other hand we are also setting the proper edition url on the md files, but for properly override the programmatic editUrl it has to be called custom_edit_url.

So this PR replaces editUrl with custom_edit_url in the md files (and the api.mjs that write the md files), and removes the programmatic editUrl case for plugins since it's incorrect and not needed with the new custom_edit_url.

Fixes http, cookies, background runner and watch plugins links.

vercel[bot] commented 2 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
capacitor-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 16, 2024 3:36pm