From f2cc74d28484f9cd21a74795e0e72b5b57748af5 Mon Sep 17 00:00:00 2001
From: Ziyang Hu
Date: Thu, 1 Dec 2022 21:55:44 +0800
Subject: [PATCH] Use github links for tutorial
---
README.md | 2 +-
cozo-core/src/lib.rs | 2 +-
cozo-lib-c/README.md | 2 +-
cozo-lib-nodejs/README.md | 2 +-
cozo-lib-swift/README.md | 2 +-
cozo-lib-wasm/README.md | 2 +-
cozo-lib-wasm/wasm-react-demo/src/App.js | 2 +-
cozoserver/README.md | 2 +-
8 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/README.md b/README.md
index 757ec963..16e9710d 100644
--- a/README.md
+++ b/README.md
@@ -71,7 +71,7 @@ a complete Cozo instance in your browser, at near-native speed for most operatio
So open up the [Cozo in WASM page](https://cozodb.github.io/wasm-demo/), and then:
-* Follow the [tutorial](https://nbviewer.org/github/cozodb/cozo-docs/blob/main/tutorial/tutorial.ipynb) to learn the basics;
+* Follow the [tutorial](https://github.com/cozodb/cozo-docs/blob/main/tutorial/tutorial.ipynb) to learn the basics;
* read the [manual](https://cozodb.github.io/current/manual/) for the finer points.
After you have decided that Cozo is worth experimenting with for your next project, you can scroll down to learn
diff --git a/cozo-core/src/lib.rs b/cozo-core/src/lib.rs
index a6a85a2d..b80f5886 100644
--- a/cozo-core/src/lib.rs
+++ b/cozo-core/src/lib.rs
@@ -11,7 +11,7 @@
//!
//! This doc describes the Rust API. To learn how to use CozoDB to query (CozoScript), see:
//!
-//! * [CozoScript Tutorial](https://nbviewer.org/github/cozodb/cozo-docs/blob/main/tutorial/tutorial.ipynb)
+//! * [CozoScript Tutorial](https://github.com/cozodb/cozo-docs/blob/main/tutorial/tutorial.ipynb)
//! * [CozoScript Manual](https://cozodb.github.io/current/manual/)
//!
//! You can run all the queries described in the tutorial with an in-browser DB [here](https://cozodb.github.io/wasm-demo/)
diff --git a/cozo-lib-c/README.md b/cozo-lib-c/README.md
index 9b72cb7f..2fa78c98 100644
--- a/cozo-lib-c/README.md
+++ b/cozo-lib-c/README.md
@@ -4,7 +4,7 @@ This directory contains the source of the Cozo C API.
This document describes how to set up the C library.
To learn how to use CozoDB (CozoScript), follow
-the [tutorial](https://nbviewer.org/github/cozodb/cozo-docs/blob/main/tutorial/tutorial.ipynb)
+the [tutorial](https://github.com/cozodb/cozo-docs/blob/main/tutorial/tutorial.ipynb)
first and then read the [manual](https://cozodb.github.io/current/manual/). You can run all the queries
described in the tutorial with an in-browser DB [here](https://cozodb.github.io/wasm-demo/).
diff --git a/cozo-lib-nodejs/README.md b/cozo-lib-nodejs/README.md
index 233d5543..686ad630 100644
--- a/cozo-lib-nodejs/README.md
+++ b/cozo-lib-nodejs/README.md
@@ -6,7 +6,7 @@ Embedded [CozoDB](https://github.com/cozodb/cozo) for NodeJS.
This document describes how to set up the Cozo module for use in NodeJS.
To learn how to use CozoDB (CozoScript), follow
-the [tutorial](https://nbviewer.org/github/cozodb/cozo-docs/blob/main/tutorial/tutorial.ipynb)
+the [tutorial](https://github.com/cozodb/cozo-docs/blob/main/tutorial/tutorial.ipynb)
first and then read the [manual](https://cozodb.github.io/current/manual/). You can run all the queries
described in the tutorial with an in-browser DB [here](https://cozodb.github.io/wasm-demo/).
diff --git a/cozo-lib-swift/README.md b/cozo-lib-swift/README.md
index bbeae38e..c6edaa0c 100644
--- a/cozo-lib-swift/README.md
+++ b/cozo-lib-swift/README.md
@@ -2,7 +2,7 @@
This document describes how to set up the Cozo module for use in Swift on Apple hardware.
To learn how to use CozoDB (CozoScript), follow
-the [tutorial](https://nbviewer.org/github/cozodb/cozo-docs/blob/main/tutorial/tutorial.ipynb)
+the [tutorial](https://github.com/cozodb/cozo-docs/blob/main/tutorial/tutorial.ipynb)
first and then read the [manual](https://cozodb.github.io/current/manual/). You can run all the queries
described in the tutorial with an in-browser DB [here](https://cozodb.github.io/wasm-demo/).
diff --git a/cozo-lib-wasm/README.md b/cozo-lib-wasm/README.md
index 3783eaf4..8293e396 100644
--- a/cozo-lib-wasm/README.md
+++ b/cozo-lib-wasm/README.md
@@ -5,7 +5,7 @@ If you are targeting NodeJS, use [this](../cozo-lib-nodejs) instead:
native code is still _much_ faster than WASM.
This document describes how to set up the Cozo WASM module for use.
-To learn how to use CozoDB (CozoScript), follow the [tutorial](https://nbviewer.org/github/cozodb/cozo-docs/blob/main/tutorial/tutorial.ipynb)
+To learn how to use CozoDB (CozoScript), follow the [tutorial](https://github.com/cozodb/cozo-docs/blob/main/tutorial/tutorial.ipynb)
first and then read the [manual](https://cozodb.github.io/current/manual/). You can run all the queries
described in the tutorial with an in-browser DB [here](https://cozodb.github.io/wasm-demo/).
diff --git a/cozo-lib-wasm/wasm-react-demo/src/App.js b/cozo-lib-wasm/wasm-react-demo/src/App.js
index 153c1404..25f653dc 100644
--- a/cozo-lib-wasm/wasm-react-demo/src/App.js
+++ b/cozo-lib-wasm/wasm-react-demo/src/App.js
@@ -242,7 +242,7 @@ function App() {
a hypothetical love triangle.
- The tutorial contains many more examples.
+ The tutorial contains many more examples.
}
diff --git a/cozoserver/README.md b/cozoserver/README.md
index 7353987f..eba9f7b2 100644
--- a/cozoserver/README.md
+++ b/cozoserver/README.md
@@ -5,7 +5,7 @@ The standalone executable for Cozo can be downloaded from the [release page](htt
This document describes how to set up cozoserver.
To learn how to use CozoDB (CozoScript), follow
-the [tutorial](https://nbviewer.org/github/cozodb/cozo-docs/blob/main/tutorial/tutorial.ipynb)
+the [tutorial](https://github.com/cozodb/cozo-docs/blob/main/tutorial/tutorial.ipynb)
first and then read the [manual](https://cozodb.github.io/current/manual/). You can run all the queries
described in the tutorial with an in-browser DB [here](https://cozodb.github.io/wasm-demo/).