Skip to content

Commit c147c70

Browse files
authored
Remove storyblok and related pages (#189)
* Remove Stackables Meraki and AIWarp pages Signed-off-by: Leonardo Rossi <[email protected]> * remove pages Signed-off-by: Leonardo Rossi <[email protected]> * remove pages, storyblok references, implement static home page Signed-off-by: Leonardo Rossi <[email protected]> * Add missing index page sections Signed-off-by: Leonardo Rossi <[email protected]> * fix build errors Signed-off-by: Leonardo Rossi <[email protected]> --------- Signed-off-by: Leonardo Rossi <[email protected]>
1 parent 154d448 commit c147c70

File tree

106 files changed

+1923
-4657
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+1923
-4657
lines changed

.github/workflows/deploy.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ jobs:
2828
secrets:
2929
GH_API_TOKEN: ${{ secrets.GH_API_TOKEN }}
3030
TARGET_REPO: ${{ secrets.TARGET_REPO }}
31-
STORYBLOK_ACCESS_TOKEN: ${{ secrets.STORYBLOK_ACCESS_TOKEN }}
3231
repository-dispatch:
3332
if: (github.event_name == 'repository_dispatch' && github.event.action == 'update_docs')
3433
uses: platformatic/docs/.github/workflows/rebuild-and-deploy-docs.yml@main
@@ -39,7 +38,6 @@ jobs:
3938
secrets:
4039
GH_API_TOKEN: ${{ secrets.GH_API_TOKEN }}
4140
TARGET_REPO: ${{ secrets.TARGET_REPO }}
42-
STORYBLOK_ACCESS_TOKEN: ${{ secrets.STORYBLOK_ACCESS_TOKEN }}
4341
workflow-dispatch:
4442
if: (github.event_name == 'workflow_dispatch')
4543
uses: platformatic/docs/.github/workflows/rebuild-and-deploy-docs.yml@main
@@ -50,4 +48,3 @@ jobs:
5048
secrets:
5149
GH_API_TOKEN: ${{ secrets.GH_API_TOKEN }}
5250
TARGET_REPO: ${{ secrets.TARGET_REPO }}
53-
STORYBLOK_ACCESS_TOKEN: ${{ secrets.STORYBLOK_ACCESS_TOKEN }}

.github/workflows/rebuild-and-deploy-docs.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ on:
3232
TARGET_REPO:
3333
description: "The repo where Docusaurus is"
3434
required: true
35-
STORYBLOK_ACCESS_TOKEN:
36-
description: "Storyblok access token"
37-
required: true
3835
jobs:
3936
build-and-publish:
4037
runs-on: ubuntu-latest
@@ -56,7 +53,6 @@ jobs:
5653
env:
5754
TARGET_REPO: ${{ secrets.TARGET_REPO }}
5855
GH_API_TOKEN: ${{ secrets.GH_API_TOKEN }}
59-
STORYBLOK_ACCESS_TOKEN: ${{ secrets.STORYBLOK_ACCESS_TOKEN }}
6056
- name: Print current versions
6157
run: |
6258
echo "Remote versions: ${{ steps.check.outputs.remote-versions }}"
@@ -69,7 +65,6 @@ jobs:
6965
env:
7066
TARGET_REPO: ${{ secrets.TARGET_REPO }}
7167
GH_API_TOKEN: ${{ secrets.GH_API_TOKEN }}
72-
STORYBLOK_ACCESS_TOKEN: ${{ secrets.STORYBLOK_ACCESS_TOKEN }}
7368
- name: Push commit
7469
if: inputs.original_event == 'push_on_main' || inputs.force || steps.check.outputs.needs-update == 'true'
7570
uses: stefanzweifel/git-auto-commit-action@v4

App.js

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

docusaurus.config.js

Lines changed: 0 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -183,43 +183,6 @@ const config = {
183183
sidebarId: 'Learn',
184184
label: 'Learn'
185185
},
186-
187-
{
188-
type: 'dropdown',
189-
position: 'left',
190-
label: 'Features',
191-
items: [
192-
{
193-
to: '/service',
194-
label: 'Service'
195-
},
196-
{
197-
to: '/database',
198-
label: 'DB'
199-
},
200-
{
201-
to: '/composer',
202-
label: 'Composer'
203-
},
204-
205-
{
206-
to: '/aiwarp',
207-
label: 'AI-Warp'
208-
},
209-
{
210-
to: '/stackables',
211-
label: 'Stackables'
212-
},
213-
{
214-
to: '/watt',
215-
label: 'Watt'
216-
},
217-
{
218-
to: '/caching',
219-
label: 'Caching'
220-
}
221-
]
222-
},
223186
{
224187
type: 'doc',
225188
docId: 'Overview',
@@ -237,26 +200,6 @@ const config = {
237200
}
238201
]
239202
},
240-
// {
241-
// href: "https://www.platformatic.dev",
242-
// label: "About",
243-
// position: "left",
244-
// },
245-
{
246-
type: 'dropdown',
247-
position: 'left',
248-
label: 'Powered by',
249-
items: [
250-
{
251-
to: '/fastify',
252-
label: 'Fastify'
253-
},
254-
{
255-
to: '/nodejs',
256-
label: 'Node.js'
257-
}
258-
]
259-
},
260203
{
261204
href: 'https://platformatichq.com',
262205
label: 'For Teams',

package-lock.json

Lines changed: 1 addition & 45 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
"@docusaurus/preset-classic": "^3.5.1",
2424
"@docusaurus/types": "^3.5.1",
2525
"@mdx-js/react": "^3.0.1",
26-
"@storyblok/react": "^3.0.10",
2726
"buffer": "^6.0.3",
2827
"clsx": "^1.2.1",
2928
"concurrently": "^9.0.1",
@@ -44,7 +43,6 @@
4443
"react-dom": "^18.3.1",
4544
"react-lottie-player": "^2.1.0",
4645
"semver": "^7.6.3",
47-
"storyblok-rich-text-react-renderer": "^2.9.2",
4846
"tailwindcss": "^3.4.10",
4947
"undici": "^6.19.7"
5048
},

plugins/custom-webpack/index.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,6 @@ module.exports = function customWebpackPlugin () {
1919
new webpack.ProvidePlugin({
2020
process: 'process/browser',
2121
Buffer: ['buffer', 'Buffer']
22-
}),
23-
new webpack.DefinePlugin({
24-
'process.env.STORYBLOK_ACCESS_TOKEN': JSON.stringify(
25-
process.env.STORYBLOK_ACCESS_TOKEN
26-
),
27-
'process.env.BASE_URL': JSON.stringify(process.env.BASE_URL)
2822
})
2923
]
3024
}

src/components/BuildApi.js

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

src/components/CodeBlockWithCopy.js

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

0 commit comments

Comments
 (0)