From aa61d9fd6d9ba797eb53e3e7d3dac4504449317d Mon Sep 17 00:00:00 2001 From: Farnabaz Date: Sun, 27 Aug 2023 22:08:53 +0200 Subject: [PATCH] docs: fix prose links --- docs/content/3.guide/1.writing/2.markdown.md | 2 +- docs/content/4.api/1.components/7.prose.md | 48 ++++++++++---------- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/docs/content/3.guide/1.writing/2.markdown.md b/docs/content/3.guide/1.writing/2.markdown.md index 1216a1b8e..cf82087c6 100755 --- a/docs/content/3.guide/1.writing/2.markdown.md +++ b/docs/content/3.guide/1.writing/2.markdown.md @@ -33,7 +33,7 @@ Read the complete Prose reference in the [API section](/api/components/prose) If you want to customize a Prose component, here are the recommended steps: -- Checkout the original [component sources](https://github.com/nuxt/content/tree/main/src/runtime/components/Prose). +- Checkout the original [component sources](https://github.com/nuxt/content/tree/2.x/src/runtime/components/Prose). - Use the exact same props. - In your `components/content/` directory, give it the same name. - Make it yours 🚀. diff --git a/docs/content/4.api/1.components/7.prose.md b/docs/content/4.api/1.components/7.prose.md index b78691ec4..6e501368f 100755 --- a/docs/content/4.api/1.components/7.prose.md +++ b/docs/content/4.api/1.components/7.prose.md @@ -8,7 +8,7 @@ To overwrite a prose component, create a component with the same name in your pr ## `ProseA` -[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/main/src/runtime/components/Prose/ProseA.vue) +[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/2.x/src/runtime/components/Prose/ProseA.vue) ::code-group ```md [Code] @@ -22,7 +22,7 @@ To overwrite a prose component, create a component with the same name in your pr ## `ProseBlockquote` -[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/main/src/runtime/components/Prose/ProseBlockquote.vue) +[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/2.x/src/runtime/components/Prose/ProseBlockquote.vue) ::code-group ```md [Code] @@ -36,7 +36,7 @@ To overwrite a prose component, create a component with the same name in your pr ## `ProseCode` -[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/main/src/runtime/components/Prose/ProseCode.vue) +[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/2.x/src/runtime/components/Prose/ProseCode.vue) ::code-group ```md [Code] @@ -76,7 +76,7 @@ If you want to use `]` in the filename, you need to escape it with 2 backslashes ## `ProseCodeInline` -[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/main/src/runtime/components/Prose/ProseCodeInline.vue) +[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/2.x/src/runtime/components/Prose/ProseCodeInline.vue) `code inline`. @@ -96,7 +96,7 @@ If you want to use `]` in the filename, you need to escape it with 2 backslashes ## `ProseH1` -[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/main/src/runtime/components/Prose/ProseH1.vue) +[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/2.x/src/runtime/components/Prose/ProseH1.vue) ::code-group ```md [Code] @@ -110,7 +110,7 @@ If you want to use `]` in the filename, you need to escape it with 2 backslashes ## `ProseH2` -[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/main/src/runtime/components/Prose/ProseH2.vue) +[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/2.x/src/runtime/components/Prose/ProseH2.vue) ::code-group ```md [Code] @@ -124,7 +124,7 @@ If you want to use `]` in the filename, you need to escape it with 2 backslashes ## `ProseH3` -[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/main/src/runtime/components/Prose/ProseH3.vue) +[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/2.x/src/runtime/components/Prose/ProseH3.vue) ::code-group ```md [Code] @@ -138,7 +138,7 @@ If you want to use `]` in the filename, you need to escape it with 2 backslashes ## `ProseH4` -[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/main/src/runtime/components/Prose/ProseH4.vue) +[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/2.x/src/runtime/components/Prose/ProseH4.vue) ::code-group ```md [Code] @@ -152,7 +152,7 @@ If you want to use `]` in the filename, you need to escape it with 2 backslashes ## `ProseH5` -[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/main/src/runtime/components/Prose/ProseH5.vue) +[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/2.x/src/runtime/components/Prose/ProseH5.vue) ::code-group ```md [Code] @@ -166,7 +166,7 @@ If you want to use `]` in the filename, you need to escape it with 2 backslashes ## `ProseH6` -[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/main/src/runtime/components/Prose/ProseH6.vue) +[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/2.x/src/runtime/components/Prose/ProseH6.vue) ::code-group ```md [Code] @@ -180,7 +180,7 @@ If you want to use `]` in the filename, you need to escape it with 2 backslashes ## `ProseHr` -[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/main/src/runtime/components/Prose/ProseHr.vue) +[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/2.x/src/runtime/components/Prose/ProseHr.vue) ::code-group ```md [Code] @@ -202,7 +202,7 @@ If you want to use `]` in the filename, you need to escape it with 2 backslashes ## `ProseImg` -[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/main/src/runtime/components/Prose/ProseImg.vue) +[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/2.x/src/runtime/components/Prose/ProseImg.vue) ::code-group ```md [Code] @@ -216,7 +216,7 @@ If you want to use `]` in the filename, you need to escape it with 2 backslashes ## `ProseUl` -[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/main/src/runtime/components/Prose/ProseUl.vue) +[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/2.x/src/runtime/components/Prose/ProseUl.vue) ::code-group ```md [Code] @@ -236,7 +236,7 @@ If you want to use `]` in the filename, you need to escape it with 2 backslashes ## `ProseLi` -[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/main/src/runtime/components/Prose/ProseLi.vue) +[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/2.x/src/runtime/components/Prose/ProseLi.vue) ::code-group ```md [Code] @@ -250,7 +250,7 @@ If you want to use `]` in the filename, you need to escape it with 2 backslashes ## `ProseOl` -[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/main/src/runtime/components/Prose/ProseOl.vue) +[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/2.x/src/runtime/components/Prose/ProseOl.vue) ::code-group ```md [Code] @@ -268,7 +268,7 @@ If you want to use `]` in the filename, you need to escape it with 2 backslashes ## `ProseP` -[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/main/src/runtime/components/Prose/ProseP.vue) +[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/2.x/src/runtime/components/Prose/ProseP.vue) ::code-group ```md [Code] @@ -282,7 +282,7 @@ If you want to use `]` in the filename, you need to escape it with 2 backslashes ## `ProseStrong` -[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/main/src/runtime/components/Prose/ProseStrong.vue) +[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/2.x/src/runtime/components/Prose/ProseStrong.vue) ::code-group ```md [Code] @@ -296,7 +296,7 @@ If you want to use `]` in the filename, you need to escape it with 2 backslashes ## `ProseEm` -[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/main/src/runtime/components/Prose/ProseEm.vue) +[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/2.x/src/runtime/components/Prose/ProseEm.vue) ::code-group ```md [Code] @@ -310,7 +310,7 @@ If you want to use `]` in the filename, you need to escape it with 2 backslashes ## `ProseTable` -[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/main/src/runtime/components/Prose/ProseTable.vue) +[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/2.x/src/runtime/components/Prose/ProseTable.vue) ::code-group ```md [Code] @@ -332,30 +332,30 @@ If you want to use `]` in the filename, you need to escape it with 2 backslashes ## `ProseTbody` -[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/main/src/runtime/components/Prose/ProseTbody.vue) +[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/2.x/src/runtime/components/Prose/ProseTbody.vue) Included in **ProseTable** example. ## `ProseTd` -[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/main/src/runtime/components/Prose/ProseTd.vue) +[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/2.x/src/runtime/components/Prose/ProseTd.vue) Included in **ProseTable** example. ## `ProseTh` -[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/main/src/runtime/components/Prose/ProseTh.vue) +[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/2.x/src/runtime/components/Prose/ProseTh.vue) Included in **ProseTable** example. ## `ProseThead` -[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/main/src/runtime/components/Prose/ProseThead.vue) +[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/2.x/src/runtime/components/Prose/ProseThead.vue) Included in **ProseTable** example. ## `ProseTr` -[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/main/src/runtime/components/Prose/ProseTr.vue) +[:icon{name="fa-brands:github" class="inline -mt-1 w-6"} Source](https://github.com/nuxt/content/tree/2.x/src/runtime/components/Prose/ProseTr.vue) Included in **ProseTable** example.