Skip to content

Commit

Permalink
Merge branch 'docs/revamp' into pdrm/automation-part-2
Browse files Browse the repository at this point in the history
  • Loading branch information
PedramNavid committed Aug 19, 2024
2 parents 7ec8d7b + 01d292e commit ff98d86
Show file tree
Hide file tree
Showing 209 changed files with 210 additions and 189 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-docs-revamp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ name: Deploy Docs Revamp
on:
pull_request:
paths:
- docs/docs-next
- docs/docs-beta
- .github/workflows/build-docs-revamp.yml
push:
branches:
- docs/revamp
paths:
- docs/docs-next
- docs/docs-beta
- .github/workflows/build-docs-revamp.yml

concurrency:
Expand Down Expand Up @@ -42,4 +42,4 @@ jobs:
vercel-args: "--prod"
github-token: ${{ secrets.GITHUB_TOKEN }}
scope: ${{ secrets.VERCEL_ORG_ID }}
alias-domains: dagster-docs-next.dagster.dagster-docs.io
alias-domains: dagster-docs-beta.dagster.dagster-docs.io
4 changes: 2 additions & 2 deletions .github/workflows/vale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: '["docs-next/docs"]'
files: '["docs-beta/docs"]'
vale_flags: "--config=docs/.vale.ini"
fail_on_error: true
reporter: github-pr-check
reporter: github-pr-check
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
9 changes: 9 additions & 0 deletions docs/docs-beta/docs/concepts/assets.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: Assets
---

# Assets

## Assets and Ops

Assets and ops are two different concepts in Dagster.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Creating dynamic pipelines based on external data"
sidebar_position: 30
---

# Creating dynamic pipelines based on external data
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: "Creating event-based pipelines"
sidebar_position: 20
---
9 changes: 9 additions & 0 deletions docs/docs-beta/docs/guides/data-assets.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: "Modeling your data"
---

# Modeling your data

- Data Assets
- Partitions
- Groups / Metadata / Tags
File renamed without changes.
3 changes: 3 additions & 0 deletions docs/docs-beta/docs/guides/ingestion.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Ingestion
---
3 changes: 3 additions & 0 deletions docs/docs-beta/docs/guides/ingestion/ingesting-data.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Ingesting Data
---
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions docs/docs-beta/docs/guides/transformation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: "ETL pipelines"
---

# ETL pipelines
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@ If you encounter any issues during the installation process, please refer to the
- [Quickstart Tutorial](/tutorial/quick-start)
- [ETL Tutorial](/tutorial/tutorial-etl)
- [Create a new Dagster project](/tutorial/create-new-project)
- [Creating Data Assets](/guides/data-assets/creating-data-assets)
- [Creating Data Assets](/guides/data-modeling/creating-data-assets)
File renamed without changes.
162 changes: 162 additions & 0 deletions docs/docs-beta/docusaurus.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
import { themes as prismThemes } from 'prism-react-renderer';
import type { Config } from '@docusaurus/types';
import type * as Preset from '@docusaurus/preset-classic';

const config: Config = {
title: 'Dagster Docs - Beta',
tagline: 'Dagster is a Python framework for building production-grade data platforms.',
url: 'https://docs.dagster.io',
favicon: 'img/favicon.ico',

baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'throw',
organizationName: 'dagster',
projectName: 'dagster',
markdown: {
mermaid: true,
},
themes: ['@docusaurus/theme-mermaid'],
i18n: { defaultLocale: 'en', locales: ['en'] },
plugins: [
require.resolve('docusaurus-plugin-sass'),
require.resolve('docusaurus-plugin-image-zoom'),
],
themeConfig: {
colorMode: {
defaultMode: 'light',
disableSwitch: false,
respectPrefersColorScheme: true,
},
prism: {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
additionalLanguages: ['diff', 'json', 'bash'],
},
zoom: {
selector: '.markdown > img, .tabs-container img ',
config: {
// options you can specify via https://github.com/francoischalifour/medium-zoom#usage
background: {
light: 'rgb(255, 255, 255)',
dark: 'rgb(50, 50, 50)',
},
},
},
tableOfContents: {
minHeadingLevel: 2,
maxHeadingLevel: 4,
},
navbar: {
logo: {
alt: 'Dagster Logo',
src: 'img/dagster-docs-logo.svg',
srcDark: 'img/dagster-docs-logo-dark.svg',
href: '/',
},
items: [
{
label: 'Docs',
type: 'doc',
docId: 'intro',
position: 'left',
},
{
label: 'Integrations',
type: 'doc',
docId: 'integrations',
position: 'left',
},
{
label: 'Dagster+',
type: 'doc',
docId: 'dagster-plus',
position: 'left',
},
{
label: 'References',
type: 'doc',
docId: 'api',
position: 'left',
},
{
label: 'Changelog',
type: 'doc',
docId: 'changelog',
position: 'right',
},
],
},
image: 'img/docusaurus-social-card.jpg',
docs: {
sidebar: {
autoCollapseCategories: false,
hideable: false,
},
},

footer: {
logo: {
alt: 'Dagster Logo',
src: 'img/logo.svg',
href: '/',
},
links: [
{
title: 'Docs',
items: [
{
label: 'Docs',
to: '/',
},
],
},
{
title: 'Community',
items: [
{
label: 'Stack Overflow',
href: 'https://stackoverflow.com/questions/tagged/dagster',
},
{
label: 'Twitter',
href: 'https://twitter.com/dagster',
},
],
},
{
title: 'More',
items: [
{
label: 'GitHub',
href: 'https://github.com/dagster-io/dagster',
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Dagster Labs.`,
},
} satisfies Preset.ThemeConfig,

presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: './sidebars.ts',
routeBasePath: '/',
editUrl: 'https://github.com/dagster-io/dagster/tree/docs/revamp/docs/docs-beta',
},
blog: false,
theme: {
customCss: [
require.resolve('./node_modules/modern-normalize/modern-normalize.css'),
require.resolve('./src/styles/custom.scss'),
],
},
} satisfies Preset.Options,
],
],
};

export default config;
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ a.pyobject {

code {
font-size: var(--ifm-code-font-size);
line-height: 135%;
}

a {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
5 changes: 0 additions & 5 deletions docs/docs-next/docs/concepts/assets.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/docs-next/docs/guides/data-assets.md

This file was deleted.

5 changes: 0 additions & 5 deletions docs/docs-next/docs/guides/transformation.md

This file was deleted.

Loading

0 comments on commit ff98d86

Please sign in to comment.