Thanks for helping improve House of Stake! Most content updates do not require a local setup — you can edit files on GitHub and open a pull request (PR). A preview build will be posted on your PR after CI finishes.
- Find the file
- On the live site, click the "Edit this page" button in the header to jump to the exact file in GitHub.
- Or browse files directly in the repository.
- Edit
- Click the pencil icon to edit in your browser.
- For new content:
- Docs: Add a Markdown file in the correct folder under
docs/. - Blog: Add a file in
blog/namedYYYY-MM-DD-your-slug.md.
- Docs: Add a Markdown file in the correct folder under
- Open a pull request
- Add a short description of what changed and click "Propose changes".
- CI builds a preview and comments the link on your PR (previews from forks may need maintainer approval).
- Review and merge
- Maintainers review, suggest fixes if needed, and merge when ready.
-
Homepage content:
src/content/homepage.md- One YAML frontmatter document controls homepage sections; toggle with
visible: true|false. - Validated at build time by
src/shared/homepageContentSchema.tsvia the custom plugin inplugins/homepage-content/.
- One YAML frontmatter document controls homepage sections; toggle with
-
Docs:
docs/- One topic per Markdown file (
.md). Use a top-level# Titleand short sections. - Sidebar items are configured in
sidebars.ts(add your new doc to the appropriate categoryitems). - Images: keep near the doc in
docs/<section>/assets/, or usestatic/img/and link as/img/<file>.
- One topic per Markdown file (
-
Blog:
blog/- File name:
YYYY-MM-DD-your-slug.md - Frontmatter example:
--- title: Your Post Title description: One-line summary authors: [houseofstake] tags: [update] ---
- Authors live in
blog/authors.yml.
- File name:
-
Legal:
legal/*.mdx- MDX content rendered by wrappers in
src/pages/*.tsx. - Optional frontmatter:
title,lastUpdated.
- MDX content rendered by wrappers in
- Prefer clear headings, short paragraphs, and bullet points.
- Link to deeper references rather than duplicating large sections.
- Clearly label examples.
- Node.js 18+
- Install:
npm ci(oryarn install) - Dev server:
npm run start - Typecheck:
npm run typecheck - Build:
npm run build - Serve build:
npm run serve
Notes
- Edit links are mapped in
src/components/homepage/Header.tsx(pluseditUrlindocusaurus.config.ts). Keep these in sync if branch/org changes.
- PRs are built by GitHub Actions; a preview URL is commented on the PR.
- Production deploy runs on
mainand publishes togh-pages. ACNAMEongh-pagesis respected if present.
- Open an issue: https://github.com/houseofstake/houseofstake.org/issues/new
Thank you for contributing!