drift/docs
Nikita Dauhashei 9c82dcd313
Merge remote-tracking branch 'origin/develop' into develop
2024-04-22 23:19:28 +02:00
..
assets Update docs on sqlcipher flutter libs 2024-02-07 22:29:09 +01:00
lib Clarify join result types in docs 2024-04-21 14:51:03 +02:00
pages Merge remote-tracking branch 'origin/develop' into develop 2024-04-22 23:19:28 +02:00
templates Add aliases from old documentation URLs 2023-09-24 15:39:38 +02:00
test Fix docs tests as well 2024-02-08 22:05:18 +01:00
tool Update to lints 3.0.0 2023-11-16 21:25:21 +01:00
web Fix compatibility check in wasm website 2023-08-27 16:29:55 +02:00
README.md Move migration docs into their own section 2023-09-17 18:10:49 +02:00
analysis_options.yaml Fix lints and warnings added in Dart 3.0 2023-05-12 22:42:21 +02:00
build.yaml Update docs on sqlcipher flutter libs 2024-02-07 22:29:09 +01:00
pubspec.yaml Update docs on sqlcipher flutter libs 2024-02-07 22:29:09 +01:00
theme.yaml Add search to documentation 2021-08-09 18:32:09 +02:00
website.yaml Update packages used in documentation 2023-09-10 22:19:41 +02:00

README.md

Drift documentation

Welcome to the source of drift's documentation, live at drift.simonbinder.eu. We use a static site generator based on build_runner to build the documentation.

Running the website locally

For a fast edit-refresh cycle, run

dart run build_runner serve web:8080 --live-reload

Building the website

To build the website into a directory out, use:

dart run drift_dev schema steps lib/snippets/migrations/exported_eschema/ lib/snippets/migrations/schema_versions.dart
dart run drift_dev schema generate --data-classes --companions lib/snippets/migrations/exported_eschema/ lib/snippets/migrations/tests/generated_migrations/

dart run build_runner build --release --output web:out