Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,8 @@ Full documentation is available at **[spacetimedb.com/docs](https://spacetimedb.
- [Core concepts](https://spacetimedb.com/docs/core-concepts): tables, reducers, subscriptions, authentication
- [Tutorials](https://spacetimedb.com/docs/tutorials/chat-app): chat app, Unity multiplayer, Unreal Engine multiplayer
- [Deployment guide](https://spacetimedb.com/docs/how-to/deploy/maincloud): publishing to Maincloud
- [CLI reference](https://spacetimedb.com/docs/reference/cli-reference)
- [SQL reference](https://spacetimedb.com/docs/reference/sql-reference)
- [CLI reference](https://spacetimedb.com/docs/cli-reference)
- [SQL reference](https://spacetimedb.com/docs/reference/sql)

## License

Expand Down
2 changes: 1 addition & 1 deletion crates/bindings-csharp/Codegen/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
>
> This project is intended for internal use only. It is **not** stable and may change without notice.

See the [C# module library reference](https://spacetimedb.com/docs/modules/c-sharp) for stable, user-facing documentation.
See the [C# module library reference](https://spacetimedb.com/docs/core-concepts) for stable, user-facing documentation.

## Internal documentation

Expand Down
2 changes: 1 addition & 1 deletion crates/bindings-csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
>
> The interface of this project is **not** stable and may change without notice.

See the [C# module library reference](https://spacetimedb.com/docs/modules/c-sharp) and the [C# client SDK reference](https://spacetimedb.com/docs/sdks/c-sharp) for stable, user-facing documentation.
See the [C# module library reference](https://spacetimedb.com/docs/core-concepts) and the [C# client SDK reference](https://spacetimedb.com/docs/clients/c-sharp) for stable, user-facing documentation.

## Internal documentation

Expand Down
2 changes: 1 addition & 1 deletion crates/bindings-csharp/Runtime/Attrs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public abstract class ColumnAttribute : Attribute
/// so that any row permitted by at least one filter is visible.
///
/// The query follows the same syntax as a subscription query.
/// See the <see href="https://spacetimedb.com/docs/sql">SQL reference</see> for more information.
/// See the <see href="https://spacetimedb.com/docs/reference/sql">SQL reference</see> for more information.
///
/// This is an experimental feature and subject to change in the future.
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion crates/bindings-csharp/Runtime/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# SpacetimeDB.Runtime

This project contains the runtime bindings for SpacetimeDB WebAssembly modules. See the [C# module library reference](https://spacetimedb.com/docs/modules/c-sharp) for stable, user-facing documentation.
This project contains the runtime bindings for SpacetimeDB WebAssembly modules. See the [C# module library reference](https://spacetimedb.com/docs/core-concepts) for stable, user-facing documentation.

SpacetimeDB modules are compiled to WebAssembly modules that expose a specific interface; see the [module ABI reference](https://spacetimedb.com/docs/webassembly-abi).

Expand Down
14 changes: 7 additions & 7 deletions crates/bindings/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Rust modules are written with the the Rust Module Library (this crate). They are

(Note: Rust can also be used to write **clients** of SpacetimeDB databases, but this requires using a different library, the SpacetimeDB Rust Client SDK. See the documentation on [clients] for more information.)

This reference assumes you are familiar with the basics of Rust. If you aren't, check out Rust's [excellent documentation](https://www.rust-lang.org/learn). For a guided introduction to Rust Modules, see the [Rust Module Quickstart](https://spacetimedb.com/docs/modules/rust/quickstart).
This reference assumes you are familiar with the basics of Rust. If you aren't, check out Rust's [excellent documentation](https://www.rust-lang.org/learn). For a guided introduction to Rust Modules, see the [Rust Module Quickstart](https://spacetimedb.com/docs/quickstarts/rust).

## Overview

Expand Down Expand Up @@ -334,7 +334,7 @@ pub struct LootItem {

(Note that, when run by the module owner, the `spacetime sql <SQL_QUERY>` command can also read private tables. This is for debugging convenience. Only the module owner can see these tables. This is determined by the `Identity` stored by the `spacetime login` command. Run `spacetime login show` to print your current logged-in `Identity`.)

To learn how to subscribe to a public table, see the [client SDK documentation](https://spacetimedb.com/docs/sdks). <!-- TODO: more specific link. -->
To learn how to subscribe to a public table, see the [client SDK documentation](https://spacetimedb.com/docs/clients). <!-- TODO: more specific link. -->

#### Unique and Primary Key Columns

Expand Down Expand Up @@ -697,8 +697,8 @@ Currently, manual migration support is limited. The `spacetime publish --delete-
[macro library]: https://github.com/clockworklabs/SpacetimeDB/tree/master/crates/bindings-macro
[module library]: https://github.com/clockworklabs/SpacetimeDB/tree/master/crates/lib
[demo]: /#demo
[client]: https://spacetimedb.com/docs/#client
[clients]: https://spacetimedb.com/docs/#client
[client SDK documentation]: https://spacetimedb.com/docs/#client
[host]: https://spacetimedb.com/docs/#host
[SEQUENCE]: https://spacetimedb.com/docs/appendix#sequence
[client]: https://spacetimedb.com/docs/intro/key-architecture#client
[clients]: https://spacetimedb.com/docs/intro/key-architecture#client
[client SDK documentation]: https://spacetimedb.com/docs/clients
[host]: https://spacetimedb.com/docs/intro/key-architecture#host
[SEQUENCE]: https://spacetimedb.com/docs/tables/auto-increment#sequences
4 changes: 2 additions & 2 deletions crates/bindings/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ pub use spacetimedb_bindings_macro::table;
/// <!-- TODO: SLAs? -->
///
/// [`&ReducerContext`]: `ReducerContext`
/// [clients]: https://spacetimedb.com/docs/#client
/// [clients]: https://spacetimedb.com/docs/intro/key-architecture#client
#[doc(inline)]
pub use spacetimedb_bindings_macro::reducer;

Expand Down Expand Up @@ -777,7 +777,7 @@ pub use spacetimedb_bindings_macro::reducer;
/// Scheduled procedures are called on a best-effort basis and may be slightly delayed in their execution
/// when a database is under heavy load.
///
/// [clients]: https://spacetimedb.com/docs/#client
/// [clients]: https://spacetimedb.com/docs/intro/key-architecture#client
// TODO(procedure-async): update docs and examples with `async`-ness.
#[doc(inline)]
pub use spacetimedb_bindings_macro::procedure;
Expand Down
2 changes: 1 addition & 1 deletion crates/codegen/src/csharp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ const REDUCER_EVENTS: &str = r#"
/// Data from all the provided queries will be returned at the same time.
///
/// See the SpacetimeDB SQL docs for more information on SQL syntax:
/// <a href="https://spacetimedb.com/docs/sql">https://spacetimedb.com/docs/sql</a>
/// <a href="https://spacetimedb.com/docs/reference/sql">https://spacetimedb.com/docs/reference/sql</a>
/// </summary>
public SubscriptionHandle Subscribe(
string[] querySqls
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1531,7 +1531,7 @@ namespace SpacetimeDB
/// Data from all the provided queries will be returned at the same time.
///
/// See the SpacetimeDB SQL docs for more information on SQL syntax:
/// <a href="https://spacetimedb.com/docs/sql">https://spacetimedb.com/docs/sql</a>
/// <a href="https://spacetimedb.com/docs/reference/sql">https://spacetimedb.com/docs/reference/sql</a>
/// </summary>
public SubscriptionHandle Subscribe(
string[] querySqls
Expand Down
4 changes: 2 additions & 2 deletions demo/Blackholio/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Need help with the tutorial? [Join our Discord server](https://discord.gg/spacet
---

### **Getting Started**
If you want to follow a more structured tutorial where it shows you how to set everything up, start with our [Blackholio Tutorial](https://spacetimedb.com/docs/unity/part-1).
If you want to follow a more structured tutorial where it shows you how to set everything up, start with our [Blackholio Tutorial](https://spacetimedb.com/docs/tutorials/unity/part-1).

If you just want to checkout the final project and play around a bit, follow these steps:

Expand Down Expand Up @@ -79,7 +79,7 @@ Blackholio/
### **Requirements**
- **Unity**: Version `2021.2` or newer.
- **Rust**: Version `1.65.0` or later (for the SpacetimeDB server module).
- **SpacetimeDB CLI**: Installed via [SpacetimeDB installation guide](https://spacetimedb.com/docs/install).
- **SpacetimeDB CLI**: Installed via [SpacetimeDB installation guide](https://spacetimedb.com/install).

---

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: 3 - Gameplay
slug: /tutorials/Godot/part-3
slug: /tutorials/godot/part-3
---

import Tabs from '@theme/Tabs';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: 4 - Moving and Colliding
slug: /tutorials/Godot/part-4
slug: /tutorials/godot/part-4
---

import Tabs from '@theme/Tabs';
Expand Down
7 changes: 7 additions & 0 deletions docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import systemd from 'shiki/langs/systemd.mjs';
import ogTheme from 'shiki/themes/dracula.mjs';
import cpp from 'shiki/langs/cpp.mjs';
import { InkeepConfig } from '@inkeep/cxkit-docusaurus';
import { redirects } from './redirects';

// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)

Expand Down Expand Up @@ -233,6 +234,12 @@ const config: Config = {
} satisfies Preset.ThemeConfig,

plugins: [
[
'@docusaurus/plugin-client-redirects',
{
redirects,
},
],
[
'@inkeep/cxkit-docusaurus',
{
Expand Down
Loading
Loading