Skip to content

Commit

Permalink
docs: fix new docs (#166)
Browse files Browse the repository at this point in the history
Co-authored-by: lihbr <lihbr@users.noreply.github.com>
  • Loading branch information
lihbr and lihbr authored Jul 18, 2022
1 parent 3d21c23 commit 51affea
Show file tree
Hide file tree
Showing 9 changed files with 621 additions and 45 deletions.
3 changes: 2 additions & 1 deletion docs/components/Logo.vue
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<template>
<figure class="inline-flex items-center space-x-2">
<figure class="inline-flex items-center space-x-2 h-8">
<svg
width="208"
height="36"
viewBox="0 0 208 36"
fill="none"
xmlns="http://www.w3.org/2000/svg"
class="h-full w-auto"
>
<path
d="M43.904 28V8.4H47.488L56.7 22.204V8.4H60.284V28H56.7L47.488 14.224V28H43.904ZM69.2077 28.336C67.4717 28.336 66.1277 27.7947 65.1757 26.712C64.2424 25.6293 63.7757 24.0427 63.7757 21.952V14.112H67.3317V21.616C67.3317 22.8107 67.5744 23.7253 68.0597 24.36C68.545 24.9947 69.3104 25.312 70.3557 25.312C71.345 25.312 72.157 24.9573 72.7917 24.248C73.445 23.5387 73.7717 22.5493 73.7717 21.28V14.112H77.3557V28H74.1917L73.9117 25.648C73.4824 26.4693 72.857 27.1227 72.0357 27.608C71.233 28.0933 70.2904 28.336 69.2077 28.336ZM79.7188 28L84.7588 21.056L79.7188 14.112H83.5548L87.0828 19.04L90.5828 14.112H94.4468L89.3788 21.056L94.4468 28H90.5828L87.0828 23.072L83.5548 28H79.7188ZM102.918 28C101.462 28 100.295 27.6453 99.4182 26.936C98.5408 26.2267 98.1022 24.9667 98.1022 23.156V17.108H95.7222V14.112H98.1022L98.5222 10.388H101.686V14.112H105.438V17.108H101.686V23.184C101.686 23.856 101.826 24.3227 102.106 24.584C102.405 24.8267 102.909 24.948 103.618 24.948H105.354V28H102.918Z"
Expand Down
4 changes: 2 additions & 2 deletions docs/content/1.get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ description: A dependency and two lines of config and you'll be ready to go.
```

::alert{type="info"}
Discover more configuration options in the [module configuration](./configuration) ->
Discover more configuration options in the [module configuration](/configuration) ->
::

::alert{type="success"}
✨ Well done! You're ready to start developing with Prismic & Nuxt 3.

- [Check out the guides for basic usage](./guides/basics/fetching-content) ->
- [Check out the guides for basic usage](/guides/basics/fetching-content) ->
- [Check out Prismic official documentation for more](https://prismic.io/docs/technologies/nuxt) ->
::
4 changes: 1 addition & 3 deletions docs/content/2.guides/1.basics/2.templating-content.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,5 @@ The module injects multiple components to template Prismic data. By default, the
```

::alert{type="info"}

Learn more about injected components in the [`@prismicio/vue` documentation](https://prismic.io/docs/technical-reference/prismicio-vue?version=v3&utm_campaign=devexp&utm_source=nuxt3doc&utm_medium=doc#components-usage)

Learn more about injected components in the [`@prismicio/vue` documentation](https://prismic.io/docs/technical-reference/prismicio-vue?version=v3&utm_campaign=devexp&utm_source=nuxt3doc&utm_medium=doc#components-usage) ->
::
2 changes: 1 addition & 1 deletion docs/content/2.guides/2.advanced/1.custom-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ export default createClient('my-repository')
```

::alert{type="info"}
The default path (`~/app/prismic/client`) can be changed with the `client` option. See the [module configuration](./configuration#client) ->
The default path (`~/app/prismic/client`) can be changed with the `client` option. See the [module configuration](/configuration#client) ->
::
2 changes: 1 addition & 1 deletion docs/content/2.guides/2.advanced/2.link-resolver.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ export default (doc) => {
```

::alert{type="info"}
The default path (`~/app/prismic/linkResolver`) can be changed with the `linkResolver` option. See the [module configuration](./configuration#linkresolver) ->
The default path (`~/app/prismic/linkResolver`) can be changed with the `linkResolver` option. See the [module configuration](/configuration#linkresolver) ->
::
2 changes: 1 addition & 1 deletion docs/content/2.guides/2.advanced/3.html-serializer.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ export default {
```

::alert{type="info"}
The default path (`~/app/prismic/htmlSerializer`) can be changed with the `htmlSerializer` option. See the [module configuration](./configuration#htmlserializer) ->
The default path (`~/app/prismic/htmlSerializer`) can be changed with the `htmlSerializer` option. See the [module configuration](/configuration#htmlserializer) ->
::
2 changes: 1 addition & 1 deletion docs/content/2.guides/2.advanced/4.custom-preview-page.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ usePrismicPreview()
```

::alert{type="info"}
The default route (`/preview`) can be changed with the `preview` option. See the [module configuration](./configuration#preview) ->
The default route (`/preview`) can be changed with the `preview` option. See the [module configuration](/configuration#preview) ->
::
Loading

0 comments on commit 51affea

Please sign in to comment.