Skip to content

Commit 00c76a0

Browse files
committed
Make these links more clearly external
While they're hosted on our domain, these are external to this repo and so should be treated as such.
1 parent 96a6a2d commit 00c76a0

File tree

7 files changed

+27
-25
lines changed

7 files changed

+27
-25
lines changed

_includes/footer.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,25 @@
33
<div class="column d-4-12 m-2-12">
44
<h4>For Competitors</h4>
55
<ul class="sitemap">
6-
<li><a href="/teams/">Teams Dashboard</a></li>
7-
<li><a href="/ide/">IDE</a></li>
8-
<li><a href="/docs/">Documentation</a></li>
6+
<li><a href="{{ site.url }}/teams/">Teams Dashboard</a></li>
7+
<li><a href="{{ site.url }}/ide/">IDE</a></li>
8+
<li><a href="{{ site.url }}/docs/">Documentation</a></li>
99
</ul>
1010
</div>
1111
<div class="column d-4-12 m-2-12">
1212
<h4>Student Robotics</h4>
1313
<ul class="sitemap">
14-
<li><a href="/compete/">Compete</a></li>
15-
<li><a href="/volunteer/">Volunteer</a></li>
16-
<li><a href="/sponsor/">Sponsor</a></li>
14+
<li><a href="{{ site.url }}/compete/">Compete</a></li>
15+
<li><a href="{{ site.url }}/volunteer/">Volunteer</a></li>
16+
<li><a href="{{ site.url }}/sponsor/">Sponsor</a></li>
1717
</ul>
1818
</div>
1919
<div class="column d-4-12 m-2-12">
2020
<h4>&nbsp;</h4>
2121
<ul class="sitemap">
22-
<li><a href="/blog/">Blog</a></li>
23-
<li><a href="/events/">Events</a></li>
24-
<li><a href="/contact/">Contact us</a></li>
22+
<li><a href="{{ site.url }}/blog/">Blog</a></li>
23+
<li><a href="{{ site.url }}/events/">Events</a></li>
24+
<li><a href="{{ site.url }}/contact/">Contact us</a></li>
2525
</ul>
2626
</div>
2727
</div>

_includes/navigation.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66
</div>
77
<ul id="navigation" class="full-navigation mobile-collapsed">
88
<li>
9-
<a class="page-link" href="/teams/">Teams</a>
9+
<a class="page-link" href="{{ site.url }}/teams/">Teams</a>
1010
</li>
1111
<li>
12-
<a class="page-link" href="/compete/">Compete</a>
12+
<a class="page-link" href="{{ site.url }}/compete/">Compete</a>
1313
</li>
1414
<li>
15-
<a class="page-link" href="/volunteer/">Volunteer</a>
15+
<a class="page-link" href="{{ site.url }}/volunteer/">Volunteer</a>
1616
</li>
1717
<li>
18-
<a class="page-link" href="/sponsor/">Sponsor</a>
18+
<a class="page-link" href="{{ site.url }}/sponsor/">Sponsor</a>
1919
</li>
2020
</ul>
2121
</nav>

kit/wifi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Note that, because the information for your robot's WiFi network is stored insid
2727
the WiFi network will disappear when you unplug the USB memory stick. It will reappear a few moments
2828
after you plug the USB memory stick into your robot.
2929

30-
If you are having any problems connecting to your robot, just head on over to the [forum](/forum)
30+
If you are having any problems connecting to your robot, just head on over to the [forum]({{ site.url }}/forum)
3131
and ask for help.
3232

3333
Interacting With Your Robot

programming/python/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ There are a number of tutorials out there which might help you to learn to progr
2626
[Google's Python Class](https://developers.google.com/edu/python) looks to be a good tutorial which has some lecture videos to go with it.
2727

2828
* [The Official Docs](https://docs.python.org/2.7/), for the version of python on the [Odroid Brain Boards](/docs/kit/brain_board).
29-
We also host a [copy](/docs/python) of docs for the precise version (2.7.5) that it uses.
29+
We also host a [copy]({{ site.url }}/docs/python) of docs for the precise version (2.7.5) that it uses.

programming/python/libraries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ yourself.
2222
* [scipy 1.5.4](https://pypi.org/project/scipy/1.5.4/)
2323

2424
If there are other libraries you would like included, please let us know
25-
[via the forums](/forum) and include a link to the package on [PyPI](https://pypi.org/).
25+
[via the forums]({{ site.url }}/forum) and include a link to the package on [PyPI](https://pypi.org/).
2626

2727
Robot Kit
2828
---------

team_admin/user_accounts.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ title: User Accounts
77
# User Accounts
88

99
Your User Account can be used to access the various online services that we host.
10-
These include the [forums](/forum), [IDE](/ide) and, for team-leaders,
11-
a [user management interface](/userman) (see [below](#UserManagement)).
10+
These include the [forums]({{ site.url }}/forum), [IDE]({{ site.url }}/ide) and, for team-leaders,
11+
a [user management interface][userman] (see [below](#UserManagement)).
1212

1313
### Getting an Account
1414
If you don't yet have an account, you should contact your team-leader,
@@ -34,7 +34,7 @@ They will be able to tell you the details of your account, or reset your passwor
3434

3535
### Password Change
3636
If you know your password, but want to change it,
37-
you can do this using the self service side of the [user management page](/userman).
37+
you can do this using the self service side of the [user management page][userman].
3838

3939
### Other Problems
4040
If your team-leader was unable to resolve your account issue,
@@ -45,7 +45,7 @@ you can ask them to email <{{ site.emails.accounts }}> for more help.
4545

4646
### Account creation
4747

48-
To create user accounts, visit the [user management page](/userman), and
48+
To create user accounts, visit the [user management page][userman], and
4949
log in. In a column on the left, you'll see a list of users currently
5050
registered for your team. At the bottom is a link marked 'Register users'.
5151
Click on this, and you'll be presented with a form for user details.
@@ -67,7 +67,7 @@ When an account is created it starts off as a competitor account. In order to
6767
allow your fellow team leaders to have full access to the user management pages
6868
(among other things), you should change them to being a team leader account.
6969

70-
You can change the type of an account in the [user management page](/userman):
70+
You can change the type of an account in the [user management page][userman]:
7171

7272
1. Select the user in question from the list on the left hand side
7373
1. Under 'Type' change the selection to 'Team Leader'
@@ -78,7 +78,7 @@ Feel free to add as many team leader accounts as you like; there's no upper limi
7878
### Account maintenance
7979

8080
If you need to update any user account data, find their username,
81-
reset their password or so forth, first log into the [user management page](/userman).
81+
reset their password or so forth, first log into the [user management page][userman].
8282

8383
Once there, you should find the users name in the list of registered
8484
users on the left, as well as their username. To check or update their details,
@@ -94,3 +94,5 @@ forget passwords, please find their account as described above and click the
9494
a single-use link to reset their password.
9595

9696
If you forget your own password, please contact <{{ site.emails.accounts }}>.
97+
98+
[userman]: {{ site.url }}/userman/

troubleshooting/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Troubleshooting
99
If you are experiencing problems with either the Student Robotics hardware,
1010
IDE or python library you should check here first to see if there is a simple solution.
1111
If you don't find the information you need in this section you can use the
12-
[forum](/forum/) to get help with your specific problem.
12+
[forum]({{ site.url }}/forum/) to get help with your specific problem.
1313

1414
1. [`sr.robot` python library issues](/docs/troubleshooting/python) &mdash; Common problems with the `sr.robot` python library and possible solutions.
1515
2. [Interactive Troubleshooter](/docs/troubleshooting/interactive_troubleshooter) &mdash; Consider using the Interactive Troubleshooter to narrow down your problem and find a solution.
@@ -59,5 +59,5 @@ Check the docs
5959
and then forget something out of familiarity.
6060

6161
By double-checking the appropriate docs (be it for the [kit](/docs/kit),
62-
for [Python](/docs/python) or for the extra thing you've bought) you
63-
can be completely sure that you've not missed something.
62+
for [Python]({{ site.url }}/docs/python) or for the extra thing you've bought)
63+
you can be completely sure that you've not missed something.

0 commit comments

Comments
 (0)