Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
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
31 changes: 31 additions & 0 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
groups:
actions-minor:
update-types:
- minor
- patch

- package-ecosystem: "npm"
directory: "/website"
schedule:
interval: "weekly"
groups:
npm-minor:
update-types:
- minor
- patch

- package-ecosystem: "cargo"
directory: "/"
schedule:
interval: "weekly"
groups:
cargo-minor:
update-types:
- minor
- patch
10 changes: 10 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
name: rust

permissions:
contents: read

on:
workflow_dispatch:
push:
branches: [main]
pull_request:
paths:
- '!website/**'

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

env:
CARGO_TERM_COLOR: always
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
name: RPC Tests

permissions:
contents: read

on:
workflow_dispatch:
push:
branches: [main, release/**]
pull_request:
paths:
- '!website/**'

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
test:
Expand Down
48 changes: 48 additions & 0 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Linting website

permissions:
contents: read

on:
workflow_dispatch:
pull_request:
paths:
- 'website/**'

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
website-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5

- name: Setup Bun
uses: oven-sh/setup-bun@v2

- name: Get Bun cache directory
id: bun-cache-dir
run: echo "dir=$(bun pm cache)" >> ${GITHUB_OUTPUT}

- name: Cache Bun dependencies
uses: actions/cache@v4
with:
path: |
${{ steps.bun-cache-dir.outputs.dir }}
~/.bun/install/cache
key: ${{ runner.os }}-bun-lint-${{ hashFiles('**/bun.lockb', '**/package.json', '**/bun.lock') }}
restore-keys: |
${{ runner.os }}-bun-lint-
${{ runner.os }}-bun-

- name: Install website dependencies
run: cd website && bun install --frozen-lockfile

- name: Check MDX
run: cd website && bun linter

- name: Build website
run: cd website && bun run build
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ target/
test_snapshots/
.stellar/
.vscode/
.idea/
.DS_Store
4 changes: 2 additions & 2 deletions crates/stellar-registry-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,5 +167,5 @@ Publishing and deploying are exactly the same as other networks, except now you

## See Also

- [Registry Guide](../../docs/registry.md) - Detailed guide on using the registry system
- [Environment Configuration](../../docs/environments.md) - Configuration details for different networks
- [Registry Guide](../../website/docs/registry.md) - Detailed guide on using the registry system
- [Environment Configuration](../../website/docs/environments.md) - Configuration details for different networks
3 changes: 0 additions & 3 deletions docs/deploy.md

This file was deleted.

20 changes: 20 additions & 0 deletions website/.gitignore
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this folder be website or something to that effect? to avoid docs/docs paths?

Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Dependencies
/node_modules

# Production
/build

# Generated files
.docusaurus
.cache-loader

# Misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
13 changes: 13 additions & 0 deletions website/.prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
module.exports = {
...require("@stellar/prettier-config"),
// This is mostly content, and prose wrap has a way of exploding markdown
// diffs. Override the default for a better experience.
overrides: [
{
files: ["*.mdx", "*.md"],
options: {
proseWrap: "never",
},
},
],
};
33 changes: 33 additions & 0 deletions website/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Website

This website is built using [Docusaurus](https://docusaurus.io/), a modern static website generator.

## Installation

```bash
bun install
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this all work with npm or do you have to use bun?

```

## Local Development

```bash
bun start
```

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

## Build

```bash
bun run build
```

This command generates static content into the `build` directory and can be served using any static contents hosting service.

## Deployment

```bash
USE_SSH=true bun run deploy
```

We are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.
14 changes: 14 additions & 0 deletions website/blog/2025-10-07-hello-soroban.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
slug: hello-stellar
title: Welcome to Scaffold Stellar
authors: [tupui]
tags: [scaffold, official]
---

We have a website!

Scaffold Stellar is getting its own website. You will be able to find our documentation, some tutorials and from time to time we will have guest blog posts showing how they use Scaffold in their projects. We are also thinking about setting up a gallery to show great projects from the community built with Scaffold.

Stay tuned!

<!-- truncate -->
10 changes: 10 additions & 0 deletions website/blog/authors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
tupui:
name: Pamphile Roy
title: Principal Engineer at The Aha Company
url: https://linkedin.com/in/tupui
image_url: https://github.com/tupui.png
page: true
socials:
x: PamphileRoy
linkedin: tupui
github: tupui
9 changes: 9 additions & 0 deletions website/blog/tags.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
scaffold:
label: Scaffold
permalink: /scaffold
description: Scaffold Stellar

official:
label: Official
permalink: /official
description: Official news about Scaffold Stellar
Loading