Skip to content

Commit

Permalink
Upgrade to Docusaurus 3.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
stanch committed Jul 16, 2024
1 parent e9fb656 commit c71eada
Show file tree
Hide file tree
Showing 11 changed files with 4,508 additions and 4,108 deletions.
2 changes: 1 addition & 1 deletion docs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Thousands of organizations like Burberry, Strava, and Auto Trader rely on Snowpl

### Why Next-Gen CDI?​

Snowplow is built from the ground up to not only lay the foundation for an organization's advanced analytics use cases, but to also power machine learning and AI use cases, including those powered by generative AI.
Snowplow is built from the ground up to not only lay the foundation for an organization's advanced analytics use cases, but to also power machine learning and AI use cases, including those powered by generative AI.

Key benefits of Snowplow’s Next-Gen CDI:
* Data Depth & Quality
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
```mdx-code-block
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
import ReactMarkdown from 'react-markdown';
import remarkGfm from 'remark-gfm';
import {versions} from '@site/src/componentVersions';
```

Expand All @@ -12,50 +10,40 @@ import {versions} from '@site/src/componentVersions';

<TabItem value="unified" label="Snowplow Unified Digital" default>


<ReactMarkdown children={`
| snowplow-unified version | dbt versions | BigQuery | Databricks | Redshift | Snowflake | Postgres |
| -------------------------- | ------------------- | :------: | :--------: | :------: | :-------: | :------: |
| ${versions.dbtSnowplowUnified} | >=1.6.0 to <2.0.0 ||||||
`} remarkPlugins={[remarkGfm]} />

| {versions.dbtSnowplowUnified} | >=1.6.0 to \<2.0.0 ||||||

</TabItem>

<TabItem value="media" label="Snowplow Media Player">

<ReactMarkdown children={`
| snowplow-media-player version | snowplow-web version | dbt versions | BigQuery | Databricks | Redshift | Snowflake | Postgres |
| ---------------------------------- | -------------------- | ------------------ | :------: | :--------: | :------: | :-------: | :------: |
| ${versions.dbtSnowplowMediaPlayer} | | >=1.4.0 to <2.0.0 ||||||
| 0.5.3 | >=0.14.0 to <0.16.0 | >=1.4.0 to <2.0.0 ||||||
| 0.4.2 | >=0.13.0 to <0.14.0 | >=1.3.0 to <2.0.0 ||||||
| 0.4.1 | >=0.12.0 to <0.13.0 | >=1.3.0 to <2.0.0 ||||||
| 0.3.4 | >=0.9.0 to <0.12.0 | >=1.0.0 to <1.3.0 ||||||
| 0.1.0 | >=0.6.0 to <0.7.0 | >=0.20.0 to <1.1.0 ||||||
`} remarkPlugins={[remarkGfm]} />
| {versions.dbtSnowplowMediaPlayer} | | >=1.4.0 to \<2.0.0 ||||||
| 0.5.3 | >=0.14.0 to \<0.16.0 | >=1.4.0 to \<2.0.0 ||||||
| 0.4.2 | >=0.13.0 to \<0.14.0 | >=1.3.0 to \<2.0.0 ||||||
| 0.4.1 | >=0.12.0 to \<0.13.0 | >=1.3.0 to \<2.0.0 ||||||
| 0.3.4 | >=0.9.0 to \<0.12.0 | >=1.0.0 to \<1.3.0 ||||||
| 0.1.0 | >=0.6.0 to \<0.7.0 | >=0.20.0 to \<1.1.0 ||||||

</TabItem>
<TabItem value="normalize" label="Snowplow Normalize">

<ReactMarkdown children={`
| snowplow-normalize version | dbt versions | BigQuery | Databricks | Redshift | Snowflake | Postgres |
| -------------------------------- | ----------------- | :------: | :--------: | :------: | :-------: | :------: |
| ${versions.dbtSnowplowNormalize} | >=1.4.0 to <2.0.0 ||||||
| 0.2.3 | >=1.3.0 to <2.0.0 ||||||
| 0.1.0 | >=1.0.0 to <2.0.0 ||||||
`} remarkPlugins={[remarkGfm]} />
| {versions.dbtSnowplowNormalize} | >=1.4.0 to \<2.0.0 ||||||
| 0.2.3 | >=1.3.0 to \<2.0.0 ||||||
| 0.1.0 | >=1.0.0 to \<2.0.0 ||||||

</TabItem>
<TabItem value="ecommerce" label="Snowplow E-commerce">

<ReactMarkdown children={`
| snowplow-ecommerce version | dbt versions | BigQuery | Databricks | Redshift | Snowflake | Postgres |
| -------------------------------- | ----------------- | :------: | :--------: | :------: | :-------: | :------: |
| ${versions.dbtSnowplowEcommerce} | >=1.4.0 to <2.0.0 ||||| ⚠️ |
| 0.3.0 | >=1.3.0 to <2.0.0 ||||||
| 0.2.1 | >=1.0.0 to <2.0.0 ||||||
`} remarkPlugins={[remarkGfm]} />
| {versions.dbtSnowplowEcommerce} | >=1.4.0 to \<2.0.0 ||||| ⚠️ |
| 0.3.0 | >=1.3.0 to \<2.0.0 ||||||
| 0.2.1 | >=1.0.0 to \<2.0.0 ||||||

> _Postgres is technically supported in the models within the package, however one of the contexts’ names is too long to be loaded via the Postgres Loader._
Expand All @@ -65,11 +53,9 @@ import {versions} from '@site/src/componentVersions';

<TabItem value="attribution" label="Snowplow Attribution">

<ReactMarkdown children={`
| snowplow-attribution version | dbt versions | BigQuery | Databricks | Redshift | Snowflake | Postgres |
| ------------------------------------ | ----------------- | :------: | :--------: | :------: | :-------: | :------: |
| ${versions.dbtSnowplowAttribution} | >=1.6.0 to <2.0.0 ||||||
`} remarkPlugins={[remarkGfm]} />
| {versions.dbtSnowplowAttribution} | >=1.6.0 to \<2.0.0 ||||||

</TabItem>
</Tabs>
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,14 @@ vars:
```

### Utilizing custom contexts or SDEs

Suppose you have a custom context called `contexts_com_mycompany_click_1` which contains a `click_id` that you want to concat with Snowplow's `domain_sessionid`. If you want to make this available in the events this run table directly you could do the following:

```mdx-code-block
import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
```

<Tabs groupId="warehouse" queryString>
<TabItem value="databricks+snowflake" label="Databricks & Snowflake" default>

Expand Down Expand Up @@ -57,7 +63,7 @@ vars:
</Tabs>


### Adding multiple fields
### Adding multiple fields

If you'd like to add multiple lines of SQL, you can do that as well by making this string a multi-line string, ending each non-final line with a comma. You can do that as follows:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ hide_title: true
```mdx-code-block
import Badges from '@site/src/components/Badges';
import ThemedImage from '@theme/ThemedImage';
import ReactMarkdown from 'react-markdown';
import remarkGfm from 'remark-gfm';
import {versions} from '@site/src/componentVersions';
```

Expand Down Expand Up @@ -41,15 +39,13 @@ dark: require('./images/mobile-process-dark.drawio.png').default
/>
</p>

<ReactMarkdown children={`
| snowplow-mobile version | dbt versions | BigQuery | Databricks | Redshift | Snowflake | Postgres |
| ----------------------------- | ------------------ | :------: | :--------: | :------: | :-------: | :------: |
| ${versions.dbtSnowplowMobile} | >=1.6.0 to <2.0.0 ||||||
| 0.7.2 | >=1.3.0 to <2.0.0 ||||||
| 0.6.3 | >=1.3.0 to <2.0.0 ||||||
| 0.5.5 | >=1.0.0 to <1.3.0 ||||||
| 0.2.0 | >=0.20.0 to <1.0.0 ||||||
`} remarkPlugins={[remarkGfm]} />
| {versions.dbtSnowplowMobile} | >=1.6.0 to \<2.0.0 ||||||
| 0.7.2 | >=1.3.0 to \<2.0.0 ||||||
| 0.6.3 | >=1.3.0 to \<2.0.0 ||||||
| 0.5.5 | >=1.0.0 to \<1.3.0 ||||||
| 0.2.0 | >=0.20.0 to \<1.0.0 ||||||

## Overview

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ hide_title: true
import Badges from '@site/src/components/Badges';
import ThemedImage from '@theme/ThemedImage';
import DocCardList from '@theme/DocCardList';
import ReactMarkdown from 'react-markdown';
import remarkGfm from 'remark-gfm';
import {versions} from '@site/src/componentVersions';
```
Expand Down Expand Up @@ -48,17 +46,15 @@ dark: require('./images/web-process-dark.drawio.png').default
/>
</p>

<ReactMarkdown children={`
| snowplow-web version | dbt versions | BigQuery | Databricks | Redshift | Snowflake | Postgres |
| -------------------------- | ------------------- | :------: | :--------: | :------: | :-------: | :------: |
| ${versions.dbtSnowplowWeb} | >=1.6.0 to <2.0.0 ||||||
| 0.16.2 | >=1.5.0 to <2.0.0 ||||||
| 0.15.2 | >=1.4.0 to <2.0.0 |||||* |
| 0.13.3** | >=1.3.0 to <2.0.0 ||||||
| 0.11.0 | >=1.0.0 to <1.3.0 ||||||
| 0.5.1 | >=0.20.0 to <1.0.0 ||||||
| 0.4.1 | >=0.18.0 to <0.20.0 ||||||
`} remarkPlugins={[remarkGfm]} />
| {versions.dbtSnowplowWeb} | >=1.6.0 to \<2.0.0 ||||||
| 0.16.2 | >=1.5.0 to \<2.0.0 ||||||
| 0.15.2 | >=1.4.0 to \<2.0.0 |||||* |
| 0.13.3** | >=1.3.0 to \<2.0.0 ||||||
| 0.11.0 | >=1.0.0 to \<1.3.0 ||||||
| 0.5.1 | >=0.20.0 to \<1.0.0 ||||||
| 0.4.1 | >=0.18.0 to \<0.20.0 ||||||

<span style={{'font-size':'80%'}}>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
```mdx-code-block
import {versions} from '@site/src/componentVersions';
import ReactMarkdown from 'react-markdown';
import remarkGfm from 'remark-gfm';
```

<ReactMarkdown children={`
Model | Redshift | BigQuery | Snowflake
:--|:-:|:-:|:-:
[Web](/docs/modeling-your-data/modeling-your-data-with-sql-runner/sql-runner-web-data-model/index.md) | ${versions.sqlRunnerWebRedshift} | ${versions.sqlRunnerWebBigQuery} | ${versions.sqlRunnerWebSnowflake}
[Mobile](/docs/modeling-your-data/modeling-your-data-with-sql-runner/sql-runner-mobile-data-model/index.md) | ${versions.sqlRunnerMobileRedshift} | ${versions.sqlRunnerMobileBigQuery} | ${versions.sqlRunnerMobileSnowflake}
`} remarkPlugins={[remarkGfm]} />
[Web](/docs/modeling-your-data/modeling-your-data-with-sql-runner/sql-runner-web-data-model/index.md) | {versions.sqlRunnerWebRedshift} | {versions.sqlRunnerWebBigQuery} | {versions.sqlRunnerWebSnowflake}
[Mobile](/docs/modeling-your-data/modeling-your-data-with-sql-runner/sql-runner-mobile-data-model/index.md) | {versions.sqlRunnerMobileRedshift} | {versions.sqlRunnerMobileBigQuery} | {versions.sqlRunnerMobileSnowflake}
Loading

0 comments on commit c71eada

Please sign in to comment.