Skip to content

Commit

Permalink
Add tutorials section to docs (#26815)
Browse files Browse the repository at this point in the history
## Summary & Motivation

Adds tutorials section with placeholder categories and example
tutorials.

## How I Tested These Changes

Local build.

## Changelog

> Insert changelog entry or delete this section.

Signed-off-by: nikki everett <[email protected]>
  • Loading branch information
neverett authored Jan 3, 2025
1 parent 4044cd6 commit f0cf1f1
Show file tree
Hide file tree
Showing 13 changed files with 84 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: First tutorial
sidebar_position: 10
---

A multi-page tutorial.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: Page one
sidebar_position: 100
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: Page two
sidebar_position: 200
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Second tutorial
sidebar_position: 20
---

Another multi-page tutorial.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: Page one
sidebar_position: 100
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: Page two
sidebar_position: 200
---
6 changes: 6 additions & 0 deletions docs/docs-beta/docs/tutorials/category-one/third-tutorial.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Third tutorial
sidebar_position: 30
---

A single page tutorial.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: First tutorial
sidebar_position: 10
---

A multi-page tutorial.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: Page one
sidebar_position: 100
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: Page two
sidebar_position: 200
---
5 changes: 5 additions & 0 deletions docs/docs-beta/docs/tutorials/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: Dagster tutorials
---

TK
6 changes: 6 additions & 0 deletions docs/docs-beta/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,12 @@ const config: Config = {
docId: 'intro',
position: 'left',
},
{
label: 'Tutorials',
type: 'doc',
docId: 'tutorials/index',
position: 'left'
},
{
label: 'Integrations',
type: 'doc',
Expand Down
25 changes: 25 additions & 0 deletions docs/docs-beta/sidebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,31 @@ const sidebars: SidebarsConfig = {
],
},
],
tutorials: [
'tutorials/index',
{
type: 'category',
label: 'Category one',
collapsed: false,
items: [
{
type: 'autogenerated',
dirName: 'tutorials/category-one'
}
]
},
{
type: 'category',
label: 'Category two',
collapsed: false,
items: [
{
type: 'autogenerated',
dirName: 'tutorials/category-two'
}
]
}
],
integrations: [
{
type: 'category',
Expand Down

1 comment on commit f0cf1f1

@github-actions
Copy link

@github-actions github-actions bot commented on f0cf1f1 Jan 3, 2025

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-beta ready!

✅ Preview
https://dagster-docs-beta-jt5f5ltq6-elementl.vercel.app

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

Please sign in to comment.