Skip to content

Commit

Permalink
chore: Backport #3085 to web (#3087)
Browse files Browse the repository at this point in the history
Co-authored-by: Maximilian Roos <5635139+max-sixty@users.noreply.github.com>
  • Loading branch information
prql-bot and max-sixty committed Jul 26, 2023
1 parent 12b10ca commit fa78815
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 23 deletions.
3 changes: 2 additions & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Contributing

Check out our [Contributing Docs](https://prql-lang.org/book/contributing/)
Check out our
[Contributing Docs](https://prql-lang.org/book/project/contributing/)
2 changes: 1 addition & 1 deletion .github/workflows/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# GitHub Workflows

See
[our development docs](https://prql-lang.org/book/contributing/development.html)
[our development docs](https://prql-lang.org/book/project/contributing/development.html)
for docs & discussion.
17 changes: 8 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -308,8 +308,8 @@ This release has 54 commits from 6 contributors. Selected changes:
**Documentation**:

- Add a policy for which bindings are supported / unsupported / nascent. See
<https://prql-lang.org/book/bindings/> for more details (@max-sixty, #2062)
(@max-sixty, #2062)
<https://prql-lang.org/book/project/bindings/index.html> for more details
(@max-sixty, #2062) (@max-sixty, #2062)

**Integrations**:

Expand Down Expand Up @@ -601,7 +601,8 @@ below in this release).
- Defining a temporary table is now expressed as `let` rather than `table`
(@aljazerzen, #1315). See the
[tables docs](https://prql-lang.org/book/queries/variables.html) for details.
[tables docs](https://prql-lang.org/book/reference/declarations/variables.html)
for details.
- _Experimental:_ The
[`case`](https://prql-lang.org/book/reference/syntax/case.html) function sets
Expand Down Expand Up @@ -653,8 +654,8 @@ below in this release).
```
Check out the
[`append` docs](https://prql-lang.org/book/transforms/append.html) for more
details.
[`append` docs](https://prql-lang.org/book/reference/stdlib/transforms/append.html)
for more details.
- Numbers can contain underscores, which can make reading long numbers easier
(@max-sixty, #1467):
Expand Down Expand Up @@ -713,7 +714,7 @@ below in this release).
improvements]

- Add docs on aliases in
[Select](https://prql-lang.org/book/transforms/select.html)
[Select](https://prql-lang.org/book/reference/stdlib/transforms/select.html)
- Add JS template literal and multiline example (@BCsabaEngine, #1432)
- JS template literal and multiline example (@BCsabaEngine, #1432)
- Improve prql-compiler docs & examples (@aljazerzen, #1515)
Expand Down Expand Up @@ -978,9 +979,7 @@ We also have new features in the
**Documentation**:
- Add docs on
[Architecture](https://prql-lang.org/book/internals/compiler-architecture.html)
(@aljazerzen, #904)
- Add docs on Architecture (@aljazerzen, #904)
- Add Changelog (@max-sixty, #890 #891)
**Internal changes**:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ Many thanks to those who've made our progress possible:

[prql book]: https://prql-lang.org/book
[prql website]: https://prql-lang.org
[contributing]: https://prql-lang.org/book/contributing/
[development]: https://prql-lang.org/book/contributing/development.html
[contributing]: https://prql-lang.org/book/project/contributing/
[development]: https://prql-lang.org/book/project/contributing/development.html
[prql playground]: https://prql-lang.org/playground
[dbt-prql]: https://github.com/prql/dbt-prql
2 changes: 1 addition & 1 deletion web/book/src/project/contributing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ These have been screened to have sufficient context to get started (and we very
much welcome questions where there's some context missing).

To get started, check out the docs on [Development](./development.md) and the
[Compiler architecture](https://github.com/PRQL/prql/blob/main/crates/prql_compiler/ARCHITECTURE.md)
[Compiler architecture](https://github.com/PRQL/prql/blob/main/crates/prql-compiler/ARCHITECTURE.md)

And if you have questions, there are lots of friendly people on the Discord who
will patiently help you.
Expand Down
2 changes: 1 addition & 1 deletion web/playground/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A fast-feedback compiler from PRQL to SQL, hosted at
<https://prql-lang.org/playground/>

To run locally,
[set up a development environment](https://prql-lang.org/book/contributing/development.html),
[set up a development environment](https://prql-lang.org/book/project/contributing/development.html),
and then run[^1]:

```sh
Expand Down
13 changes: 7 additions & 6 deletions web/website/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,21 +44,22 @@ params:
PRQL? Send them a link to PRQL.
- text:
"Know Rust (or want to learn!)? [Contribute to our
compiler](https://prql-lang.org/book/contributing/#compiler)"
compiler](https://prql-lang.org/book/project/contributing/#compiler)"
- text:
"Familiar with web? Spot a mistake? [Improve the website design or
copy](https://prql-lang.org/book/contributing/#marketing)"
copy](https://prql-lang.org/book/project/contributing/#marketing)"
- text:
"Interested in helping people explore their data? [Help improve the
playground](https://github.com/PRQL/prql/tree/main/web/playground)"
- text:
"Is SQL your mother-tongue? [Show us SQL queries which translate well
/ badly](https://prql-lang.org/book/contributing/#language-design). We
are looking for any use-cases that expose a poor design choice, a need
of a feature, or a sharp edge of the language."
/
badly](https://prql-lang.org/book/project/contributing/#language-design).
We are looking for any use-cases that expose a poor design choice, a
need of a feature, or a sharp edge of the language."
button:
text: Contribute
link: https://prql-lang.org/book/contributing/
link: https://prql-lang.org/book/project/contributing/
follow:
subtitle: "Follow us:"
list:
Expand Down
2 changes: 1 addition & 1 deletion web/website/content/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ PRQL:
> etc.
For more detail, check out the docs in the
[PRQL Book](https://prql-lang.org/book/transforms/aggregate.html).
[PRQL Book](https://prql-lang.org/book/reference/stdlib/transforms/aggregate.html).
{{</ faq >}}
Expand Down
2 changes: 1 addition & 1 deletion web/website/content/posts/2022-05-19-examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ than SQL, and each of them does something specific and composable; for example:
- A transform in context of a `group` does the same transformation to the group
as it would to the table — for example finding the rolling sum of a column.
For more on this equivalence, check out [`group`'s
documentation](https://prql-lang.org/book/transforms/group.html)
documentation](https://prql-lang.org/book/reference/transforms/group.html)
- `filter` filters out rows which don't meet a condition. That can be before an
aggregate — `WHERE` in SQL — after an aggregate — `HAVING` in SQL — or within
a `window` — `QUALIFY` in SQL. -->

0 comments on commit fa78815

Please sign in to comment.