Commit Graph

124 Commits

Author SHA1 Message Date
rekhoff f64524b016 Merge branch 'tyler/unity-blackhol.io-tutorial' of https://github.com/clockworklabs/spacetime-docs into tyler/unity-blackhol.io-tutorial 2025-01-16 08:30:55 -08:00
Tyler Cloutier dddf6fa796 Try mdx 2025-01-15 23:50:29 -05:00
Tyler Cloutier 96710dab99 Blackholio Tutorial Update (#128)
* First commit to test images

* Progress on the unity tutorial

* moar docs

* Part 3 incoming

* Part 3 and almost part 4!

* Finalized part 4 and deleted unused files

* Small fixes and clarifications

* Review typos and fixes

* Fixed link validation for images

* Removed the reference to an image which is going to be moving

* Fixed the tsconfig issue (it was not actually using the tsconfig)

* Shortened titles

* Just testing something

* Undo change

* Consistent headers

* Commenting out images for now

* Missed an image
2025-01-15 21:12:20 -05:00
Tyler Cloutier f7caa05c24 Missed an image 2025-01-15 20:37:40 -05:00
Tyler Cloutier b7953926fc Commenting out images for now 2025-01-15 20:35:39 -05:00
Tyler Cloutier eb2a619cbd Consistent headers 2025-01-15 00:16:02 -05:00
Tyler Cloutier b46336f8d1 Undo change 2025-01-15 00:14:13 -05:00
Tyler Cloutier 5250bae485 Just testing something 2025-01-15 00:11:43 -05:00
Tyler Cloutier aa92f02c27 Shortened titles 2025-01-14 23:43:20 -05:00
Tyler Cloutier 9ddd85f2eb Fixed the tsconfig issue (it was not actually using the tsconfig) 2025-01-14 23:40:35 -05:00
Tyler Cloutier 15dc195d08 Removed the reference to an image which is going to be moving 2025-01-14 21:57:11 -05:00
Tyler Cloutier 2da03117d2 Fixed link validation for images 2025-01-14 21:52:15 -05:00
Tyler Cloutier 08658c927b Review typos and fixes 2025-01-14 20:33:22 -05:00
Tyler Cloutier 3bbca0d85b Small fixes and clarifications 2025-01-14 13:27:06 -05:00
Tyler Cloutier ea9dfb68c5 Finalized part 4 and deleted unused files 2025-01-13 23:22:15 -05:00
Tyler Cloutier d6437d09d4 Part 3 and almost part 4! 2025-01-12 21:43:40 -05:00
Tyler Cloutier 24cab0bee1 Part 3 incoming 2025-01-11 19:09:49 -05:00
Tyler Cloutier ad17fe1f98 moar docs 2025-01-10 00:40:38 -05:00
james gilles bade25de08 Add vocabulary to style guide, update index.md accordingly (#126)
* Add vocabulary to style guide, update index.md accordingly

* s/runs/hosts/

* Update STYLE.md

Co-authored-by: Phoebe Goldman <phoebe@goldman-tribe.org>

* Rewrite 'Reducer'

---------

Co-authored-by: Phoebe Goldman <phoebe@goldman-tribe.org>
2025-01-08 14:09:11 -05:00
Tyler Cloutier 01dab424c9 Progress on the unity tutorial 2025-01-08 00:07:51 -05:00
Tyler Cloutier 9cd749065c First commit to test images 2025-01-07 18:55:59 -05:00
Tyler Cloutier a19cc48a18 Fix missing tick marks in Rust quickstart (#124)
Fixed missing tick marks in rust quickstart
2025-01-07 16:57:58 -05:00
Ingvar Stepanyan f2c0869db3 Describe how to define multiple tables with the same type (#113)
* Describe how to define multiple tables with the same type

Fixes #90.

Co-authored-by: Phoebe Goldman <phoebe@goldman-tribe.org>

---------

Co-authored-by: Phoebe Goldman <phoebe@goldman-tribe.org>
2025-01-06 21:12:47 +00:00
Tyler Cloutier 639b9269fe Switches to a canonical GitHub slugger format so that our slugs always match links generated on GitHub (#123)
Standardized slugging across docs and web
2025-01-03 16:06:09 -05:00
james gilles e09444959e Rewrite index.md (#111)
* Start rewriting index.md

* Docs rewrite

* Typo, SQL, more sales talk

* Address comments

* Finish addressing comments

* Update docs/index.md

Co-authored-by: Phoebe Goldman <phoebe@goldman-tribe.org>

* Address comments

* Clarify Identity section

* Fix links, clarify deployment section

---------

Co-authored-by: Phoebe Goldman <phoebe@goldman-tribe.org>
2025-01-03 14:30:18 -05:00
Tyler Cloutier 48bab90a41 Added a script to check the validity of docs links and a .github action (#122)
* Added a script to check the validity of docs links and a .github action

* Removed erroneous thing

* Switched the action trigger

* Added workflow to ensure that the nav.ts has been built to nav.js

* typo

* Build nav.ts

* typo thing

* Fixed script issue

* Fix

* Fixed a few links

* Added relative link resolution and fixed the broken links

* now checking fragments

* Now checking fragments properly and publishing some stats

* Forgot exit code

* Fix broken links

Well, in at least some cases, just remove broken links.

- The BSATN ref contained links to type defns, but didn't have type defns.
  Replace the links with plain text.
- HTTP database links for recovery-code related routes were getting mangled
  in some way I couldn't figure out, so the links weren't working
  despite their targets clearly existing.
  Conveniently, those routes have been removed,
  so remove the links and the corresponding sections.
- The JSON doc (erroneously called "SATN") contained typos,
  spelling "producttype" as "productype".
- C# SDK ref had links to a section on the `Address` type, but no such section.
  Replace the links with plain text.
- Rust SDK ref had a link getting mangled in a way I couldn't figure out.
  Simplify the section title so that the anchor name is predictable.
- TypeSciprt SDK ref used camelCase names in anchor links,
  but we downcase all section titles to create anchor names.

Also slap a section in README.md which says how to run the checker locally.

---------

Co-authored-by: Phoebe Goldman <phoebe@goldman-tribe.org>
2025-01-03 00:44:00 -05:00
Tyler Cloutier 85c137ca90 Added .DS_store to the .gitignore 2024-12-31 17:05:13 -05:00
Phoebe Goldman 0557d0ef4e Style guide for our docs (#110)
* WIP style guide for our docs

* More style

* Style: tutorials

* Add Tyler's suggestion re: avoiding passive voice

Co-authored-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com>

* Fill in grammar todos

---------

Co-authored-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com>
2024-11-26 10:57:41 -05:00
Phoebe Goldman 88eeb1c235 Add note about integer literal type inference (#100)
Companion to https://github.com/clockworklabs/SpacetimeDB/pull/1815

Also fix surrounding example code and text: you filter on indices, not columns.
2024-10-22 10:49:41 -04:00
Tyler Cloutier 89ab48cd9d Whitespace (#98) 2024-10-04 12:47:39 -04:00
Tyler Cloutier d8e7baa9d6 Added migration guide for v0.12 (#95)
* Added initial migration guide for v0.12

* My C# additions so far

* [v0.12-migration-guide]: build and style fixes

* Polished migration guide

* [v0.12-migration-guide]: docs update

* [v0.12-migration-guide]: C# TODOs

* [v0.12-migration-guide]: review

---------

Co-authored-by: John Detter <4099508+jdetter@users.noreply.github.com>
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2024-10-04 02:39:05 -04:00
John Detter 151039d8a2 Update rust index page for 0.12 (#89)
* Updated rust quickstart for 0.12

* Suggested tweaks

* Initial updates to the index file

* More updates to index, rolled back changes from another PR I'm working on

* Small improvements

---------

Co-authored-by: John Detter <no-reply@boppygames.gg>
2024-10-03 02:32:41 -05:00
John Detter aba173904e Updated rust quickstart for 0.12 (#88)
* Updated rust quickstart for 0.12

* Suggested tweaks

---------

Co-authored-by: John Detter <no-reply@boppygames.gg>
2024-10-03 02:32:27 -05:00
Phoebe Goldman 0fa848c818 Update Rust SDK ref for the new SDK (#93) 2024-10-02 12:35:23 -04:00
Phoebe Goldman 4267878a52 I didn't notice that auto-merge was enabled, so here's my review (#94) 2024-10-02 12:09:32 -04:00
John Detter 2a0ba3d07e Rust client quickstart updated for 0.12 (#92)
* Rust client updated for 0.12

* Small update

* More updates

* Final pass

---------

Co-authored-by: John Detter <no-reply@boppygames.gg>
2024-10-02 11:59:09 -04:00
Muthsera a749ccb3a8 Fixed code examples in rust reference regarding insertion (#42) 2024-09-24 11:54:25 -04:00
Arrel Neumiller 59a90c6793 Update part-2b-c-sharp.md (#75)
The intent is to throw an exception if the player already exists, not the other way 'round.
2024-09-24 11:35:13 -04:00
Egor Gavrilov 53d27b4ea6 Fix typo in modules/rust/index.md (#83)
Person -> Unique (because that belongs to `Unique` table)
2024-09-24 11:34:20 -04:00
Tyler Cloutier bb057fc220 Update quickstart.md (#84) 2024-09-24 11:33:31 -04:00
Puru Vijay 6412318479 prettier (#85)
Push
2024-09-19 12:38:41 +05:30
John Detter 9aad24ebd0 Fix broken tutorial package link (#86) 2024-09-16 11:08:13 -05:00
ike709 5631393053 Explicitly remind the reader to start the server (#43) 2024-08-29 17:55:13 -04:00
Mats Bennervall 61f427df9a Update Rust Quickstart to use correct function to find User (#80)
Update quickstart.md
2024-08-29 17:54:13 -04:00
Tyler Cloutier 1b9e7d33c8 Update quickstart.md (#81)
Revert the find_by changes in rust which were never made.
2024-08-29 17:52:53 -04:00
Shubham Mishra c4759844e3 scheduler table doc update (#77) 2024-08-09 16:28:49 -07:00
Tyler Cloutier efcc979a6f Update quickstart.md (#74) 2024-08-09 16:28:38 -07:00
Shubham Mishra 73c3918c9b Shub/revert scheduler table doc (#76)
Revert "scheduler table doc update (#73)"

This reverts commit cd924d2049.
2024-08-02 11:55:37 -07:00
Shubham Mishra cd924d2049 scheduler table doc update (#73) 2024-08-02 23:25:52 +05:30
Zeke Foppa 7472a4ca87 Remove Python & update "coming soon" languages (#72)
* [bfops/remove-python]: do thing

* [bfops/remove-python]: empty

---------

Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2024-07-26 11:18:43 -07:00