Skip to content

Commit

Permalink
Fixed some title and heading issues
Browse files Browse the repository at this point in the history
  • Loading branch information
dashohoxha committed Oct 4, 2019
1 parent ef5373f commit 34eb0cf
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 17 deletions.
6 changes: 6 additions & 0 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ app.prepare().then(() => {
Location: req.url.replace('commands-reference', 'command-reference')
})
res.end()
} else if (pathname == '/doc/tutorial') {
// TMP: path /doc/tutorial -> /doc/tutorials/tutorial
res.writeHead(302, {
Location: req.url.replace('/doc/tutorial', '/doc/tutorials/tutorial')
})
res.end()
} else if (/^\/doc.*/i.test(pathname)) {
// path /doc* -> /doc
let normalized_pathname = pathname.replace(/^\/doc[^?\/]*/i, '/doc')
Expand Down
21 changes: 17 additions & 4 deletions src/Documentation/sidebar.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,25 @@
"slug": "tutorials",
"source": "tutorials/index.md",
"children": [
"basics",
"interactive",
"versioning",
"pipelines",
{
"slug": "basics",
"label": "Interactive: Basics"
},
{
"slug": "interactive",
"label": "Interactive: Tutorials"
},
{
"slug": "versioning",
"label": "Data Versioning"
},
{
"slug": "pipelines",
"label": "Stages and Pipelines"
},
{
"slug": "tutorial",
"label": "Longer Tutorial",
"source": "tutorial/index.md",
"children": [
"preparation",
Expand Down
2 changes: 1 addition & 1 deletion static/docs/tutorials/basics.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# DVC Basic Concepts and Features
# Basic Concepts

Learn basic concepts and features of DVC with interactive lessons:

Expand Down
24 changes: 14 additions & 10 deletions static/docs/tutorials/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# DVC Basic Concepts and Features
# Tutorials

## Basic Concepts

Learn basic concepts and features of DVC with interactive lessons:

Expand All @@ -21,33 +23,35 @@ Learn basic concepts and features of DVC with interactive lessons:
<br/> DVC has a built-in way to connect ML steps into a DAG and run the full
pipeline end-to-end.

# Interactive Tutorials
## Interactive Tutorials

Learn how DVC can be used in simple ML scenarios:

1. [Data Versioning](https://katacoda.com/dvc/courses/tutorials/versioning)
<br/> Using DVC commands to work with multiple versions of datasets and ML
models.

2. [Pipelines](https://katacoda.com/dvc/courses/tutorials/pipelines) <br/> Using
DVC commands to build a simple ML pipeline.
2. [Stages and Pipelines](https://katacoda.com/dvc/courses/tutorials/pipelines)
<br/> Using DVC commands to build a simple ML pipeline.

3. [dvc fetch](https://katacoda.com/dvc/courses/examples) <br/> We will use an
example project with some data, code, ML models, pipeline stages, as well as
a few Git tags. Then we will see what happens with dvc fetch as we switch
from tag to tag.

# Native Tutorials
## Native Tutorials

1. [Versioning](/docs/tutorials/versioning) <br/> Using DVC commands to work
with multiple versions of datasets and ML models.
1. [Data Versioning](/docs/tutorials/versioning) <br/> Using DVC commands to
work with multiple versions of datasets and ML models.

2. [Pipelines](/docs/tutorials/pipelines) <br/> Using DVC commands to build a
simple ML pipeline.
2. [Stages and Pipelines](/docs/tutorials/pipelines) <br/> Using DVC commands to
build a simple ML pipeline.

3. [Longer Tutorial](/docs/tutorials/tutorial) <br/> Introduces DVC
step-by-step, while additionally explaining in great detail the motivation
and what's happening internally.

# Community Blogs and Tutorials
## Community Tutorials

- [Data Version Control Tutorial](https://blog.dataversioncontrol.com/data-version-control-tutorial-9146715eda46)

Expand Down
6 changes: 4 additions & 2 deletions static/docs/tutorials/interactive.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# Interactive Tutorials

Learn how DVC can be used in simple ML scenarios:

1. [Data Versioning](https://katacoda.com/dvc/courses/tutorials/versioning)
<br/> Using DVC commands to work with multiple versions of datasets and ML
models.

2. [Pipelines](https://katacoda.com/dvc/courses/tutorials/pipelines) <br/> Using
DVC commands to build a simple ML pipeline.
2. [Stages and Pipelines](https://katacoda.com/dvc/courses/tutorials/pipelines)
<br/> Using DVC commands to build a simple ML pipeline.

3. [dvc fetch](https://katacoda.com/dvc/courses/examples) <br/> We will use an
example project with some data, code, ML models, pipeline stages, as well as
Expand Down

0 comments on commit 34eb0cf

Please sign in to comment.