Skip to content

Commit

Permalink
feat: remove v6.3 (#360)
Browse files Browse the repository at this point in the history
* feat: remove v6.3

* fix: remove from navigation

* fix: increase to 12GB

* feat: test patch

* fix: pnpm version
  • Loading branch information
bojanrajh committed Sep 18, 2024
1 parent 23dd1dd commit 2b1a34d
Show file tree
Hide file tree
Showing 10 changed files with 372 additions and 122 deletions.
2 changes: 1 addition & 1 deletion .github/actions/checkout-install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ runs:
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 8
version: 9

- name: Install system (Playwright requirements)
shell: bash
Expand Down
10 changes: 0 additions & 10 deletions .github/scripts/embed.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ BRANCH_DOCS=main
BRANCH_DOCS_67=next-6.7
BRANCH_DOCS_65=v6.5
BRANCH_DOCS_64=v6.4
BRANCH_DOCS_63=v6.3.0
BRANCH_FRONTENDS=DX-devhub
BRANCH_ADMIN_EXTENSION_SDK=dx-devhub-admin-sdk
BRANCH_METEOR_ICON_KIT=dx/devhub-icon-kit
Expand All @@ -18,7 +17,6 @@ ORG_DOCS=shopware
ORG_DOCS_67=shopware
ORG_DOCS_65=shopware
ORG_DOCS_64=shopware
ORG_DOCS_63=shopware
ORG_FRONTENDS=shopware
ORG_ADMIN_EXTENSION_SDK=shopware
ORG_METEOR_ICON_KIT=shopware
Expand Down Expand Up @@ -65,14 +63,6 @@ fi
--dst docs/v6.4 \
--org ${ORG_DOCS_64:-shopware}

./docs-cli.cjs clone \
--ci \
--repository shopware/docs \
--branch ${BRANCH_DOCS_63:-main} \
--src . \
--dst docs/v6.3 \
--org ${ORG_DOCS_63:-shopware}

./docs-cli.cjs clone \
--ci \
--keep \
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ node_modules
__tests__/e2e/__image_snapshots__/
.act.env
bin/
src/.vite-inspect/
.vitepress/cache/
.vitepress/dist/
repos/
Expand Down
25 changes: 0 additions & 25 deletions .vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ const sections: SwagSectionsConfig[] = [
'/docs/v6.7/guides/plugins/apps/',
'/docs/v6.5/guides/plugins/apps/',
'/docs/v6.4/guides/plugins/apps/',
'/docs/v6.3/guides/plugins/apps/',
],
},
{
Expand All @@ -49,7 +48,6 @@ const sections: SwagSectionsConfig[] = [
'/docs/v6.7/guides/plugins/themes/',
'/docs/v6.5/guides/plugins/themes/',
'/docs/v6.4/guides/plugins/themes/',
'/docs/v6.3/guides/plugins/themes/',
],
},
{
Expand All @@ -60,7 +58,6 @@ const sections: SwagSectionsConfig[] = [
'/docs/v6.7/guides/plugins/plugins/',
'/docs/v6.5/guides/plugins/plugins/',
'/docs/v6.4/guides/plugins/plugins/',
'/docs/v6.3/guides/plugins/plugins/',
],
},
{
Expand All @@ -76,7 +73,6 @@ const sections: SwagSectionsConfig[] = [
'/docs/v6.7/concepts/',
'/docs/v6.5/concepts/',
'/docs/v6.4/concepts/',
'/docs/v6.3/concepts/',
],
},
{
Expand All @@ -86,7 +82,6 @@ const sections: SwagSectionsConfig[] = [
'/docs/v6.7/guides/',
'/docs/v6.5/guides/',
'/docs/v6.4/guides/',
'/docs/v6.3/guides/',
],
},
{
Expand All @@ -96,7 +91,6 @@ const sections: SwagSectionsConfig[] = [
'/docs/v6.7/products/',
'/docs/v6.5/products/',
'/docs/v6.4/products/',
'/docs/v6.3/products/',
],
},
{
Expand All @@ -106,7 +100,6 @@ const sections: SwagSectionsConfig[] = [
'/docs/v6.7/resources/',
'/docs/v6.5/resources/',
'/docs/v6.4/resources/',
'/docs/v6.3/resources/',
],
},
{
Expand Down Expand Up @@ -142,7 +135,6 @@ const embeds: SwagEmbedsConfig[] = [
'/docs/v6.7/': 'next-6.7',
'/docs/v6.5/': 'v6.5',
'/docs/v6.4/': 'v6.4',
'/docs/v6.3/': 'v6.3.0',
'/docs/': 'main',
},
folder: '.',
Expand Down Expand Up @@ -295,22 +287,19 @@ export default withMermaid(defineConfigWithTheme<ThemeConfig>({
'docs/v6.7/',
'docs/v6.5/',
'docs/v6.4/',
'docs/v6.3/',
],
},
'/docs/': {
exclude: [
'docs/v6.7/',
'docs/v6.5/',
'docs/v6.4/',
'docs/v6.3/',
],
},
'/docs/v6.7/': {
exclude: [
'docs/',
'docs/v6.4/',
'docs/v6.3/',
],
include: [
'docs/v6.7/',
Expand All @@ -321,7 +310,6 @@ export default withMermaid(defineConfigWithTheme<ThemeConfig>({
'docs/',
'docs/v6.7/',
'docs/v6.4/',
'docs/v6.3/',
],
include: [
'docs/v6.5/',
Expand All @@ -332,23 +320,11 @@ export default withMermaid(defineConfigWithTheme<ThemeConfig>({
'docs/v6.7/',
'docs/v6.5/',
'docs/',
'docs/v6.3/',
],
include: [
'docs/v6.4/',
]
},
'/docs/v6.3/': {
exclude: [
'docs/v6.7/',
'docs/v6.5/',
'docs/',
'docs/v6.4/',
],
include: [
'docs/v6.3/',
]
},
},
} as SwagSimilarArticlesConfig,
versionSwitcher: {
Expand All @@ -358,7 +334,6 @@ export default withMermaid(defineConfigWithTheme<ThemeConfig>({
'docs': 'v6.6 (stable)',
'docs/v6.5': 'v6.5',
'docs/v6.4': 'v6.4',
'docs/v6.3': 'v6.3',
}
]
} as SwagVersionSwitcherConfig,
Expand Down
1 change: 0 additions & 1 deletion .vitepress/navigation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ const navigation = buildSidebarNav('./src/', [
'/docs/v6.7/',
'/docs/v6.5/',
'/docs/v6.4/',
'/docs/v6.3/',
'/resources/admin-extension-sdk/',
//'/resources/meteor-component-library/',
'/', // always have root sidebar
Expand Down
16 changes: 0 additions & 16 deletions .vitepress/portal.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,22 +62,6 @@
"shopware"
]
},
{
"name": "shopware/docs",
"src": ".",
"dst": [
"docs",
"v6.3"
],
"branch": [
"env.BRANCH_DOCS_63",
"v6.3.0"
],
"org": [
"env.ORG_DOCS_63",
"shopware"
]
},
{
"name": "shopware/frontends",
"src": [
Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"cross-env": "^7.0.3",
"jsdom": "^24.1.1",
"terser": "^5.31.0",
"vite-bundle-visualizer": "^1.2.1",
"vitepress": "^1.3.4",
"vitepress-shopware-docs": "^1.3.0-alpha.16",
"vue": "^3.4.27"
Expand Down Expand Up @@ -119,6 +120,9 @@
"mkdirp",
"vite"
]
},
"patchedDependencies": {
"vite@5.4.2": "patches/vite@5.4.2.patch"
}
},
"engines": {
Expand Down
Loading

0 comments on commit 2b1a34d

Please # to comment.