-
-
Notifications
You must be signed in to change notification settings - Fork 96
Migrate docs from Docusaurus to Astro/Starlight #507
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+6,687
−16,212
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
4b61f8b
docs: scaffold Astro + Starlight project replacing Docusaurus
alexeyzimarev 2c88327
docs: add custom components and migrate all current docs content
alexeyzimarev 616fff0
docs: add version 0.15 docs and enable starlight-versions plugin
alexeyzimarev 60f3b58
docs: update CLAUDE.md for Astro/Starlight docs setup
alexeyzimarev 85d084f
docs: fix plugin ordering and prometheus code block warnings
alexeyzimarev ca4a518
docs: fix homepage by renaming intro.mdx to index.mdx
alexeyzimarev 3ecbe88
docs: flatten subdirectory index files to fix sidebar nesting
alexeyzimarev 187d874
docs: replace Docusaurus dinosaur logo with Eventuous logo
alexeyzimarev b9a5b21
docs: group sidebar into Concepts, Building Apps, and Operations
alexeyzimarev 954923d
docs: replace Algolia DocSearch with Starlight built-in search
alexeyzimarev 6bd214b
docs: add hero splash homepage with feature cards
alexeyzimarev 9e0cab9
docs: convert Docusaurus admonition syntax to Starlight format
alexeyzimarev 3e7b02a
docs: collapse sidebar groups by default
alexeyzimarev a28d9b4
docs: fix ThemedImage dark mode CSS and v0.15 broken links
alexeyzimarev 31c8666
docs: add v0.15 homepage to fix 404 on version switch
alexeyzimarev 518639b
docs: make v0.15 the default version, preview docs under /next/
alexeyzimarev 861626c
docs: shorten version label to 'v0.15' to fit selector
alexeyzimarev 795361d
docs: widen version selector to fit 'v0.15 (Stable)' label
alexeyzimarev 2b9dcd8
docs: set accent color to match Eventuous logo blue
alexeyzimarev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| node_modules/ | ||
| dist/ | ||
| .astro/ |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,70 @@ | ||
| import { defineConfig } from 'astro/config'; | ||
| import starlight from '@astrojs/starlight'; | ||
| import starlightVersions from 'starlight-versions'; | ||
| import starlightMermaid from '@pasqal-io/starlight-client-mermaid'; | ||
|
|
||
| export default defineConfig({ | ||
| site: 'https://eventuous.dev', | ||
| integrations: [ | ||
| starlight({ | ||
| title: 'Eventuous', | ||
| logo: { | ||
| src: './src/assets/logo.png', | ||
| }, | ||
| social: [ | ||
| { icon: 'github', label: 'GitHub', href: 'https://github.com/eventuous/eventuous' }, | ||
| { icon: 'discord', label: 'Discord', href: 'https://discord.gg/ZrqM6vnnmf' }, | ||
| ], | ||
| customCss: ['./src/styles/custom.css'], | ||
| plugins: [ | ||
| starlightVersions({ | ||
| current: { label: 'v0.15 (Stable)' }, | ||
| versions: [{ slug: 'next', label: 'Preview' }], | ||
| }), | ||
| starlightMermaid(), | ||
qodo-free-for-open-source-projects[bot] marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| ], | ||
| sidebar: [ | ||
| { label: 'Introduction', slug: 'intro' }, | ||
| { label: "What's New", slug: 'whats-new' }, | ||
| { | ||
| label: 'Concepts', | ||
| collapsed: true, | ||
| items: [ | ||
| { label: 'Prologue', autogenerate: { directory: 'prologue' } }, | ||
| { label: 'Domain', autogenerate: { directory: 'domain' } }, | ||
| { label: 'Persistence', autogenerate: { directory: 'persistence' } }, | ||
| ], | ||
| }, | ||
| { | ||
| label: 'Building Apps', | ||
| collapsed: true, | ||
| items: [ | ||
| { label: 'Application', autogenerate: { directory: 'application' } }, | ||
| { label: 'Subscriptions', autogenerate: { directory: 'subscriptions' } }, | ||
| { label: 'Read Models', autogenerate: { directory: 'read-models' } }, | ||
| { label: 'Producers', autogenerate: { directory: 'producers' } }, | ||
| { label: 'Gateway', autogenerate: { directory: 'gateway' } }, | ||
| ], | ||
| }, | ||
| { | ||
| label: 'Operations', | ||
| collapsed: true, | ||
| items: [ | ||
| { label: 'Diagnostics', autogenerate: { directory: 'diagnostics' } }, | ||
| { label: 'Infrastructure', autogenerate: { directory: 'infra' } }, | ||
| { label: 'FAQ', autogenerate: { directory: 'faq' } }, | ||
| ], | ||
| }, | ||
| ], | ||
| head: [ | ||
| { | ||
| tag: 'link', | ||
| attrs: { rel: 'icon', href: '/favicon.ico', sizes: '32x32' }, | ||
| }, | ||
| ], | ||
| editLink: { | ||
| baseUrl: 'https://github.com/eventuous/eventuous/edit/dev/docs/', | ||
| }, | ||
| }), | ||
| ], | ||
| }); | ||
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2. Docs base path unclear
🐞 Bug✓ CorrectnessAgent Prompt
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools