Skip to content

Commit d9e9e8f

Browse files
committed
Fix check_links.py errors
Since the website is temporarily down, it was easy to find instances of absolute URLs for internal tags and replace them with relative ones. Some source code links also needed updating after their master branch was renamed to main.
1 parent 813fdcc commit d9e9e8f

File tree

11 files changed

+29
-37
lines changed

11 files changed

+29
-37
lines changed

admin/goals/index.html

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -335,12 +335,11 @@ <h3 id="Veterans">Veterans</h3>
335335
engineering is what we really want to teach you. If you can explain this
336336
year's robot code and why you designed it <i>that</i> way versus the other
337337
possible designs, you have succeeded and have likely earned a <a href=
338-
"https://frc3512.github.io/admin/varsity/">varsity letter</a>. It shows you
339-
contributed in the design phase and know the trade-offs (engineering is
340-
essentially the process of choosing the least bad design based on some
341-
criteria and justifying that choice). Our role as mentors is to show you
342-
what tools are available in the C++ language so you can make an informed
343-
design decision.</p>
338+
"../varsity/">varsity letter</a>. It shows you contributed in the design
339+
phase and know the trade-offs (engineering is essentially the process of
340+
choosing the least bad design based on some criteria and justifying that
341+
choice). Our role as mentors is to show you what tools are available in the
342+
C++ language so you can make an informed design decision.</p>
344343
</div>
345344
</body>
346345
</html>

admin/software-for-non-software-team-members/index.html

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,8 @@ <h1>Software for non-software team members</h1>
4545
<p>Since you mentioned on Tuesday that the team was putting together more
4646
formal varsity letter requirements, you may be interested in the
4747
requirements the software team has been using for the last 2+ years. They
48-
are linked on <a href=
49-
"https://frc3512.github.io/admin/">https://frc3512.github.io/admin/</a>.
50-
This email was originally intended just to mention that, but the fact that
48+
are linked on <a href="../">https://frc3512.github.io/admin/</a>. This
49+
email was originally intended just to mention that, but the fact that
5150
varsity letter requirements are even an issue implies there are more
5251
systemic issues. The rest of this email elaborates on what I mean and how I
5352
feel these issues should be addressed.</p>
@@ -99,7 +98,7 @@ <h2 id="What_leadership_should_know_about_the_software_team">What
9998
<ol>
10099
<li>We have standard operating procedures and our own set of goals. They
101100
are detailed in <a href=
102-
"https://frc3512.github.io/admin/goals/">https://frc3512.github.io/admin/goals/</a>.
101+
"../goals/">https://frc3512.github.io/admin/goals/</a>.
103102
</li>
104103
<li>Software is not magic that makes the robot move. Robots follow simple
105104
instructions and basic logic, and you can write them yourself in English
@@ -129,12 +128,12 @@ <h2 id="What_leadership_should_know_about_the_software_team">What
129128
https://github.com/frc3512</a>.
130129
</li>
131130
<li>All our curriculum is online: <a href=
132-
"https://frc3512.github.io/ci/">https://frc3512.github.io/ci/</a>.
133-
Everything the software team learns on a yearly basis is documented there
134-
somewhere. This is how we've managed to do consistently well with just
135-
one local mentor and one mentor that's typically hours away. The rest of
136-
the team should consider documenting what they know somewhere so that
137-
knowledge isn't lost every time a student graduates.
131+
"../../ci/">https://frc3512.github.io/ci/</a>. Everything the software
132+
team learns on a yearly basis is documented there somewhere. This is how
133+
we've managed to do consistently well with just one local mentor and one
134+
mentor that's typically hours away. The rest of the team should consider
135+
documenting what they know somewhere so that knowledge isn't lost every
136+
time a student graduates.
138137
</li>
139138
<li>The software team is not an IT department. When the Driver Station
140139
stops connecting to the robot, we're just as clueless as you are. We

admin/varsity/index.html

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,13 @@ <h1>Varsity letter requirements</h1>
7070
<li>Actively found ways to make meaningful contributions</li>
7171
<li>Basic knowledge
7272
<ol class="sub">
73-
<li>Is proficient in <a href=
74-
"https://frc3512.github.io/ci/intro-to-cpp/">C++</a>
73+
<li>Is proficient in <a href="../../ci/intro-to-cpp/">C++</a>
7574
</li>
7675
<li>Can use version control effectively</li>
7776
<li>Exercises <a href="../styleguide/">clean coding practices</a>
7877
</li>
79-
<li>See <a href=
80-
"https://frc3512.github.io/admin/goals/#Learning_Outcomes">our
81-
learning outcomes</a> for more
78+
<li>See <a href="../goals/#Learning_outcomes">our learning
79+
outcomes</a> for more
8280
</li>
8381
</ol>
8482
</li>

archives/angelscript/download/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<div id="content" class="textbox">
4141
<h1>Download</h1>
4242
<p><a href=
43-
"https://codeload.github.com/frc3512/ScriptRobot/zip/master">Download
43+
"https://codeload.github.com/frc3512/ScriptRobot/zip/main">Download
4444
Source</a></p>
4545
<p>&lt;Instructions here&gt;</p>
4646
</div>

ci/intro-to-cpp/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,7 @@ <h3 id="Advanced">Advanced</h3>
105105
language should read chapters 17-21 from Part III in order. They cover data
106106
structures, algorithms, memory management, and templates.</p>
107107
<h2 id="Submission">Submission</h2>
108-
<p>See the <a href="https://frc3512.github.io/ci/#Submission">CI submission
109-
instructions</a>.</p>
108+
<p>See the <a href="../#Submission">CI submission instructions</a>.</p>
110109
<p>For files which are modified between assigned problems, there should
111110
still be a separate project for each problem. For example, chapter 4's
112111
exercises 19 through 21 will have a separate project each for

ci/intro-to-git/lecture/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ <h1>Installation</h1>
8181
<ul>
8282
<li>
8383
<a href=
84-
"https://frc3512.github.io/bootstrap/#Git">https://frc3512.github.io/bootstrap/#Git</a>
84+
"../../../bootstrap/#Git">https://frc3512.github.io/bootstrap/#Git</a>
8585
</li>
8686
</ul>
8787
</section>

ci/intro-to-real-time-software/lecture/index.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,15 +201,14 @@ <h1>Resources</h1>
201201
<ul>
202202
<li>
203203
<a href=
204-
"https://frc3512.github.io/ci/intro-to-real-time-software/">https://frc3512.github.io/ci/intro-to-real-time-software/</a>
204+
"../">https://frc3512.github.io/ci/intro-to-real-time-software/</a>
205205
</li>
206206
</ul>
207207
<li>Atomics in C++</li>
208208
<ul>
209209
<li>
210210
<a href=
211-
"https://frc3512.github.io/ci/advanced-cpp/concurrency-and-atomics/">
212-
https://frc3512.github.io/ci/advanced-cpp/concurrency-and-atomics/</a>
211+
"../../advanced-cpp/concurrency-and-atomics/">https://frc3512.github.io/ci/advanced-cpp/concurrency-and-atomics/</a>
213212
</li>
214213
</ul>
215214
</ul>

ci/robot-software/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ <h3 id="Drivetrain_with_joysticks">Drivetrain with joysticks</h3>
147147
</li>
148148
</ul>
149149
<p>See <a href=
150-
"https://github.com/wpilibsuite/allwpilib/blob/master/wpilibc/src/main/native/cpp/drive/DifferentialDrive.cpp">
150+
"https://github.com/wpilibsuite/allwpilib/blob/main/wpilibc/src/main/native/cpp/drive/DifferentialDrive.cpp">
151151
DifferentialDrive.cpp</a> for examples.</p>
152152
<h3 id="Button_edge_detection">Button edge detection</h3>
153153
<p>In <code>TeleopPeriodic()</code>, performing actions when the user
@@ -253,7 +253,7 @@ <h3 id="Actuate_motor_to_several_points_quickly">Actuate motor to several
253253
instead. See the labs in the <a href="../state-machines/">state
254254
machines</a> module for examples on how to do this.</p>
255255
<p><a href=
256-
"https://github.com/wpilibsuite/allwpilib/blob/master/wpilibcExamples/src/main/cpp/examples/Encoder/cpp/Robot.cpp">
256+
"https://github.com/wpilibsuite/allwpilib/blob/main/wpilibcExamples/src/main/cpp/examples/Encoder/cpp/Robot.cpp">
257257
WPILib's encoder example</a> may be helpful.</p>
258258
<h2 id="Project_setup">Project setup</h2>
259259
<p>Each year, a new robot project will need to be created in Gerrit (our

ci/state-machines/event-framework/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,7 @@ <h2 id="Implementation">Implementation</h2>
137137
recommend adding print statements upon entering and exiting your states so
138138
the state machine's progress is externally visible.</p>
139139
<h2 id="Submission">Submission</h2>
140-
<p>See the <a href="https://frc3512.github.io/ci/#Submission">CI submission
141-
instructions</a>.</p>
140+
<p>See the <a href="../../#Submission">CI submission instructions</a>.</p>
142141
<p>Use the project name <code>event-framework</code>. Once you are
143142
confident your state machine works, let your instructor know and they will
144143
review your work.</p>

ci/state-machines/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ <h2 id="State_machines">State machines</h2>
5858
state transition. If a transition occurs, code may be executed when leaving
5959
a state. See the state machine labs for more. Our 2015 robot code had a
6060
<a href=
61-
"https://github.com/frc3512/Robot-2015/blob/master/src/main/include/StateMachine.hpp">
61+
"https://github.com/frc3512/Robot-2015/blob/main/src/main/include/StateMachine.hpp">
6262
state machine</a> class to manage state machines and a <a href=
63-
"https://github.com/frc3512/Robot-2015/blob/master/src/main/include/State.hpp">
63+
"https://github.com/frc3512/Robot-2015/blob/main/src/main/include/State.hpp">
6464
state</a> class to contain lambdas of code to perform the aforementioned
6565
actions.</p>
6666
<p>State machines can be used to automate a sequence of actions. We use
@@ -78,7 +78,7 @@ <h2 id="State_machines">State machines</h2>
7878
This verbosity is why our 2015 robot used custom state machine management
7979
classes; we only had to assign a few lambdas instead of writing boilerplate
8080
classes, like <a href=
81-
"https://github.com/frc3512/Robot-2015/blob/master/src/main/cpp/autonomous/AutoOneCanLeft.cpp">
81+
"https://github.com/frc3512/Robot-2015/blob/main/src/main/cpp/autonomous/AutoOneCanLeft.cpp">
8282
this</a>.</p>
8383
</div>
8484
</body>

0 commit comments

Comments
 (0)