Skip to content

Commit

Permalink
Update documentation domain in readmes.
Browse files Browse the repository at this point in the history
  • Loading branch information
narreola committed Nov 29, 2023
1 parent 917a389 commit ec9d9db
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ Malloy is an experimental language for describing data relationships and transfo

The easiest way to try Malloy is with our VS Code Extension, which provides a place to create Malloy models, execute queries, get help, and more. VS Code is a text editor and IDE (integrated development environment) that runs on your desktop or in your browser. A few ways to install the extension:

* [I already have VS Code](https://malloydata.github.io/documentation/setup/extension.html#using-the-malloy-extension-on-your-desktop)
* [I use BigQuery and Google Cloud](https://malloydata.github.io/documentation/setup/extension.html#using-the-malloy-extension-on-google-cloud-shell-editor).
* [I have a Github account and want to try Malloy on a `.csv` or `.parquet` file in a repository](https://malloydata.github.io/documentation/setup/extension.html#using-the-malloy-extension-on-github-dev).
* [I already have VS Code](https://docs.malloydata.dev/documentation/setup/extension.html#using-the-malloy-extension-on-your-desktop)
* [I use BigQuery and Google Cloud](https://docs.malloydata.dev/documentation/setup/extension.html#using-the-malloy-extension-on-google-cloud-shell-editor).
* [I have a Github account and want to try Malloy on a `.csv` or `.parquet` file in a repository](https://docs.malloydata.dev/documentation/setup/extension.html#using-the-malloy-extension-on-github-dev).

![show_run](https://user-images.githubusercontent.com/1093458/182458787-ca228186-c954-4a07-b298-f92dbf91e48d.gif)

To get to know the Malloy language, follow [our Quickstart](https://malloydata.github.io/documentation/user_guides/basic.html).
To get to know the Malloy language, follow [our Quickstart](https://docs.malloydata.dev/documentation/user_guides/basic.html).

Note: The Malloy VSCode Extension tracks a small amount of anonymous usage data. You can opt out in the extension settings.
[Learn more](https://policies.google.com/technologies/cookies).
Expand All @@ -29,9 +29,9 @@ Note: The Malloy VSCode Extension tracks a small amount of anonymous usage data.

Documentation:

- [Malloy Language](https://malloydata.github.io/documentation/language/basic.html) - A quick introduction to the language
- [eCommerce Example Analysis](https://malloydata.github.io/documentation/examples/ecommerce.html) - a walkthrough of the basics on an ecommerce dataset (BigQuery public dataset)
- [Modeling Walkthrough](https://malloydata.github.io/documentation/examples/iowa/iowa.html) - introduction to modeling via the Iowa liquor sales public data set (BigQuery public dataset)
- [Malloy Language](https://docs.malloydata.dev/documentation/language/basic.html) - A quick introduction to the language
- [eCommerce Example Analysis](https://docs.malloydata.dev/documentation/examples/ecommerce.html) - a walkthrough of the basics on an ecommerce dataset (BigQuery public dataset)
- [Modeling Walkthrough](https://docs.malloydata.dev/documentation/examples/iowa/iowa.html) - introduction to modeling via the Iowa liquor sales public data set (BigQuery public dataset)

[YouTube](https://www.youtube.com/channel/UCfN2td1dzf-fKmVtaDjacsg) - Watch demos / walkthroughs of Malloy

Expand Down Expand Up @@ -68,4 +68,4 @@ GROUP BY carrier
ORDER BY flight_count desc -- malloy automatically orders by the first aggregate
```

Learn more about the syntax and language features of Malloy in the [Quickstart](https://malloydata.github.io/documentation/user_guides/basic).
Learn more about the syntax and language features of Malloy in the [Quickstart](https://docs.malloydata.dev/documentation/user_guides/basic).
6 changes: 3 additions & 3 deletions demo/malloy-demo-composer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ If you haven't already done so, you'll need to start by [Building the Malloy rep
1. `npm install` to install dependencies
2. `npm run build` to build all the libraries Malloy needs

Make sure you have a [database connected](https://malloydata.github.io/documentation/connection_instructions.html), and you'll also likely want to set up the [VS Code Extension](https://github.com/malloydata/malloy#installing-the-extension) to view and edit Malloy files.
Make sure you have a [database connected](https://docs.malloydata.dev/documentation/connection_instructions.html), and you'll also likely want to set up the [VS Code Extension](https://github.com/malloydata/malloy#installing-the-extension) to view and edit Malloy files.

### Launch the Composer

Expand All @@ -35,14 +35,14 @@ This will start a desktop application. You should see any sources defined in `.m
Troubleshooting notes:

- If you have models in your Malloy models directory and one or all of them are not showing up in the composer menu, you may have an error in your Malloy code. Try opening them up in VS Code with the Malloy Extension installed to find the problem.
- You'll need to define a [source](https://malloydata.github.io/documentation/language/source.html) for it to be explorable; top-level named queries that are not inside a source are not explorable.
- You'll need to define a [source](https://docs.malloydata.dev/documentation/language/source.html) for it to be explorable; top-level named queries that are not inside a source are not explorable.

### Set up Query Saving

The composer can write saved queries back to `.a.malloy` files in the Malloy models directory (see below).

1. Create a new file with the suffix `.a.malloy` (e.g. `flights.a.malloy`). You'll need separate ones for each source you want to make explorable.
2. [Import](https://malloydata.github.io/documentation/language/imports.html) the base file in this `.a.malloy` file, then create a refinement of a source named in the base file. For example, if your base file looks like:
2. [Import](https://docs.malloydata.dev/documentation/language/imports.html) the base file in this `.a.malloy` file, then create a refinement of a source named in the base file. For example, if your base file looks like:

```malloy
source: flights_base is table('malloy-data.faa.flights')
Expand Down
2 changes: 1 addition & 1 deletion demo/malloy-duckdb-wasm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

The Malloy duckdb-wasm demo is a self-contained web application that allows people to test out the functionality of Malloy without having to download any code or set up any database connections, and to demonstrate how Malloy and DuckDB can be combined for interactive data exploration in a browser. [duckdb-wasm](https://github.com/duckdb/duckdb-wasm) is a web assembly version of the [DuckDB](https://duckdb.org) database that is supported by Malloy.

There is a live version of this demo on our documentation website [here](https://malloydata.github.io/malloy/fiddle/index.html).
There is a live version of this demo on our documentation website [here](https://docs.malloydata.dev/malloy/fiddle/index.html).

## Building the Demo

Expand Down
6 changes: 3 additions & 3 deletions packages/malloy-render/src/stories/static/data/logos.csv
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ id,brand,logo,product
4,Looker,https://upload.wikimedia.org/wikipedia/commons/thumb/4/4c/Looker.svg/2560px-Looker.svg.png,Looker
5,Looker,https://upload.wikimedia.org/wikipedia/commons/thumb/4/4c/Looker.svg/2560px-Looker.svg.png,Looker Studio
6,Looker,https://upload.wikimedia.org/wikipedia/commons/thumb/4/4c/Looker.svg/2560px-Looker.svg.png,Looker Studio Pro
7,Malloy,https://malloydata.github.io/img/logo.png,Malloy
8,Malloy,https://malloydata.github.io/img/logo.png,Malloy Composer
9,Malloy,https://malloydata.github.io/img/logo.png,Malloy Py
7,Malloy,https://docs.malloydata.dev/img/logo.png,Malloy
8,Malloy,https://docs.malloydata.dev/img/logo.png,Malloy Composer
9,Malloy,https://docs.malloydata.dev/img/logo.png,Malloy Py
10,BrokenBrand,bad_url,Viz

0 comments on commit ec9d9db

Please sign in to comment.