Skip to content

Commit 1718a5d

Browse files
committed
chore: fix docs deploy
1 parent 9f016d1 commit 1718a5d

File tree

9 files changed

+21
-21
lines changed

9 files changed

+21
-21
lines changed

.github/workflows/docs-v1.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ jobs:
4242
- name: Deploy to Netlify
4343
uses: nwtgck/[email protected]
4444
with:
45-
publish-dir: './docs/v1/.output'
46-
functions-dir: './docs/v1/.netlify'
45+
publish-dir: './docs/v1/dist'
46+
functions-dir: './docs/v1/.netlify/functions-internal'
4747
production-branch: main
4848
production-deploy: true
4949
github-token: ${{ secrets.GITHUB_TOKEN }}

docs/v1/content/1.guide/1.getting-started/2.how-it-works.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ an `app.vue` (or a layout file).
2020
Child components will inherent the parent Schema if nothing is defined, otherwise it will replace it.
2121

2222
The applications of this design can be used in creative ways, for example: if you have an article layout file, you can
23-
make use of `defineBreadcrumb` to have all articles generate [Breadcrumbs](/api/schema/breadcrumb).
23+
make use of `defineBreadcrumb` to have all articles generate [Breadcrumbs](/schema/breadcrumb).
2424

2525
## Global Resolves
2626

@@ -147,7 +147,7 @@ defineWebPage({
147147

148148
Route meta and document meta tags will be used to infer default Schema values.
149149

150-
For example, having a `document.title` can be inferred as the [WebPage](/api/schema/webpage) `title`.
150+
For example, having a `document.title` can be inferred as the [WebPage](/schema/webpage) `title`.
151151

152152
The following meta keys are supported:
153153

docs/v1/content/1.guide/guides/1.identity.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ While Schema.org provides detailed types, it's recommended to choose a single pr
1515
- Used for eCommerce as well
1616
- Example: nuxtjs.org, vuejs.org
1717

18-
Using `defineOrganization` or `SchemaOrgOrganization` by default will set your identity to an [Organization](/api/schema/organization).
18+
Using `defineOrganization` or `SchemaOrgOrganization` by default will set your identity to an [Organization](/schema/organization).
1919

2020
::code-group
2121

@@ -52,7 +52,7 @@ useSchemaOrg([
5252
- Personal brands
5353
- Example: harlanzw.com, antfu.me
5454

55-
Using `definePerson` or `SchemaOrgPerson` by default will set your identity to a [Person](/api/schema/person).
55+
Using `definePerson` or `SchemaOrgPerson` by default will set your identity to a [Person](/schema/person).
5656

5757
::code-group
5858

@@ -86,10 +86,10 @@ useSchemaOrg([
8686
## Local Business
8787

8888
- Physical businesses, requires an address
89-
- Extends an [Organization](/api/schema/organization)
89+
- Extends an [Organization](/schema/organization)
9090
- Example: onacoffee.com.au, intracbr.com.au
9191

92-
Using `defineLocalBusiness` or `SchemaOrgLocalBusiness` by default will set your identity to a [LocalBusiness](/api/schema/local-business).
92+
Using `defineLocalBusiness` or `SchemaOrgLocalBusiness` by default will set your identity to a [LocalBusiness](/schema/local-business).
9393

9494
::code-group
9595

@@ -134,19 +134,19 @@ useSchemaOrg([
134134

135135
Setting an identity will also cause default inferences to be made about the Schema your register:
136136

137-
[Articles](/api/schema/article)
137+
[Articles](/schema/article)
138138

139139
- publisher is the identity
140140
- authored by the identity
141141

142-
[Product](/api/schema/product)
142+
[Product](/schema/product)
143143

144144
- brand is the identity
145145

146-
[WebPage](/api/schema/webpage)
146+
[WebPage](/schema/webpage)
147147

148148
- home page uses the identity for `about`
149149

150-
[WebSite](/api/schema/website)
150+
[WebSite](/schema/website)
151151

152152
- publisher is the identity

docs/v1/content/1.guide/guides/2.user-config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Notes:
5252

5353
- **default**: `undefined`
5454

55-
Will set the `priceCurrency` for [Product](/api/schema/product) Offer Schema. Should be a valid currency code, i.e `AUD`
55+
Will set the `priceCurrency` for [Product](/schema/product) Offer Schema. Should be a valid currency code, i.e `AUD`
5656

5757

5858
## Types

docs/v1/content/1.guide/recipes/blog.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ by helping Google optimise how your site is shown.
1616

1717
## Marking up an Article
1818

19-
The [defineArticle](/api/schema/article) function and [SchemaOrgArticle](/components/) component are provided
19+
The [defineArticle](/schema/article) function and [SchemaOrgArticle](/guide/guides/components) component are provided
2020
to create Article Schema whilst handling relations for you.
2121

2222
Note that some fields may already be inferred, see [Route Meta Resolving](/guide/how-it-works.html#route-meta-resolving)
@@ -49,7 +49,7 @@ useSchemaOrg([
4949

5050
Providing a sub-level type of Article can help clarify what kind of content the page is about.
5151

52-
See the [Article Sub-Types](/api/schema/article.html#sub-types) for the list of available types.
52+
See the [Article Sub-Types](/schema/article.html#sub-types) for the list of available types.
5353

5454
::code-group
5555

docs/v1/content/1.guide/recipes/breadcrumbs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Creating breadcrumbs on your site is a great way to help your users understand y
1313

1414
## Marking up Breadcrumbs
1515

16-
The [defineBreadcrumb](/api/schema/breadcrumb) function and [SchemaOrgBreadcrumb](/components/) component are provided
16+
The [defineBreadcrumb](/schema/breadcrumb) function and [SchemaOrgBreadcrumb](/guide/guides/components) component are provided
1717
to create Breadcrumb Schema whilst handling relations for you.
1818

1919

docs/v1/content/1.guide/recipes/e-commerce.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ title: eCommerce
1010

1111
## Useful Links
1212

13-
- [defineProduct](/api/schema/product)
13+
- [defineProduct](/schema/product)
1414
- [Product | Google Search Central](https://developers.google.com/search/docs/advanced/structured-data/product)
1515
- [Product | Yoast](https://developer.yoast.com/features/schema/pieces/product)
1616

1717
## Marking up a Product
1818

19-
The [defineProduct](/api/schema/product) function and [SchemaOrgProduct](/components/) component are provided
19+
The [defineProduct](/schema/product) function and [SchemaOrgProduct](/guide/guides/components) component are provided
2020
to create Product Schema whilst handling relations for you.
2121

2222
Note that some fields may already be inferred, see [Route Meta Resolving](/guide/how-it-works.html#route-meta-resolving)

docs/v1/content/1.guide/recipes/faq.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ your faq pages search appearance.
1111

1212
## Useful Links
1313

14-
- [defineQuestion](/api/schema/question.md)
14+
- [defineQuestion](/schema/question.md)
1515
- [FAQ Page | Google Search Central](https://developers.google.com/search/docs/advanced/structured-data/faqpage)
1616
- [Question Schema | Yoast](https://developer.yoast.com/features/schema/pieces/question)
1717

1818
## Marking up FAQs
1919

20-
The [defineQuestion](/api/schema/question) function and [SchemaOrgQuestion](/components/) component are provided
20+
The [defineQuestion](/schema/question) function and [SchemaOrgQuestion](/guide/guides/components) component are provided
2121
to create Question Schema whilst handling relations for you.
2222

2323
Note: When using a page with the path `/faq`, the page type will be automatically set for you.

docs/v1/content/1.guide/recipes/site-search.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ useSchemaOrg([
4747

4848
## Define your Search Results Page
4949

50-
Using your [WebPage](/api/schema/webpage) Schema, you can define the page as a search results page.
50+
Using your [WebPage](/schema/webpage) Schema, you can define the page as a search results page.
5151

5252
::code-group
5353

0 commit comments

Comments
 (0)