Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/plugins/ralphjsmit-seo.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ docs_url: https://raw.githubusercontent.com/ralphjsmit/laravel-filament-seo/main
github_repository: ralphjsmit/laravel-filament-seo
has_dark_theme: true
has_translations: true
versions: [2, 3]
versions: [2, 3, 4]
publish_date: 2023-07-17
---
21 changes: 9 additions & 12 deletions docs/sync.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,9 @@ versions.forEach((version) => {

let result = data.replace(
'---',
`---\nlayout: "@layouts/BaseLayout.astro"\ngithubUrl: https://github.com/filamentphp/filament/edit/${file.replace(
'filament/',
'',
).replace(/\\/g, "/")}"`,
`---\nlayout: "@layouts/BaseLayout.astro"\ngithubUrl: https://github.com/filamentphp/filament/edit/${file
.replace('filament/', '')
.replace(/\\/g, '/')}"`,
)

fs.writeFile(
Expand Down Expand Up @@ -238,10 +237,9 @@ versions.forEach((version) => {

let result = data.replace(
'---',
`---\nlayout: "@layouts/BaseLayout.astro"\ngithubUrl: "https://github.com/filamentphp/filament/edit/${file.replace(
'filament/',
'',
).replace(/\\/g, "/")}"`,
`---\nlayout: "@layouts/BaseLayout.astro"\ngithubUrl: "https://github.com/filamentphp/filament/edit/${file
.replace('filament/', '')
.replace(/\\/g, '/')}"`,
)

fs.writeFile(
Expand Down Expand Up @@ -379,10 +377,9 @@ versions.forEach((version) => {

let result = data.replace(
'---',
`---\nlayout: "@layouts/BaseLayout.astro"\ngithubUrl: "https://github.com/filamentphp/filament/edit/${file.replace(
'filament/',
'',
).replace(/\\/g, "/")}"`,
`---\nlayout: "@layouts/BaseLayout.astro"\ngithubUrl: "https://github.com/filamentphp/filament/edit/${file
.replace('filament/', '')
.replace(/\\/g, '/')}"`,
)

fs.writeFile(
Expand Down
Loading