Skip to content

Commit 02ff713

Browse files
Merge pull request #66 from Prisjakt/aj/cleanup-and-restructure
Update to docusaurus 3.0
2 parents 70998fe + 5c78cb4 commit 02ff713

File tree

15 files changed

+3909
-3488
lines changed

15 files changed

+3909
-3488
lines changed

docs/fields/offer/id.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Identifier should be unique for every product and not be changed or re-used for
3030
- Only **ascii** characters
3131
- Trailing whitespace characters are not allowed
3232
- Allowed characters: All ascii characters
33-
- Disallowed characters: "!, +, @, #, $, %, ^, &, *, <, >, ;, :"
33+
- Disallowed characters: `!` `+` `@` `#` `$` `%` `^` `&` `*` `<` `>` `;` `:`
3434

3535

3636
## Best Practices

docs/fields/offer/product_type.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ product_type -- can be used instead --- google_product_category
6262

6363
- Refrain from including categories such as "Apple," "Sale," or "Black Friday 2023."
6464
- If using a CSV file, do not use comma `,` within a single product_type entry. They will split the entry. For instance, `Home, Garden > Furniture > Living Room` will become two separate entries: `Home` and `Garden > Furniture > Living Room`.
65-
- When using XML, always use a distinct <product_type> tag for each category instead of combining them within one tag.
65+
- When using XML, always use a distinct &lt;product_type&rt; tag for each category instead of combining them within one tag.
6666

6767

6868

docs/overview/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ If you have [Google Merchant Product Feed](https://support.google.com/merchants/
2424

2525
## Check 3: Generate Your Own
2626

27-
- [ ] Generate a [feed](/types-of-feeds/pull/feed.md) in [xml format](/docs/types-of-feeds/pull/file-formats/xml.md) using our [examples](/examples/all) and [field specifications](/fields)
27+
- [ ] Generate a [feed](/types-of-feeds/pull/feed.md) in [xml format](/docs/types-of-feeds/pull/file-formats/xml.md) using our [examples](/examples/offer/all) and [field specifications](/fields)
2828
- [ ] Large volumes? Generate a [delta feed](/types-of-feeds/pull/delta-feeds.md)

docs/terminology/required-vs-optional.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import ChangeLog from '@site/src/components/changelog';
1313

1414
There are some fields, we *simply cannot be without* such as a link to your offer, a price and an title. If any of these fields are missing, your **whole offer** will be omitted.
1515

16-
The following fields are required for an offer to show, you can see an example of the minimal required fields in action [here](/examples/minimal)
16+
The following fields are required for an offer to show, you can see an example of the minimal required fields in action [here](/examples/offer/minimal)
1717

1818
- [Availability](/fields/offer/availability.md)
1919
- [Condition](/fields/offer/condition.md)

docusaurus.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// @ts-check
22
// Note: type annotations allow type checking and IDEs autocompletion
33

4-
const lightCodeTheme = require('prism-react-renderer/themes/github');
5-
const darkCodeTheme = require('prism-react-renderer/themes/dracula');
4+
const lightCodeTheme = require('prism-react-renderer').themes.github;
5+
const darkCodeTheme = require('prism-react-renderer').themes.dracula;
66

77
/** @type {import('@docusaurus/types').Config} */
88
const config = {

package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,24 @@
1515
"typecheck": "tsc"
1616
},
1717
"dependencies": {
18-
"@docusaurus/core": "^2.3.1",
19-
"@docusaurus/plugin-client-redirects": "2.3.1",
20-
"@docusaurus/plugin-google-gtag": "^2.3.1",
21-
"@docusaurus/preset-classic": "^2.3.1",
22-
"@docusaurus/theme-mermaid": "^2.3.1",
23-
"@mdx-js/react": "^1.6.22",
24-
"clsx": "^1.2.1",
25-
"docusaurus-lunr-search": "^2.3.2",
26-
"eta": "^2.0.0",
27-
"prism-react-renderer": "^1.3.5",
28-
"react": "^17.0.2",
29-
"react-dom": "^17.0.2",
30-
"react-markdown": "^8.0.4"
18+
"@docusaurus/core": "^3.1.1",
19+
"@docusaurus/plugin-client-redirects": "^3.1.1",
20+
"@docusaurus/plugin-google-gtag": "^3.1.1",
21+
"@docusaurus/preset-classic": "^3.1.1",
22+
"@docusaurus/theme-mermaid": "^3.1.1",
23+
"@mdx-js/react": "^3.0.1",
24+
"clsx": "^2.1.0",
25+
"docusaurus-lunr-search": "^3.3.2",
26+
"eta": "^3.2.0",
27+
"prism-react-renderer": "^2.3.1",
28+
"react": "^18.2.0",
29+
"react-dom": "^18.2.0",
30+
"react-markdown": "^9.0.1"
3131
},
3232
"devDependencies": {
33-
"@docusaurus/module-type-aliases": "^2.3.1",
33+
"@docusaurus/module-type-aliases": "^3.1.1",
3434
"@tsconfig/docusaurus": "^1.0.5",
35-
"typescript": "^4.7.4"
35+
"typescript": "^5.4.2"
3636
},
3737
"browserslist": {
3838
"production": [
@@ -47,6 +47,6 @@
4747
]
4848
},
4949
"engines": {
50-
"node": ">=16.14"
50+
"node": ">=18.0"
5151
}
5252
}

src/theme/SearchBar/DocSearch.js

Lines changed: 0 additions & 297 deletions
This file was deleted.

0 commit comments

Comments
 (0)