Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
162446d
start of beta.16 docs
Adammatthiesen Apr 16, 2025
840b915
add updated label in sidebar
Adammatthiesen Apr 16, 2025
720df22
add run to npm command
Adammatthiesen Apr 16, 2025
f3f3ff4
add new guides
Adammatthiesen Apr 16, 2025
8dfb203
update translations
Adammatthiesen Apr 16, 2025
568ad41
add upgrade docs
Adammatthiesen Apr 16, 2025
da9eaee
link to self-hosted guide
Adammatthiesen Apr 16, 2025
803946a
update links
Adammatthiesen Apr 16, 2025
e6d2f99
add skip2 to sidebar
Adammatthiesen Apr 16, 2025
26f57ae
update landing page video
Adammatthiesen Apr 16, 2025
d9a6d2e
add: translations mini guide
dreyfus92 Apr 17, 2025
75bdae2
fix link
Adammatthiesen Apr 17, 2025
c381a43
update file structure
Adammatthiesen Apr 17, 2025
7500bfd
update badge
Adammatthiesen Apr 17, 2025
7e0fbcb
add process info and notes
Adammatthiesen Apr 17, 2025
b91693e
update
Adammatthiesen Apr 17, 2025
8d5f860
remove unused dep
Adammatthiesen Apr 17, 2025
1ee4ebb
fix changelogs
Adammatthiesen Apr 17, 2025
b7254cc
Merge branch 'main' into studiocms-beta.16
Adammatthiesen Apr 17, 2025
b208fc5
cleanup
Adammatthiesen Apr 17, 2025
81aeaaf
update
Adammatthiesen Apr 17, 2025
0364737
add sort order
Adammatthiesen Apr 17, 2025
9cb07f4
collapse the version guides by default
Adammatthiesen Apr 17, 2025
fb4bbc6
relocate files
Adammatthiesen Apr 17, 2025
5ba0b18
update
Adammatthiesen Apr 17, 2025
8a7a34f
update links
Adammatthiesen Apr 17, 2025
b4e4c5c
disable edit url for release notes
Adammatthiesen Apr 17, 2025
36cfce5
Merge branch 'main' into studiocms-beta.16
Adammatthiesen Apr 17, 2025
ffe2ee1
fix
Adammatthiesen Apr 17, 2025
8426266
update to pre-released versions
Adammatthiesen Apr 17, 2025
406f20c
Update guides descriptions and guide index
Adammatthiesen Apr 17, 2025
9da2048
add badge
Adammatthiesen Apr 17, 2025
77886a3
update
Adammatthiesen Apr 17, 2025
c38466d
fix spelling
Adammatthiesen Apr 17, 2025
72daa63
update deps
Adammatthiesen Apr 17, 2025
a1a8582
update
Adammatthiesen Apr 17, 2025
020cbe7
fix cap
Adammatthiesen Apr 17, 2025
859c3a0
update
Adammatthiesen Apr 17, 2025
f4c9831
test
Adammatthiesen Apr 18, 2025
c051e63
latest guide system
Adammatthiesen Apr 18, 2025
11e8160
attempt fix
Adammatthiesen Apr 18, 2025
3148dd4
update lunaria
Adammatthiesen Apr 18, 2025
4a710c3
fix?
Adammatthiesen Apr 18, 2025
3be5b19
add exclude rule
Adammatthiesen Apr 18, 2025
1f5e542
add note with coolify gist
Adammatthiesen Apr 18, 2025
e6837ef
Merge branch 'main' into studiocms-beta.16
Adammatthiesen Apr 18, 2025
ee31284
fix file structure
Adammatthiesen Apr 18, 2025
6528d01
add note
Adammatthiesen Apr 18, 2025
41fed0a
update link
Adammatthiesen Apr 18, 2025
ab6cc90
make more dynamic
Adammatthiesen Apr 18, 2025
8692213
update url
Adammatthiesen Apr 18, 2025
a03f815
update submodule to main
Adammatthiesen Apr 18, 2025
0c9941d
update
Adammatthiesen Apr 18, 2025
9b20230
fix knip
Adammatthiesen Apr 18, 2025
d0ab17e
update
Adammatthiesen Apr 18, 2025
4bacf44
update to use new studiocms add command
Adammatthiesen Apr 18, 2025
f77eeb2
Apply suggestions from code review
Adammatthiesen Apr 18, 2025
4fad690
cleanup
Adammatthiesen Apr 18, 2025
aed2494
update
Adammatthiesen Apr 18, 2025
91b16e2
Update src/content/docs/en/how-it-works/cli.mdx
Adammatthiesen Apr 18, 2025
3471b6e
Update src/content/docs/en/guides/contributing/translations.mdx
Adammatthiesen Apr 18, 2025
1693d8a
remove old link plugin
Adammatthiesen Apr 18, 2025
8ddc1c3
fix
Adammatthiesen Apr 18, 2025
fbc63d1
fix wording
Adammatthiesen Apr 18, 2025
6db1071
feat: specify that Crowdin is used for packages
trueberryless Apr 18, 2025
de4c3d1
Apply suggestions from code review
Adammatthiesen Apr 18, 2025
6745542
Update src/content/docs/en/guides/contributing/translations.mdx
Adammatthiesen Apr 18, 2025
4f2802e
Merge branch 'main' into studiocms-beta.16
Adammatthiesen Apr 18, 2025
5adc2b0
i18n(ko-KR): create `how-it-works/index.mdx` (#88)
jsparkdev Apr 18, 2025
85eccb5
i18n(ko-KR): create `sdk.mdx` (#89)
jsparkdev Apr 18, 2025
1eeac6e
i18n(ko-KR): create `translations.mdx` (#90)
jsparkdev Apr 18, 2025
f1bd37a
fix
Adammatthiesen Apr 18, 2025
11c4765
Merge branch 'main' into studiocms-beta.16
Adammatthiesen Apr 18, 2025
1d8679c
Merge branch 'main' into studiocms-beta.16
Adammatthiesen Apr 18, 2025
17da620
update packages to official release status
Adammatthiesen Apr 20, 2025
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
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,9 @@ pnpm-debug.log*
# TypeDoc documentation
src/content/docs/en/typedoc/

# Changelogs

src/content/docs/en/guides/upgrade/release-notes.md

# Eleventy cache
.cache/
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,24 @@
"Coolify",
"devapps",
"foldertree",
"genpkey",
"inox",
"libsql",
"lunariajs",
"markdoc",
"mergebot",
"pagefind",
"pkey",
"prototools",
"pubout",
"seti",
"shiki",
"shikijs",
"sponsorcolors",
"sqld",
"studiocms",
"turso",
"tursodatabase",
"twoslash",
"withstudiocms"
]
Expand Down
78 changes: 62 additions & 16 deletions astro.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import starlightSidebarTopics from 'starlight-sidebar-topics';
import getCoolifyURL from './hostUtils.ts';
import rehypePlugins from './src/plugins/rehypePluginKit.ts';
import { typeDocPlugins } from './typedoc.config.ts';
import { getTranslations } from './starlight-sidebar/translate.ts';
import { getTranslations } from './src/starlight-sidebar/translate.ts';
import { devServerFileWatcher } from './src/integrations/dev-file-watcher.ts';
import { remarkFallbackLang } from './src/plugins/remark-fallback-pages.ts';

Expand All @@ -20,7 +20,8 @@ const linkValidator = process.env.CHECK_LINKS
errorOnFallbackPages: false,
errorOnInconsistentLocale: true,
// Exclude TypeDoc paths as they contain auto-generated content with many internal links
exclude: ['/*/typedoc/**/*'],
// Exclude the dynamically generated latest guide redirect page
exclude: ['/*/typedoc/**/*', '/*/guides/upgrade/latest/'],
}),
]
: [];
Expand Down Expand Up @@ -59,7 +60,7 @@ export default defineConfig({
'./hostUtils.ts',
'./typedoc.config.ts',
'./starlight-types.ts',
'./starlight-sidebar/*',
'./src/starlight-sidebar/*',
'./src/content.ts',
'./src/share-link.ts',
'./src/util/*.ts',
Expand Down Expand Up @@ -89,14 +90,18 @@ export default defineConfig({
},
defaultLocale: 'en',
locales,
social: {
github: 'https://github.com/withstudiocms/studiocms',
discord: 'https://chat.studiocms.dev',
youtube: 'https://www.youtube.com/@StudioCMS',
'x.com': 'https://x.com/withstudiocms',
blueSky: 'https://bsky.app/profile/studiocms.dev',
openCollective: 'https://opencollective.com/StudioCMS',
},
social: [
{ label: 'GitHub', icon: 'github', href: 'https://github.com/withstudiocms/studiocms' },
{ label: 'Discord', icon: 'discord', href: 'https://chat.studiocms.dev' },
{ label: 'YouTube', icon: 'youtube', href: 'https://www.youtube.com/@StudioCMS' },
{ label: 'Twitter / X', icon: 'x.com', href: 'https://x.com/withstudiocms' },
{ label: 'BlueSky', icon: 'blueSky', href: 'https://bsky.app/profile/studiocms.dev' },
{
label: 'Open Collective',
icon: 'openCollective',
href: 'https://opencollective.com/StudioCMS',
},
],
customCss: [
'@studiocms/ui/css/global.css',
'./src/styles/sponsorcolors.css',
Expand Down Expand Up @@ -159,11 +164,6 @@ export default defineConfig({
translations: getTranslations('start-here'),
autogenerate: { directory: 'start-here' },
},
{
label: getTranslations('contributing').en,
translations: getTranslations('contributing'),
autogenerate: { directory: 'contributing' },
},
{
label: getTranslations('how-it-works').en,
translations: getTranslations('how-it-works'),
Expand All @@ -181,6 +181,52 @@ export default defineConfig({
},
],
},
{
label: getTranslations('topic-guides').en,
link: '/guides/',
icon: 'rocket',
id: 'guides',
badge: {
text: 'NEW',
variant: 'success',
},
items: [
{
label: getTranslations('contributing').en,
translations: getTranslations('contributing'),
autogenerate: { directory: 'guides/contributing' },
},
{
label: getTranslations('upgrade').en,
translations: getTranslations('upgrade'),
items: [
{
slug: 'guides/upgrade/release-notes',
},
{
label: getTranslations('latest').en,
translations: getTranslations('latest'),
link: 'guides/upgrade/latest',
badge: {
text: 'Link',
variant: 'note',
},
},
{
label: getTranslations('version').en,
translations: getTranslations('version'),
collapsed: true,
autogenerate: { directory: 'guides/upgrade/version-guides' },
},
],
},
{
label: getTranslations('database').en,
translations: getTranslations('database'),
autogenerate: { directory: 'guides/database' },
},
],
},
{
label: getTranslations('topic-package-catalog'),
link: '/package-catalog/',
Expand Down
4 changes: 2 additions & 2 deletions hostUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ function splitListAndSelectFirst(list: string) {
/**
* Get the Domain of the Coolify URL from the coolify runtime environment
*
* Requires the COOLIFY_FQDN environment variable to be set as per the coolify docs:
* Requires the COOLIFY_URL environment variable to be set as per the coolify docs:
*
* @see https://coolify.io/docs/knowledge-base/environment-variables#predefined-variables
*/
const getCoolifyURL = (returnHttps?: boolean) => {
const urlList = process.env.COOLIFY_DOMAIN_FQDN;
const urlList = process.env.COOLIFY_URL;
if (!urlList) {
return undefined;
}
Expand Down
1 change: 1 addition & 0 deletions knip.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const config: KnipConfig = {
'@studiocms/devapps',
'@studiocms/mdx',
'@studiocms/markdoc',
'@studiocms/wysiwyg',
'@astrojs/node',
'@astrojs/react',
'sharp',
Expand Down
4 changes: 2 additions & 2 deletions lunaria.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ export default defineConfig({
type: 'dictionary',
},
{
include: ['starlight-sidebar/*.json'],
pattern: 'starlight-sidebar/@lang.json',
include: ['src/starlight-sidebar/*.json'],
pattern: 'src/starlight-sidebar/@lang.json',
type: 'dictionary',
},
{
Expand Down
41 changes: 24 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,44 +7,46 @@
"node": "20.14.0"
},
"scripts": {
"dev": "astro dev",
"dev": "pnpm gen-changelogs && astro dev",
"start": "astro dev",
"check": "astro check",
"build": "astro build",
"build": "pnpm gen-changelogs && astro build",
"preview": "astro preview",
"astro": "astro",
"lunaria:build": "tsm --require=./scripts/filter-warnings.cjs ./scripts/lunaria.mts",
"knip": "knip",
"ci:install": "pnpm install --frozen-lockfile",
"ci:build": "pnpm build",
"ci:lunaria:build": "pnpm lunaria:build",
"ci:lunaria:report": "pnpm tsm --require=./scripts/filter-warnings.cjs ./scripts/lunaria-report-bot.ts"
"ci:lunaria:report": "pnpm tsm --require=./scripts/filter-warnings.cjs ./scripts/lunaria-report-bot.ts",
"gen-changelogs": "tsm --require=./scripts/filter-warnings.cjs ./scripts/generate-release-notes.ts"
},
"dependencies": {
"studiocms": "0.1.0-beta.13",
"@studiocms/blog": "0.1.0-beta.13",
"@studiocms/devapps": "0.1.0-beta.13",
"studiocms": "0.1.0-beta.16",
"@studiocms/blog": "0.1.0-beta.16",
"@studiocms/devapps": "0.1.0-beta.16",
"@studiocms/ui": "^0.4.16",
"@studiocms/mdx": "0.1.0-beta.13",
"@studiocms/markdoc": "0.1.0-beta.13",
"@studiocms/mdx": "0.1.0-beta.16",
"@studiocms/markdoc": "0.1.0-beta.16",
"@studiocms/wysiwyg": "^0.1.0-experimental.3",
"@actions/core": "^1.11.1",
"astro": "^5.5.4",
"astro": "^5.7.2",
"@astrojs/check": "^0.9.4",
"@astrojs/starlight": "^0.32.4",
"@astrojs/db": "^0.14.8",
"@astrojs/node": "^9.1.3",
"@astrojs/starlight": "^0.34.0",
"@astrojs/db": "^0.14.11",
"@astrojs/node": "^9.2.0",
"@astrojs/web-vitals": "^3.0.1",
"@astrojs/react": "^4.2.1",
"@astrojs/react": "^4.2.4",
"sharp": "^0.33.5",
"typescript": "^5.8.2",
"astro-integration-kit": "^0.18.0",
"knip": "^5.46.0",
"tsm": "^2.3.0",
"@biomejs/biome": "1.9.4",
"@lunariajs/core": "https://pkg.pr.new/lunariajs/lunaria/@lunariajs/core@4c8b9b0",
"expressive-code-twoslash": "^0.4.0",
"expressive-code-twoslash": "^0.5.0",
"@shikijs/colorized-brackets": "^3.2.1",
"starlight-package-managers": "^0.10.0",
"starlight-package-managers": "^0.11.0",
"@11ty/eleventy-fetch": "^5.0.2",
"starlight-sidebar-topics": "^0.6.0",
"@types/hast": "^3.0.4",
Expand All @@ -55,7 +57,7 @@
"typedoc-plugin-markdown": "^4.6.0",
"typedoc-plugin-frontmatter": "^1.3.0",
"typedoc-plugin-zod": "^1.4.0",
"starlight-image-zoom": "^0.11.1",
"starlight-image-zoom": "^0.12.0",
"starlight-links-validator": "^0.16.0",
"hastscript": "^9.0.1",
"hast-util-to-string": "^3.0.1",
Expand All @@ -71,6 +73,11 @@
"@docsearch/js": "^3.6.0",
"fast-glob": "^3.3.3",
"@types/mdast": "^4.0.4",
"unist-util-visit": "^5.0.0"
"unist-util-visit": "^5.0.0",
"mdast-util-to-markdown": "^2.1.2",
"mdast-util-from-markdown": "^2.0.2",
"mdast-util-to-string": "^4.0.0",
"semver": "^7.7.1",
"@types/semver": "^7.7.0"
}
}
Loading
Loading