Skip to content

Commit 0d64ef4

Browse files
author
Nathan Flurry
committed
feat: product heroes, accent theming, and generated skills
1 parent 38e7ddd commit 0d64ef4

177 files changed

Lines changed: 119 additions & 14861 deletions

File tree

Some content is hidden

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

.github/actions/sync-docs/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# sync-docs
22

33
Publishes a product repo's `docs/` bundle to
4-
[rivet-website](https://github.com/rivet-dev/rivet-website).
4+
[rivet-website](https://github.com/rivet-dev/website).
55

66
Docs live in the repo that owns the product; the website symlinks a sibling
77
checkout in local dev and reads `vendor/<product>/` in CI. This action is the
@@ -24,7 +24,7 @@ jobs:
2424
runs-on: ubuntu-latest
2525
steps:
2626
- uses: actions/checkout@v4
27-
- uses: rivet-dev/rivet-website/.github/actions/sync-docs@main
27+
- uses: rivet-dev/website/.github/actions/sync-docs@main
2828
with:
2929
product: agentos # must match DOCS_SOURCES in the website
3030
token: ${{ secrets.RIVET_WEBSITE_TOKEN }}
@@ -51,5 +51,5 @@ is the intended shape; `GITHUB_TOKEN` cannot reach another repository.
5151
| `product` | — | Required. Must match a key in the website's `DOCS_SOURCES`. |
5252
| `token` | — | Required. Write access to rivet-website. |
5353
| `source` | `docs` | Bundle path in this repo. |
54-
| `website-repo` | `rivet-dev/rivet-website` | Override for forks. |
54+
| `website-repo` | `rivet-dev/website` | Override for forks. |
5555
| `auto-merge` | `true` | Set `false` to review each sync. |

.github/actions/sync-docs/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ inputs:
1010
required: true
1111
token:
1212
description: >-
13-
Token with contents+pull-requests write on rivet-dev/rivet-website. A
13+
Token with contents+pull-requests write on rivet-dev/website. A
1414
GitHub App installation token scoped to that one repo is the intended
1515
shape; the default GITHUB_TOKEN cannot reach another repository.
1616
required: true
@@ -21,7 +21,7 @@ inputs:
2121
website-repo:
2222
description: Repository that publishes the docs.
2323
required: false
24-
default: rivet-dev/rivet-website
24+
default: rivet-dev/website
2525
extra-paths:
2626
description: >-
2727
Additional repo-root-relative paths to ship, whitespace separated. Snippet

.github/workflows/skills.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
# a copy: change the docs, and the skill changes on the next push to main.
66
#
77
# To test this workflow:
8-
# 1. Trigger manually: gh workflow run skills.yml --repo rivet-dev/rivet-website
9-
# 2. Watch execution: gh run watch --repo rivet-dev/rivet-website
10-
# 3. Check failures: gh run view --repo rivet-dev/rivet-website --log-failed
8+
# 1. Trigger manually: gh workflow run skills.yml --repo rivet-dev/website
9+
# 2. Watch execution: gh run watch --repo rivet-dev/website
10+
# 3. Check failures: gh run view --repo rivet-dev/website --log-failed
1111
# 4. Verify contents: gh api repos/rivet-dev/skills/contents --jq '.[].name'
1212
# 5. Latest commit: gh api repos/rivet-dev/skills/commits --jq '.[0].commit.message'
1313

@@ -80,7 +80,7 @@ jobs:
8080
8181
One skill per Rivet product, plus the example projects its documentation
8282
embeds. Every file here is generated from the docs by
83-
[rivet-dev/rivet-website](https://github.com/rivet-dev/rivet-website)
83+
[rivet-dev/website](https://github.com/rivet-dev/website)
8484
(`.github/workflows/skills.yml`) and replaced wholesale on each publish.
8585
8686
Edits made here are overwritten. To change a skill, change the product's
@@ -100,6 +100,6 @@ jobs:
100100
if git diff --staged --quiet; then
101101
echo "No changes to commit"
102102
else
103-
git commit -m "chore: update skills from rivet-dev/rivet-website@${{ github.sha }}"
103+
git commit -m "chore: update skills from rivet-dev/website@${{ github.sha }}"
104104
git push
105105
fi

astro.config.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import sentry from "@sentry/astro";
77
// The docs MDX pipeline (react + mdx + remark/rehype/Shiki) and route
88
// generation, inlined from the former @rivet-dev/docs-theme package.
99
import { docsPipeline } from './src/integrations/docs-pipeline';
10-
import { skillVersion } from './src/integrations/skill-version';
1110
import { redirects } from './redirects.mjs';
1211

1312
// Wildcard sub-path redirects (`wildcardRedirects` in redirects.mjs) are applied
@@ -40,7 +39,6 @@ export default defineConfig({
4039
// markdown (.md) remark/rehype + syntaxHighlight:false are configured by
4140
// docsPipeline()'s markdown integration; .mdx is handled by its mdx().
4241
integrations: [
43-
skillVersion(),
4442
...docsPipeline(),
4543
tailwind({
4644
applyBaseStyles: false,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,6 @@
9696
"license": "Apache-2.0",
9797
"repository": {
9898
"type": "git",
99-
"url": "https://github.com/rivet-dev/rivet-website.git"
99+
"url": "https://github.com/rivet-dev/website.git"
100100
}
101101
}

public/docs/actors/docs.md

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

public/docs/actors/docs/access-control.md

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

public/docs/actors/docs/actions.md

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

public/docs/actors/docs/actor-runtime-socket.md

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

public/docs/actors/docs/appearance.md

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

0 commit comments

Comments
 (0)