Skip to content

Commit b222fef

Browse files
committed
reorder sidebar and fix code annotations in headings
- Reorder Language Specification sidebar items per requirements - Rename Functions to Built-in Functions - Add backticks around code in headings (UNION ALL, RANK, etc.)
1 parent 4cda82e commit b222fef

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

docs/language-spec/functions/window/dense_rank.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ WHERE owner = 'stackql'
5757
ORDER BY contributions DESC;
5858
```
5959

60-
### Compare DENSE_RANK with RANK and ROW_NUMBER
60+
### Compare `DENSE_RANK` with `RANK` and `ROW_NUMBER`
6161

6262
```sql
6363
-- Compare RANK vs DENSE_RANK vs ROW_NUMBER for contributors

docs/language-spec/functions/window/rank.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ WHERE owner = 'stackql'
5555
AND repo = 'stackql';
5656
```
5757

58-
### Compare RANK with DENSE_RANK and ROW_NUMBER
58+
### Compare `RANK` with `DENSE_RANK` and `ROW_NUMBER`
5959

6060
```sql
6161
-- Compare RANK vs DENSE_RANK vs ROW_NUMBER for contributors
@@ -70,7 +70,7 @@ WHERE owner = 'stackql'
7070
AND repo = 'stackql';
7171
```
7272

73-
### Rank contributors within each repository using PARTITION BY
73+
### Rank contributors within each repository using `PARTITION BY`
7474

7575
```sql
7676
-- Rank contributors within each repo

docs/language-spec/functions/window/row_number.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ WHERE owner = 'stackql'
6969
ORDER BY created_at;
7070
```
7171

72-
### Compare ROW_NUMBER with RANK and DENSE_RANK
72+
### Compare `ROW_NUMBER` with `RANK` and `DENSE_RANK`
7373

7474
```sql
7575
-- Compare RANK vs DENSE_RANK vs ROW_NUMBER for contributors

docs/language-spec/with.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ FROM weekly_totals
8686
ORDER BY week;
8787
```
8888

89-
### Combining data from multiple sources with UNION ALL
89+
### Combining data from multiple sources with `UNION ALL`
9090

9191
CTEs are useful for combining data from multiple sources before performing analysis.
9292

sidebars.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,26 +46,26 @@ const sidebars = {
4646
label: 'Language Specification',
4747
items: [
4848
'language-spec/select',
49-
'language-spec/with',
50-
'language-spec/windowing_functions',
5149
'language-spec/insert',
5250
'language-spec/update',
53-
'language-spec/replace',
5451
'language-spec/delete',
52+
'language-spec/replace',
5553
'language-spec/show',
5654
'language-spec/describe',
5755
'language-spec/exec',
5856
'language-spec/createview',
5957
'language-spec/refreshview',
60-
'language-spec/dropview',
58+
'language-spec/dropview',
59+
'language-spec/with',
6160
'language-spec/registry',
61+
'language-spec/windowing_functions',
6262
{
6363
type: 'category',
64-
label: 'Functions',
64+
label: 'Built-in Functions',
6565
items: [{type: 'autogenerated', dirName: 'language-spec/functions'}]
66-
},
67-
'language-spec/lexical-structure',
66+
},
6867
'language-spec/data-types',
68+
'language-spec/lexical-structure',
6969
'language-spec/keywords',
7070
'language-spec/utility-commands',
7171
]

0 commit comments

Comments
 (0)