From 2205c18ac754e18bba377bdcd2e47fd30e525150 Mon Sep 17 00:00:00 2001
From: Jennifer Shehane <shehane.jennifer@gmail.com>
Date: Thu, 2 Nov 2017 10:09:11 -0400
Subject: [PATCH 1/2] Update first tutorials filename from 'introduction' to
 less generic 'introduction-to-tutorials'

- Add more redirects that lead to first tutorials introduction.
- close #201
- close #202
---
 _config.yml                                                 | 6 +++++-
 cypress/integration/main_spec.coffee                        | 2 +-
 cypress/integration/tutorials_spec.coffee                   | 2 +-
 source/_data/sidebar.yml                                    | 2 +-
 .../{introduction.md => introduction-to-tutorials.md}       | 2 +-
 themes/cypress/languages/en.yml                             | 2 +-
 6 files changed, 10 insertions(+), 6 deletions(-)
 rename source/tutorials/test-a-react-todo-app/{introduction.md => introduction-to-tutorials.md} (94%)

diff --git a/_config.yml b/_config.yml
index a62a285df5..1ffd3db989 100644
--- a/_config.yml
+++ b/_config.yml
@@ -46,7 +46,11 @@ alias:
   api/commands/cypress-blob.html: api/utilities/blob.html
   api/commands/api-server.html: api/cypress-api/cypress-server.html
 
-  tutorials/index.html: tutorials/test-a-react-todo-app/introduction.html
+  tutorials/index.html: tutorials/test-a-react-todo-app/introduction-to-tutorials.html
+  tutorials/test-a-react-todo-app/introduction/: tutorials/test-a-react-todo-app/introduction-to-tutorials.html
+  tutorials/test-a-react-todo-app/introduction.html: tutorials/test-a-react-todo-app/introduction-to-tutorials.html
+  tutorials/test-a-react-todo-app/: tutorials/test-a-react-todo-app/introduction-to-tutorials.html
+  tutorials/: tutorials/test-a-react-todo-app/introduction-to-tutorials.html
 
   examples/index.html: examples/recipes/unit-testing-recipe.html
 
diff --git a/cypress/integration/main_spec.coffee b/cypress/integration/main_spec.coffee
index e126cde463..ab7a7f7f65 100644
--- a/cypress/integration/main_spec.coffee
+++ b/cypress/integration/main_spec.coffee
@@ -3,7 +3,7 @@ _ = require('lodash')
 
 GUIDES_PATH = "/guides/overview/why-cypress"
 API_PATH = "/api/introduction/api"
-TUTORIALS_PATH = "/tutorials/test-a-react-todo-app/introduction"
+TUTORIALS_PATH = "/tutorials/test-a-react-todo-app/introduction-to-tutorials"
 EXAMPLES_PATH = "/examples/recipes/unit-testing-recipe"
 DASHBOARD_PATH = "/dashboard/overview/features-dashboard"
 FAQ_PATH = "/faq/questions/general-questions-faq"
diff --git a/cypress/integration/tutorials_spec.coffee b/cypress/integration/tutorials_spec.coffee
index 1ede0ad3bf..788756792a 100644
--- a/cypress/integration/tutorials_spec.coffee
+++ b/cypress/integration/tutorials_spec.coffee
@@ -2,7 +2,7 @@ YAML = require('yamljs')
 _ = require('lodash')
 {improveUrl} = require('./repo.coffee')
 
-TUTORIALS_PATH = "/tutorials/test-a-react-todo-app/introduction"
+TUTORIALS_PATH = "/tutorials/test-a-react-todo-app/introduction-to-tutorials"
 
 describe "Tutorials", ->
   beforeEach ->
diff --git a/source/_data/sidebar.yml b/source/_data/sidebar.yml
index 24f1980b84..70cecb5e82 100644
--- a/source/_data/sidebar.yml
+++ b/source/_data/sidebar.yml
@@ -149,7 +149,7 @@ api:
 
 tutorials:
   test-a-react-todo-app:
-    introduction: introduction.html
+    introduction-to-tutorials: introduction-to-tutorials.html
     project-setup: project-setup.html
     testing-inputs: testing-inputs.html
 
diff --git a/source/tutorials/test-a-react-todo-app/introduction.md b/source/tutorials/test-a-react-todo-app/introduction-to-tutorials.md
similarity index 94%
rename from source/tutorials/test-a-react-todo-app/introduction.md
rename to source/tutorials/test-a-react-todo-app/introduction-to-tutorials.md
index de8d5ee91a..715a813d08 100644
--- a/source/tutorials/test-a-react-todo-app/introduction.md
+++ b/source/tutorials/test-a-react-todo-app/introduction-to-tutorials.md
@@ -17,4 +17,4 @@ We have a lot of ground to cover, so let's get started!
 | -- | -- |
 | {% url "Project setup" project-setup %} | {% fa fa-video-camera %} 3:52 |
 | {% url "Testing inputs" testing-inputs %} | {% fa fa-video-camera %} 7:17 |
-| More tutorials to come! | {% fa fa-video-camera %} -:--|
+| More tutorials to come! | |
diff --git a/themes/cypress/languages/en.yml b/themes/cypress/languages/en.yml
index 4ac3eeec89..dff34cb405 100644
--- a/themes/cypress/languages/en.yml
+++ b/themes/cypress/languages/en.yml
@@ -173,7 +173,7 @@ sidebar:
     cypress-server: Server
   tutorials:
     test-a-react-todo-app: Test a React Todo App
-    introduction: Introduction
+    introduction-to-tutorials: Introduction
     project-setup: Project setup
     testing-inputs: Testing text inputs
   examples:

From 803a09e382d4141c20eed9b8f88d90ce7869f067 Mon Sep 17 00:00:00 2001
From: Jennifer Shehane <shehane.jennifer@gmail.com>
Date: Thu, 2 Nov 2017 10:20:22 -0400
Subject: [PATCH 2/2] missed a link, thank you tests!

---
 source/_data/main-menu.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source/_data/main-menu.yml b/source/_data/main-menu.yml
index 872a5a337f..24b03dc21e 100644
--- a/source/_data/main-menu.yml
+++ b/source/_data/main-menu.yml
@@ -1,6 +1,6 @@
 guides: /guides/overview/why-cypress.html
 api: /api/introduction/api.html
-tutorials: /tutorials/test-a-react-todo-app/introduction.html
+tutorials: /tutorials/test-a-react-todo-app/introduction-to-tutorials.html
 examples: /examples/recipes/unit-testing-recipe.html
 dashboard: /dashboard/overview/features-dashboard.html
 faq: /faq/questions/general-questions-faq.html