Skip to content

Commit 2841c22

Browse files
committed
replace {{site.baseurl}} with /on-demand when it was embedded in full link
1 parent b0037b1 commit 2841c22

File tree

8 files changed

+28
-28
lines changed

8 files changed

+28
-28
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
<If new idea or direction, please create a checklist of proposed ideas or next steps. [Example](https://github.com/github/training-kit/issues/415).>
1212

1313
### How to Contribute
14-
- [ ] Comment on this issue if you'd like to work/collaborate on it!
14+
- [ ] Comment on this issue if you'd like to work/collaborate on it!
1515
- [ ] Fork the [repository](https://github.com/github/training-kit).
16-
- [ ] Use the [GitHub Flow](https://guides.github.com/introduction/flow/) to make changes to your fork. [This](https://services.github.com{{site.baseurl}}/intro-to-github/) is a refresher course if you're unsure about how to make a change on GitHub.
17-
- [ ] Push your changes to your repository.
16+
- [ ] Use the [GitHub Flow](https://guides.github.com/introduction/flow/) to make changes to your fork. [This](https://services.github.com/on-demand/intro-to-github/) is a refresher course if you're unsure about how to make a change on GitHub.
17+
- [ ] Push your changes to your repository.
1818
- [ ] Submit a Pull Request
1919
- Base Dropdown: github/training-kit
2020
- Compare Dropdown: Your fork
@@ -26,7 +26,7 @@ If you'd like to make and test changes locally (and see how they would look if m
2626
- [Install Ruby](https://www.ruby-lang.org/en/documentation/installation/)
2727
- [ ] Run `script/setup`
2828
- [ ] Run `script/server`.
29-
- When successful, the script will initiate a local server at `http://127.0.0.1:4000{{site.baseurl}}`.
29+
- When successful, the script will initiate a local server at `http://127.0.0.1:4000/on-demand`.
3030

3131
### Questions?
3232
- Leave a comment on this issue! Make sure to use @ mentions if you want a specific person's attention!

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
# GitHub Training Kit
66
### Home of GitHub's On-Demand training
77

8-
This repository contains the completely open source on-demand training hosted at https://services.github.com{{site.baseurl}}/. These materials are provided under a [_Creative Commons License_ license](https://github.com/github/training-kit/blob/master/LICENSE).
8+
This repository contains the completely open source on-demand training hosted at https://services.github.com/on-demand/. These materials are provided under a [_Creative Commons License_ license](https://github.com/github/training-kit/blob/master/LICENSE).
99

1010
## We :heart: Contributors Like You!
1111

1212
**We’re eager to work with you**, our user community to improve these materials and develop new ones. Here's how you can help:
1313

14-
- **You spotted a mistake:** please feel free to fork the repository and submit a change via Pull Request (not sure how to do that, [we have a course for you](https://services.github.com{{site.baseurl}})).
14+
- **You spotted a mistake:** please feel free to fork the repository and submit a change via Pull Request (not sure how to do that, [we have a course for you](https://services.github.com/on-demand)).
1515
- **You have an idea to make it better:** we :heart: new ideas! We invite you to open a new [Issue](https://github.com/github/training-kit/issues) if you want to talk about it, or you can [fork this repository](https://help.github.com/articles/working-with-forks/) and submit your idea via a Pull Request.
1616
- **You just want to help:** check out the [open issues](https://github.com/github/training-kit/issues) for projects you can tackle, review an [open pull request](https://github.com/github/training-kit/pulls), or check out [the project ROADMAP](https://github.com/github/training-kit/projects/1).
1717

@@ -21,8 +21,8 @@ For more information on contributing to this repository, check out our [CONTRIBU
2121

2222
This repository contains three primary resources:
2323

24-
- Our current [on-demand courses](https://services.github.com{{site.baseurl}}/) can be found in the [paths directory](/paths)
25-
- The translations of our popular [Git Cheat Sheets](https://services.github.com{{site.baseurl}}/downloads/github-git-cheat-sheet.pdf) can be found in the [downloads directory](/downloads). We're always looking for more. _P.S._ Right now the PDF generation is a manual process so please mention @github/services-training for assistance in getting your translation moved to the PDF.
24+
- Our current [on-demand courses](https://services.github.com/on-demand/) can be found in the [paths directory](/paths)
25+
- The translations of our popular [Git Cheat Sheets](https://services.github.com/on-demand/downloads/github-git-cheat-sheet.pdf) can be found in the [downloads directory](/downloads). We're always looking for more. _P.S._ Right now the PDF generation is a manual process so please mention @github/services-training for assistance in getting your translation moved to the PDF.
2626
- The recommended Training Path can be found [here](https://services.github.com/resources/learning-path/).
2727

2828
## Our Content Philosophy
@@ -47,7 +47,7 @@ To perform a build of the materials perform the following:
4747

4848
1. Run `script/setup`
4949
1. Run `script/server`.
50-
- When successful, the script will initiate a local server at `http://127.0.0.1:4000{{site.baseurl}}`.
50+
- When successful, the script will initiate a local server at `http://127.0.0.1:4000/on-demand`.
5151
1. Simply paste that into your favorite web-browser and you will be ready to test.
5252
1. You'll also need to run the following script to compile the SCSS (you can remove the `watch` flag if desired):
5353
```
@@ -69,7 +69,7 @@ If you'd like to have a copy of the files to be served from a web server inside
6969
Site content is licensed under [CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/). CC-BY-4.0 gives you permission to use content for almost any purpose but does not grant you any trademark permissions, so long as you note the license and give credit, such as follows:
7070

7171
> Content based on
72-
> <a href="https://services.github.com{{site.baseurl}}/">services.github.com{{site.baseurl}}</a>
72+
> <a href="https://services.github.com/on-demand/">services.github.com/on-demand</a>
7373
> used under the
7474
> <a href="https://creativecommons.org/licenses/by/4.0/">CC-BY-4.0</a>
7575
> license.</a>

_includes/refresh/github-CLI/pull-request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
### Push Your Branch
22

33
1. To push your local commits to the remote, use the following command: `git push -u origin BRANCH-NAME`
4-
1. Open your preferred web browser and access `https://github.com/githubschool{{site.baseurl}}-github-pages/`.
4+
1. Open your preferred web browser and access `https://github.com/githubschool/on-demand-github-pages/`.
55

66
### Create a Pull Request
77

_includes/scripts.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232

3333
$('#github_chart_1').github_graph( {
34-
data: 'https://githubschool.github.io{{site.baseurl}}-github-pages/createDirectory.json' ,
34+
data: 'https://githubschool.github.io/on-demand-github-pages/createDirectory.json' ,
3535
texts: ['site added to our directory','sites added to our directory'],
3636
link: 'this is the link'
3737
});

paths/git-trouble/fc-scenarios.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ sidebar:
1010
nav: "advanced"
1111
main-content: |
1212
13-
Unlike our other [courses](https://services.github.com{{site.baseurl}}/), this course doesn't follow a linear path and you can jump into any of the different scenarios provided. So `git` ready to learn about how to get out of trouble with a healthy dose of terrible `git` puns.
13+
Unlike our other [courses](https://services.github.com/on-demand/), this course doesn't follow a linear path and you can jump into any of the different scenarios provided. So `git` ready to learn about how to get out of trouble with a healthy dose of terrible `git` puns.
1414
1515
## [Too Many (small) Git Commits!](../git-trouble/too-many-commits)
1616

paths/windows/00-intro.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ sidebar:
1111
main-content: |
1212
Using Git on Microsoft Windows isn't difficult, this course was created to help new or inexperienced users from Windows get up and running with Git as quickly as possible. Although this course **will** identify how to install and configure Git to work on your computer, it **will not** go into a typical workflow, those instructions can be found in the following classes available on the GitHub Training On Demand website:
1313
14-
- [GitHub 101: Introduction to GitHub](https://services.github.com{{site.baseurl}}/intro-to-github/)
15-
- [GitHub 102: Using GitHub Desktop](https://services.github.com{{site.baseurl}}/github-desktop/)
16-
- [GitHub 103: Using the Command Line](https://services.github.com{{site.baseurl}}/github-cli/)
17-
- [Git Out of Trouble](https://services.github.com{{site.baseurl}}/git-trouble)
14+
- [GitHub 101: Introduction to GitHub](https://services.github.com/on-demand/intro-to-github/)
15+
- [GitHub 102: Using GitHub Desktop](https://services.github.com/on-demand/github-desktop/)
16+
- [GitHub 103: Using the Command Line](https://services.github.com/on-demand/github-cli/)
17+
- [Git Out of Trouble](https://services.github.com/on-demand/git-trouble)
1818
1919
Use the table of contents on the left side of the screen to navigate through the different setup and configuration steps.
2020

paths/windows/04-closing.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ sidebar:
1010
main-content: |
1111
Congratulations you just completed the Windows course! Now that you have your Windows development environment all setup, the GitHub Training team would like to provide links to help learn Git and GitHub, terminal applications, and how to get out of sticky situations:
1212
13-
- **[GitHub 101: Introduction to GitHub](https://services.github.com{{site.baseurl}}/intro-to-github/)** learn the GitHub UI, how Issues and Pull Requests work, and the GitHub Flow.
14-
- **[GitHub 102: Using GitHub Desktop](https://services.github.com{{site.baseurl}}/github-desktop/)** learn how to use GitHub Desktop when creating commits and synchronizing changes with the `pull` and `push` commands via Sync.
15-
- **[GitHub 103: Using the Command Line](https://services.github.com{{site.baseurl}}/github-cli/)** learn how to leave GUI environments when working with Git and `push` and `pull` changes right from your terminal application.
16-
- **[Git Out of Trouble](https://services.github.com{{site.baseurl}}/git-trouble)** learn how to use those commands that you found on Stack Overflow when you encountered an issue during your workflow.
17-
- **[Git and GitHub Training Path](https://services.github.com{{site.baseurl}}/path)** want to dive a little deeper into Git? This provides links to other resources that give a little more context to Git and the GitHub Workflow.
13+
- **[GitHub 101: Introduction to GitHub](https://services.github.com/on-demand/intro-to-github/)** learn the GitHub UI, how Issues and Pull Requests work, and the GitHub Flow.
14+
- **[GitHub 102: Using GitHub Desktop](https://services.github.com/on-demand/github-desktop/)** learn how to use GitHub Desktop when creating commits and synchronizing changes with the `pull` and `push` commands via Sync.
15+
- **[GitHub 103: Using the Command Line](https://services.github.com/on-demand/github-cli/)** learn how to leave GUI environments when working with Git and `push` and `pull` changes right from your terminal application.
16+
- **[Git Out of Trouble](https://services.github.com/on-demand/git-trouble)** learn how to use those commands that you found on Stack Overflow when you encountered an issue during your workflow.
17+
- **[Git and GitHub Training Path](https://services.github.com/on-demand/path)** want to dive a little deeper into Git? This provides links to other resources that give a little more context to Git and the GitHub Workflow.
1818
1919
---

resources/learning-path/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,17 @@ <h2><a id="Just_Getting_Started_4"></a>Just Getting Started</h2>
3131
<tbody>
3232
<tr>
3333
<td>Exercise</td>
34-
<td><a href="https://services.github.com{{site.baseurl}}/intro-to-github/">On Demand: Introduction to GitHub</a></td>
34+
<td><a href="https://services.github.com/on-demand/intro-to-github/">On Demand: Introduction to GitHub</a></td>
3535
<td>30 minutes</td>
3636
</tr>
3737
<tr>
3838
<td>Exercise</td>
39-
<td><a href="https://services.github.com{{site.baseurl}}/github-desktop/">On Demand: GitHub Pages from Desktop</a></td>
39+
<td><a href="https://services.github.com/on-demand/github-desktop/">On Demand: GitHub Pages from Desktop</a></td>
4040
<td>30 minutes</td>
4141
</tr>
4242
<tr>
4343
<td>Exercise</td>
44-
<td><a href="https://services.github.com{{site.baseurl}}/windows/">On Demand: GitHub for Windows</a></td>
44+
<td><a href="https://services.github.com/on-demand/windows/">On Demand: GitHub for Windows</a></td>
4545
<td>30 minutes</td>
4646
</tr>
4747
<tr>
@@ -63,7 +63,7 @@ <h2><a id="Ready_for_Next_Steps_14"></a>Ready for Next Steps</h2>
6363
<tbody>
6464
<tr>
6565
<td>Exercise</td>
66-
<td><a href="https://services.github.com{{site.baseurl}}/github-cli/">On Demand: GitHub Pages from the Command Line</a></td>
66+
<td><a href="https://services.github.com/on-demand/github-cli/">On Demand: GitHub Pages from the Command Line</a></td>
6767
<td>30 minutes</td>
6868
</tr>
6969
<tr>
@@ -142,7 +142,7 @@ <h2><a id="Already_Comfortable_Ready_for_the_Harder_Stuff_35"></a>Already Comfor
142142
</tr>
143143
<tr>
144144
<td>Exercise</td>
145-
<td><a href="https://services.github.com{{site.baseurl}}/git-trouble/">On Demand: Git Out of Trouble</a></td>
145+
<td><a href="https://services.github.com/on-demand/git-trouble/">On Demand: Git Out of Trouble</a></td>
146146
<td>30 minutes</td>
147147
</tr>
148148
<tr>
@@ -162,7 +162,7 @@ <h2><a id="Already_Comfortable_Ready_for_the_Harder_Stuff_35"></a>Already Comfor
162162
</tr>
163163
<tr>
164164
<td>Exercise</td>
165-
<td><a href="https://services.github.com{{site.baseurl}}/graphql/">On Demand: Introduction to GraphQL</a></td>
165+
<td><a href="https://services.github.com/on-demand/graphql/">On Demand: Introduction to GraphQL</a></td>
166166
<td>30 minutes</td>
167167
</tr>
168168
<tr>

0 commit comments

Comments
 (0)