Skip to content

Commit

Permalink
[docs] [revamp] - Seed Concept pages (#23602)
Browse files Browse the repository at this point in the history
## Summary & Motivation

## How I Tested These Changes

---------

Co-authored-by: Pedram Navid <[email protected]>
  • Loading branch information
erinkcochran87 and PedramNavid authored Aug 13, 2024
1 parent a854606 commit aa7cac7
Show file tree
Hide file tree
Showing 25 changed files with 178 additions and 18 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/build-docs-revamp.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Deploy Docs Revamp
on:
pull_request:
branches:
- docs/revamp
paths:
- docs/docs-next
- .github/workflows/build-docs-revamp.yml
Expand All @@ -13,21 +11,21 @@ on:
paths:
- docs/docs-next
- .github/workflows/build-docs-revamp.yml

concurrency:
# Cancel in-progress runs on same branch
group: ${{ github.ref }}
group: ${{ github.workflow}}-${{github.ref}}
cancel-in-progress: true

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout docs/revamp branch
if: github.event_name == 'push' && github.ref == 'refs/heads/docs/revamp'
uses: actions/checkout@v4

- name: Publish Preview to Vercel
uses: amondnet/vercel-action@v25
if: github.event_name == 'push' && github.ref == 'refs/heads/docs/revamp'
with:
github-comment: ${{ true }}
vercel-token: ${{ secrets.VERCEL_TOKEN }}
Expand All @@ -36,4 +34,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-next.dagster.dagster-docs.io
2 changes: 1 addition & 1 deletion .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
- .github/workflows/build-docs.yml
concurrency:
# Cancel in-progress runs on same branch
group: ${{ github.ref }}
group: ${{ github.workflow}}-${{github.ref}}
cancel-in-progress: true
jobs:
deploy:
Expand Down
File renamed without changes.
6 changes: 6 additions & 0 deletions docs/docs-next/docs/concepts/assets/asset-checks.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Asset checks"
sidebar_position: 70
---

# Asset checks
6 changes: 6 additions & 0 deletions docs/docs-next/docs/concepts/assets/asset-dependencies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Asset dependencies"
sidebar_position: 30
---

# Asset dependencies
6 changes: 6 additions & 0 deletions docs/docs-next/docs/concepts/assets/asset-materialization.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Asset materialization"
sidebar_position: 20
---

# Asset materialization
6 changes: 6 additions & 0 deletions docs/docs-next/docs/concepts/assets/asset-metadata.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Asset metadata"
sidebar_position: 40
---

# Asset metadata
6 changes: 6 additions & 0 deletions docs/docs-next/docs/concepts/assets/thinking-in-assets.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Thinking in assets"
sidebar_position: 10
---

# Thinking in assets
1 change: 1 addition & 0 deletions docs/docs-next/docs/concepts/automation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Automation
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Declarative Automation"
sidebar_position: 10
---

# Declarative Automation
6 changes: 6 additions & 0 deletions docs/docs-next/docs/concepts/automation/schedules.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Schedules"
sidebar_position: 10
---

# Schedules
6 changes: 6 additions & 0 deletions docs/docs-next/docs/concepts/automation/sensors.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Sensors"
sidebar_position: 20
---

# Sensors
1 change: 1 addition & 0 deletions docs/docs-next/docs/concepts/execution.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Execution
6 changes: 6 additions & 0 deletions docs/docs-next/docs/concepts/execution/dagster-daemon.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Dagster daemon"
sidebar_position: 10
---

# Dagster daemon
6 changes: 6 additions & 0 deletions docs/docs-next/docs/concepts/execution/run-coordinators.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Run coordinators"
sidebar_position: 40
---

# Run coordinators
6 changes: 6 additions & 0 deletions docs/docs-next/docs/concepts/execution/run-executors.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Run executors"
sidebar_position: 30
---

# Run executors
6 changes: 6 additions & 0 deletions docs/docs-next/docs/concepts/execution/run-launchers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Run launchers"
sidebar_position: 20
---

# Run launchers
5 changes: 5 additions & 0 deletions docs/docs-next/docs/concepts/io-managers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: "I/O managers"
---

# I/O managers
1 change: 1 addition & 0 deletions docs/docs-next/docs/concepts/ops-jobs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Ops and jobs
6 changes: 6 additions & 0 deletions docs/docs-next/docs/concepts/ops-jobs/job-configuration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Job configuration"
sidebar_position: 10
---

# Job configuration
6 changes: 6 additions & 0 deletions docs/docs-next/docs/concepts/ops-jobs/ops-vs-assets.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Ops vs. assets"
sidebar_position: 10
---

# Ops vs. assets
5 changes: 5 additions & 0 deletions docs/docs-next/docs/concepts/partitions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: "Partitions"
---

# Partitions
1 change: 1 addition & 0 deletions docs/docs-next/docs/concepts/resources.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Resources
2 changes: 1 addition & 1 deletion docs/docs-next/docs/tutorial/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,4 +168,4 @@ Congratulations! You've just built and run your first pipeline with Dagster. You
## Next Steps

- Continue with the [ETL Pipeline Tutorial](/tutorial/tutorial-etl) to learn how to build a more complex ETL pipeline
- Learn how to [Think in Assets](/concepts/thinking-in-assets)
- Learn how to [Think in Assets](/concepts/assets/thinking-in-assets)
84 changes: 74 additions & 10 deletions docs/docs-next/sidebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,20 +128,84 @@ const sidebars: SidebarsConfig = {
}
],
},
],

/*
// But you can create a sidebar manually
docSidebar: [
"intro",
"hello",
{
type: "category",
label: "Tutorial",
items: ["tutorial-basics/create-a-document"],
label: "Concepts",
items: [
{
type: "category",
label: "Assets",
link: {
type: "doc",
id: "concepts/assets"
},
items: [
{
type: 'autogenerated',
dirName: "concepts/assets"
},
]
},
{
type: "category",
label: "Automation",
link: {
type: "doc",
id: "concepts/automation"
},
items: [
{
type: 'autogenerated',
dirName: "concepts/automation"
},
]
},
{
type: "doc",
label: "Partitions",
id: "concepts/partitions",
},
{
type: "doc",
label: "Resources",
id: "concepts/resources",
},
{
type: "doc",
label: "I/O managers",
id: "concepts/io-managers",
},
{
type: "category",
label: "Ops and jobs",
link: {
type: "doc",
id: "concepts/ops-jobs"
},
items: [
{
type: 'autogenerated',
dirName: "concepts/ops-jobs"
},
]
},
{
type: "category",
label: "Execution",
link: {
type: "doc",
id: "concepts/execution"
},
items: [
{
type: 'autogenerated',
dirName: "concepts/execution"
},
]
}
],
},
],
*/
};

export default sidebars;

1 comment on commit aa7cac7

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for dagster-docs-next ready!

✅ Preview
https://dagster-docs-next-97aclwq1r-elementl.vercel.app
https://dagster-docs-next.dagster.dagster-docs.io

Built with commit aa7cac7.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.