Skip to content

Commit 2a98482

Browse files
committed
Enforce explicit HTTPS links
1 parent 13af5d0 commit 2a98482

File tree

5 files changed

+10
-11
lines changed

5 files changed

+10
-11
lines changed

Rakefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,10 @@ task :validate_links => [:build] do
115115
# Explanation of arguments:
116116
# --disable-external # For speed. Ideally we'd check external links too, but ignoring for now.
117117
# --ignore-missing-alt # To avoid needing to fix lots upfront, we can migrate towards this later.
118-
# --enforce-https # To avoid needing to fix lots upfront, we can migrate towards this later.
119118
# --allow-hash-href # Allow empty `#` links to mean "top of page". It's true that these can be errors, however we have far too many to really address this.
120119
# --allow-missing-href # Allow missing hrefs as we use them in the troubleshooter and rules (as anchors). It's true that these can be errors, however we have plenty which are legitimate.
121120
# --swap-urls # Adjust for Jekyll's baseurl. See https://github.com/gjtorikian/html-proofer/issues/618 for more.
122-
sh('bundle exec htmlproofer _site --disable-external true --ignore-missing-alt true --enforce-https false --allow-hash-href true --allow-missing-href true --swap-urls "^/docs/:/"')
121+
sh('bundle exec htmlproofer _site --disable-external true --ignore-missing-alt true --allow-hash-href true --allow-missing-href true --swap-urls "^/docs/:/"')
123122
end
124123

125124
task :validate_sidebar_tree => [:build] do

_config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ plugins:
1414
- jekyll-redirect-from
1515

1616
links:
17-
compete: //docs.google.com/forms/d/1Ryg2cfAxfwMOBnT01aj-fzsp51F3B182S5e53ye8aMw/viewform
18-
volunteer: //docs.google.com/forms/d/1MIGf3P30dw0QAtP8OkxK2v7VRDEAN_54JoZHCVMbqDY/viewform
19-
donate: //link.justgiving.com/v1/charity/donate/charityId/3118662?tipScheme=TipJar2.1&isRecurring=true&amount=20.00&reference=givingcheckout_tj21
17+
compete: https://docs.google.com/forms/d/1Ryg2cfAxfwMOBnT01aj-fzsp51F3B182S5e53ye8aMw/viewform
18+
volunteer: https://docs.google.com/forms/d/1MIGf3P30dw0QAtP8OkxK2v7VRDEAN_54JoZHCVMbqDY/viewform
19+
donate: https://link.justgiving.com/v1/charity/donate/charityId/3118662?tipScheme=TipJar2.1&isRecurring=true&amount=20.00&reference=givingcheckout_tj21
2020

2121
navigation:
2222
- about

_includes/footer.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ <h4>Student Robotics</h4>
3737
<p>&nbsp;</p>
3838
<p>
3939
The fantastic photos come from
40-
<a href="//www.flickr.com/photos/richardpbarlow/">Richard Barlow</a>,
41-
<a href="//www.flickr.com/photos/howiegoing/">Howard Buck</a>,
42-
<a href="//www.flickr.com/photos/theorangeone/">Jake Howard</a>,
40+
<a href="https://www.flickr.com/photos/richardpbarlow/">Richard Barlow</a>,
41+
<a href="https://www.flickr.com/photos/howiegoing/">Howard Buck</a>,
42+
<a href="https://www.flickr.com/photos/theorangeone/">Jake Howard</a>,
4343
Laurie Kirkcaldy,
4444
Anton Nikitin,
4545
Antoine Petty, and
46-
<a href="http://www.headington.org/">Headington School Oxford</a>.
46+
<a href="https://www.headington.org/">Headington School Oxford</a>.
4747
</p>
4848
</div>
4949
<div class="column d-6-12 text-right">

kit/brain_board/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ We recommend using [Etcher](https://etcher.io), as it's simple to use, and avail
7171
![Etcher example]({{ site.baseurl }}/images/content/kit/etcher.png)
7272

7373
<div class="info" markdown="1">
74-
If you choose to use a tool other than Etcher, you may need to extract the `srobo-robot-{{ latest_version }}.img.xz` to `srobo-robot-{{ latest_version }}.img`. There are many tools available for this, e.g. [7-zip](http://www.7-zip.org/).
74+
If you choose to use a tool other than Etcher, you may need to extract the `srobo-robot-{{ latest_version }}.img.xz` to `srobo-robot-{{ latest_version }}.img`. There are many tools available for this, e.g. [7-zip](https://www.7-zip.org/).
7575
</div>
7676

7777
### Flashing

programming/sr/ruggeduinos/custom_firmware.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,4 +142,4 @@ ser = serial.Serial(R.ignored_ruggeduinos[RUGGEDUINO_ID])
142142

143143
~~~~~
144144

145-
Refer to the [pyserial documentation](http://pyserial.sourceforge.net/) for more information on how to use pyserial.
145+
Refer to the [pyserial documentation](https://pyserial.readthedocs.org/en/latest/) for more information on how to use pyserial.

0 commit comments

Comments
 (0)