Skip to content

Commit

Permalink
revert md changes
Browse files Browse the repository at this point in the history
  • Loading branch information
PedramNavid committed Aug 21, 2024
1 parent f7a104e commit b161a6d
Show file tree
Hide file tree
Showing 66 changed files with 14,425 additions and 328 deletions.
6 changes: 4 additions & 2 deletions docs/docs-beta/.remarkrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
module.exports = {
plugins: ['remark-frontmatter'],
};
plugins: [
'remark-frontmatter',
]
}
16 changes: 8 additions & 8 deletions docs/docs-beta/.vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"recommendations": [
"dbaeumer.vscode-eslint",
"unifiedjs.vscode-mdx",
"esbenp.prettier-vscode",
"mrmlnc.vscode-remark",
"chrischinchilla.vale-vscode"
]
}
"recommendations": [
"dbaeumer.vscode-eslint",
"unifiedjs.vscode-mdx",
"esbenp.prettier-vscode",
"mrmlnc.vscode-remark",
"chrischinchilla.vale-vscode"
]
}
10 changes: 6 additions & 4 deletions docs/docs-beta/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ The documentation site is built using [Docusaurus](https://docusaurus.io/), a mo

### Installation

The site uses [pnpm](https://pnpm.io/) for package management.
The site uses [pnpm](https://pnpm.io/) for package management.
It also uses [vale](https://vale.sh/) to check for issues in the documentation.

Install dependencies with:
Expand All @@ -21,10 +21,9 @@ Code in `./src` contains custom components, styles, themes, and layouts.
Code `./content-templates` contains the templates for the documentation pages.
Code in `./docs/` is the source of truth for the documentation.

`./docs/code_examples` contains all code examples for the documentation.
`./docs/code_examples` contains all code examples for the documentation.

The docs are broken down into the following sections:

- [Tutorials](./docs/tutorials/)
- [Guides](./docs/guides/)
- [Concepts](./docs/concepts/)
Expand All @@ -41,6 +40,7 @@ pnpm start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server. Access the website at [http://localhost:3050](http://localhost:3050).


To lint the documentation for issues:

```bash
Expand All @@ -53,6 +53,8 @@ To autofix linting issues and format with prettier:
pnpm lint:fix
```



### Build

To build the site for production:
Expand All @@ -61,4 +63,4 @@ To build the site for production:
pnpm build
```

This command generates static content into the `build` directory and can be served using any static contents hosting service.
This command generates static content into the `build` directory and can be served using any static contents hosting service.
35 changes: 23 additions & 12 deletions docs/docs-beta/content-templates/concept.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,45 +5,49 @@ description: ''

# [TOPIC]

This section is an intro that includes:
<!-- This section is an intro that includes:
- A brief description of what the topic is,
- An example of how it could be used in the real-world
- What it can do in the UI
-->

---

## Benefits

This section lists the benefits of using the topic, whatever it is. The items listed here should be solutions to real-world problems that the user cares about, ex:
<!-- This section lists the benefits of using the topic, whatever it is. The items listed here should be solutions to real-world problems that the user cares about, ex:
Using schedules helps you:
- Predictably process and deliver data to stakeholders and business-critical applications
- Consistently run data pipelines without the need for manual intervention
- Optimize resource usage by scheduling pipelines to run during off-peak hours
-->

Using [TOPIC] helps you:

- A benefit of the thing
<!-- - A benefit of the thing
- Another benefit
- And one more
- And one more -->

---

## Prerequisites

<!-- This section lists the prerequisites users must complete before they should/can proceed. For concepts, we should list the other concepts they should be familiar with first. -->

Before continuing, you should be familiar with:

- Ex: To use asset checks, users should understand Asset definitions first
<!-- - Ex: To use asset checks, users should understand Asset definitions first
- Another one
- One more
- One more -->

---

## How it works

This section provides a high-level overview of how the concept works without getting too into the technical details. Code can be shown here, but this section shouldn't focus on it. The goal is to help the user generally understand how the thing works and what they need to do to get it working without overwhelming them with details.
<!-- This section provides a high-level overview of how the concept works without getting too into the technical details. Code can be shown here, but this section shouldn't focus on it. The goal is to help the user generally understand how the thing works and what they need to do to get it working without overwhelming them with details.
For example, this is the How it works for Schedules:
Expand All @@ -53,33 +57,40 @@ Schedules run jobs at fixed time intervals and have two main components:
- A cron expression, which defines when the schedule runs. Simple and complex schedules are supported, allowing you to have fine-grained control over when runs are executed. With cron syntax, you can:
- Create custom schedules like Every hour from 9:00AM - 5:00PM with cron expressions (0 9-17 \* \* \*)
- Quickly create basic schedules like Every day at midnight with predefined cron definitions (@daily, @midnight)
- Create custom schedules like Every hour from 9:00AM - 5:00PM with cron expressions (0 9-17 * * *)
- Quickly create basic schedules like Every day at midnight with predefined cron definitions (@daily, @midnight)
To make creating cron expressions easier, you can use an online tool like Crontab Guru. This tool allows you to create and describe cron expressions in a human-readable format and test the execution dates produced by the expression. Note: While this tool is useful for general cron expression testing, always remember to test your schedules in Dagster to ensure the results are as expected.
To make creating cron expressions easier, you can use an online tool like Crontab Guru. This tool allows you to create and describe cron expressions in a human-readable format and test the execution dates produced by the expression. Note: While this tool is useful for general cron expression testing, always remember to test your schedules in Dagster to ensure the results are as expected.
For a schedule to run, it must be turned on and an active dagster-daemon process must be running. If you used dagster dev to start the Dagster UI/webserver, the daemon process will be automatically launched alongside the webserver.
After these criteria are met, the schedule will run at the interval specified in the cron expression. Schedules will execute in UTC by default, but you can specify a custom timezone.
-->

---

## Getting started

This section is a list of guides / links to pages to help the user get started using the topic.
<!-- This section is a list of guides / links to pages to help the user get started using the topic. -->

Check out these guides to get started with [CONCEPT]:

From here, you can:

<!-- A list of things the user can do once they've got the basics down. These could be links to additional guides, ex:
- Construct schedules to run partitioned jobs
- Execute jobs in specific timezones
- Learn to test your schedules
- Identify and resolve common issues with our troubleshooting guide -->

### Limitations [and notes]

<!-- This section should describe any known limitations that could impact the user, ex: "Schedules will execute in UTC unless a timezone is specified" -->

---

## Related

A list of related links and resources
<!-- A list of related links and resources -->
6 changes: 6 additions & 0 deletions docs/docs-beta/content-templates/example-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,17 @@ This reference contains a variety of examples using Dagster [TOPIC]. Each exampl

[This example demonstrates [description of what the example accomplishes]

<!-- Example: This example demonstrates how to use resources in schedules. To specify a resource dependency, annotate the resource as a parameter to the schedule's function. -->

```python title="my_schedule.py"
@schedule(job=my_job, cron_schedule="* * * * *")
def logs_then_skips(context):
context.log.info("Logging from a schedule!")
return SkipReason("Nothing to do")
```

<!-- We need to fix the base table implemenatation before launch. This is a must. -->

| | |
| -------------------- | --- |
| Notes | |
Expand All @@ -33,6 +37,8 @@ def logs_then_skips(context):

---

<!-- This section lists a few additional sources of inspiration, such as DOP and GitHub discussions. You shouldn't need to change anything here. -->

import InspirationList from '../partials/\_InspirationList.md';

<InspirationList />
8 changes: 4 additions & 4 deletions docs/docs-beta/content-templates/guide-with-steps.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,20 @@ To follow the steps in this guide, you'll need:

</details>

## Step 1: Title that describes what this step will do
## Step 1: Title that describes what this step will do {#step-1}

For section / step headings:

- Titles should describe an action, ex: "Generate a token"
- Don't use gerunds (-ing) in titles, as it can cause issues with translation + SEO
- Each section heading should have an identifier that includes the word 'step' and the number of the step, ex: `#step-1`
- Each section heading should have an identifier that includes the word 'step' and the number of the step, ex: {#step-1}

### Step 1.1: Title that describes a substep
### Step 1.1: Title that describes a substep {#step-1-1}

If a step would benefit by being broken into smaller steps, follow this section's formatting
Each substep should get an H3 and start with Step N., followed by the number of the substep

## Step 2: Another step
## Step 2: Another step {#step-2}

## Next steps

Expand Down
2 changes: 1 addition & 1 deletion docs/docs-beta/docs/concepts/assets.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ title: Assets

# Assets

## Assets and ops
## Assets and Ops

Assets and ops are two different concepts in Dagster.
4 changes: 2 additions & 2 deletions docs/docs-beta/docs/concepts/assets/thinking-in-assets.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Think in assets"
title: "Thinking in assets"
sidebar_position: 10
---

# Think in assets
# Thinking in assets
8 changes: 5 additions & 3 deletions docs/docs-beta/docs/concepts/io-managers.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---
title: "I/O managers"
---
## =======

## title: "I/O managers"

# I/O managers
2 changes: 1 addition & 1 deletion docs/docs-beta/docs/concepts/understanding-assets.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: About assets
title: Understanding Assets
description: Understanding the concept of assets in Dagster
last_update:
date: 2024-08-11
Expand Down
4 changes: 2 additions & 2 deletions docs/docs-beta/docs/dagster-plus/access/rbac/teams.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Team management"
title: "Managing teams"
displayed_sidebar: "dagsterPlus"
sidebar_position: 2
---

# Team management in Dagster+
# Managing teams
4 changes: 2 additions & 2 deletions docs/docs-beta/docs/dagster-plus/access/rbac/users.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "User management"
title: "Managing users"
displayed_sidebar: "dagsterPlus"
sidebar_position: 1
---

# User management in Dagster+
# Managing users
2 changes: 1 addition & 1 deletion docs/docs-beta/docs/dagster-plus/deployment/alerts.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
title: "Dagster+ alerts"
---

# Dagster+ alerts
# DAgster+ alerts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: "Change Tracking in Branch Deployments"
title: "Branch Deployment Change Tracking"
displayed_sidebar: "dagsterPlus"
sidebar_position: 4
sidebar_label: "Change Tracking"
---

# Change Tracking in Branch Deployments
# Using Change Tracking
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ sidebar_position: 3
sidebar_label: "dagster-cloud CLI"
---

# Use Branch Deployments with the dagster-cloud CLI
# Using Branch Deployments with the dagster-cloud CLI
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ sidebar_position: 1
sidebar_label: "GitHub"
---

# Use Branch Deployments with GitHub
# Using Branch Deployments with GitHub
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ sidebar_position: 2
sidebar_label: "Gitlab"
---

# Use Branch Deployments with Gitlab
# Using Branch Deployments with Gitlab
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: "Set environment variables using agent config"
title: "Setting environment variables using agent config"
displayed_sidebar: "dagsterPlus"
sidebar_position: 2
sidebar_label: "Set with agent config"
---

# Set environment variables using agent config
# Setting environment variables using agent config
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: "Set environment variables with the Dagster+ UI"
title: "Setting environment variables with the Dagster+ UI"
displayed_sidebar: "dagsterPlus"
sidebar_position: 1
sidebar_label: "Set with Dagster+ UI"
---

# Set environment variables with the Dagster+ UI
# Setting environment variables with the Dagster+ UI
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ displayed_sidebar: "dagsterPlus"
sidebar_position: 50
---

# Use multiple agents with Dagster+
# Using multiple agents
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ displayed_sidebar: "dagsterPlus"
sidebar_position: 50
---

# Transition from Serverless to Hybrid
# Transitioning from Serverless to Hybrid
2 changes: 1 addition & 1 deletion docs/docs-beta/docs/dagster-plus/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ title: "Getting started with Dagster+"
displayed_sidebar: "dagsterPlus"
---

# Get started with Dagster+
# Getting started with Dagster+
4 changes: 2 additions & 2 deletions docs/docs-beta/docs/dagster-plus/insights/asset-metadata.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Integrate asset metadata into Dagster+ Insights"
title: "Integrating asset metadata into Dagster+ Insights"
sidebar_label: "Integrate asset metadata"
sidebar_position: 1
---

# Integrate asset metadata into Dagster+ Insights
# Integrating asset metadata into Dagster+ Insights
Loading

0 comments on commit b161a6d

Please sign in to comment.