Skip to content

Commit c3a8718

Browse files
authored
Merge pull request #181 from justwriteclick/ag-http
Update http to https
2 parents b99cfbe + 0b7e08d commit c3a8718

21 files changed

Lines changed: 89 additions & 77 deletions

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.6.2
1+
2.7.1

Gemfile.lock

Lines changed: 38 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,38 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
addressable (2.7.0)
4+
addressable (2.8.0)
55
public_suffix (>= 2.0.2, < 5.0)
66
colorator (1.1.0)
7-
concurrent-ruby (1.1.7)
7+
concurrent-ruby (1.1.9)
88
em-websocket (0.5.2)
99
eventmachine (>= 0.12.9)
1010
http_parser.rb (~> 0.6.0)
11-
ethon (0.12.0)
12-
ffi (>= 1.3.0)
11+
ethon (0.14.0)
12+
ffi (>= 1.15.0)
1313
eventmachine (1.2.7)
14-
faraday (1.3.0)
14+
faraday (1.8.0)
15+
faraday-em_http (~> 1.0)
16+
faraday-em_synchrony (~> 1.0)
17+
faraday-excon (~> 1.1)
18+
faraday-httpclient (~> 1.0.1)
1519
faraday-net_http (~> 1.0)
20+
faraday-net_http_persistent (~> 1.1)
21+
faraday-patron (~> 1.0)
22+
faraday-rack (~> 1.0)
1623
multipart-post (>= 1.2, < 3)
17-
ruby2_keywords
18-
faraday-net_http (1.0.0)
19-
ffi (1.14.2)
24+
ruby2_keywords (>= 0.0.4)
25+
faraday-em_http (1.0.0)
26+
faraday-em_synchrony (1.0.0)
27+
faraday-excon (1.1.0)
28+
faraday-httpclient (1.0.1)
29+
faraday-net_http (1.0.1)
30+
faraday-net_http_persistent (1.2.0)
31+
faraday-patron (1.0.0)
32+
faraday-rack (1.0.0)
33+
ffi (1.15.4)
2034
forwardable-extended (2.6.0)
21-
html-proofer (3.18.5)
35+
html-proofer (3.19.2)
2236
addressable (~> 2.3)
2337
mercenary (~> 0.3)
2438
nokogumbo (~> 2.0)
@@ -27,9 +41,9 @@ GEM
2741
typhoeus (~> 1.3)
2842
yell (~> 2.0)
2943
http_parser.rb (0.6.0)
30-
i18n (1.8.7)
44+
i18n (1.8.10)
3145
concurrent-ruby (~> 1.0)
32-
jekyll (4.2.0)
46+
jekyll (4.2.1)
3347
addressable (~> 2.4)
3448
colorator (~> 1.0)
3549
em-websocket (~> 0.5)
@@ -64,37 +78,35 @@ GEM
6478
jekyll-sitemap (~> 1.3)
6579
jekyll-watch (2.2.1)
6680
listen (~> 3.0)
67-
kramdown (2.3.0)
81+
kramdown (2.3.1)
6882
rexml
6983
kramdown-parser-gfm (1.1.0)
7084
kramdown (~> 2.0)
7185
liquid (4.0.3)
72-
listen (3.4.0)
86+
listen (3.7.0)
7387
rb-fsevent (~> 0.10, >= 0.10.3)
7488
rb-inotify (~> 0.9, >= 0.9.10)
7589
mercenary (0.4.0)
76-
mini_portile2 (2.5.0)
7790
multipart-post (2.1.1)
78-
nokogiri (1.11.1)
79-
mini_portile2 (~> 2.5.0)
91+
nokogiri (1.12.5-x86_64-darwin)
8092
racc (~> 1.4)
81-
nokogumbo (2.0.4)
93+
nokogumbo (2.0.5)
8294
nokogiri (~> 1.8, >= 1.8.4)
83-
octokit (4.20.0)
95+
octokit (4.21.0)
8496
faraday (>= 0.9)
8597
sawyer (~> 0.8.0, >= 0.5.3)
86-
parallel (1.20.1)
98+
parallel (1.21.0)
8799
pathutil (0.16.2)
88100
forwardable-extended (~> 2.6)
89101
public_suffix (4.0.6)
90102
racc (1.5.2)
91103
rainbow (3.0.0)
92-
rb-fsevent (0.10.4)
104+
rb-fsevent (0.11.0)
93105
rb-inotify (0.10.1)
94106
ffi (~> 1.0)
95-
rexml (3.2.4)
96-
rouge (3.26.0)
97-
ruby2_keywords (0.0.2)
107+
rexml (3.2.5)
108+
rouge (3.26.1)
109+
ruby2_keywords (0.0.5)
98110
safe_yaml (1.0.5)
99111
sassc (2.4.0)
100112
ffi (~> 1.9)
@@ -105,15 +117,15 @@ GEM
105117
unicode-display_width (~> 1.1, >= 1.1.1)
106118
typhoeus (1.4.0)
107119
ethon (>= 0.9.0)
108-
unicode-display_width (1.7.0)
120+
unicode-display_width (1.8.0)
109121
yell (2.2.2)
110122

111123
PLATFORMS
112-
ruby
124+
x86_64-darwin-19
113125

114126
DEPENDENCIES
115127
html-proofer
116128
jekyll-theme-so-simple
117129

118130
BUNDLED WITH
119-
1.17.2
131+
2.2.28

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ You can directly submit a pull request using the fork-and-pull workflow to add a
1010

1111
Pushing to the `build` branch lets you preview the build output using Netlify. You must log into Netlify to view the preview deploy.
1212

13-
Pushing to the `master` branch builds output to https://www.docslikecode.com using Netlify. Auto publishing is on as a setting in Netlify, so deploys from master are published automatically.
13+
Pushing to the `main` branch builds output to https://www.docslikecode.com using Netlify. Auto publishing is on as a setting in Netlify, so deploys from `main` are published automatically.
1414

1515
## Theme Colophon
1616
Theme courtesy of https://mmistakes.github.io/so-simple-theme/

_data/authors.yml

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

33
anne_gentle:
44
name: Anne Gentle
5-
picture: http://docslikecode.com/images/anne_gentle.jpg
5+
picture: https://docslikecode.com/images/anne_gentle.jpg
66
github: //github.com/annegentle
77
twitter: annegentle
88
bio: "Developer Experience Manager"

_learn/01-sphinx-python-rtd.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ image:
66
caption: "Python and Sphinx"
77
---
88

9-
Sphinx works with either major versions of Python active today, Python 2 and Python 3. Python 3 is the current and recommended version, and Python 2 is an unsupported Python version. Sphinx is a documentation tool that creates HTML, CSS, and JavaScript files from [ReStructured](http://docutils.sourceforge.net/rst.html) text files.
9+
Sphinx works with either major versions of Python active today, Python 2 and Python 3. Python 3 is the current and recommended version, and Python 2 is an unsupported Python version. Sphinx is a documentation tool that creates HTML, CSS, and JavaScript files from [ReStructured](https://docutils.sourceforge.net/rst.html) text files.
1010

1111
In case you need both versions, refer to the [Downloads on the Python site](https://www.python.org/downloads/).
1212

@@ -89,7 +89,7 @@ Most people use Virtual Environments because it's a recommended practice when wo
8989
9090
## Create a Basic Sphinx Project
9191
92-
You can also get familiar with [ReStructured text](http://docutils.sourceforge.net/docs/user/rst/quickstart.html), a plain text markup syntax system that you use to write content in Sphinx documentation. Sphinx can also accept [Markdown](https://commonmark.org/help/) files.
92+
You can also get familiar with [ReStructured text](https://docutils.sourceforge.net/docs/user/rst/quickstart.html), a plain text markup syntax system that you use to write content in Sphinx documentation. Sphinx can also accept [Markdown](https://commonmark.org/help/) files.
9393
9494
1. Create a new directory for your project:
9595
```
@@ -151,4 +151,4 @@ You can also get familiar with [ReStructured text](http://docutils.sourceforge.n
151151
## Additional references
152152
153153
* [Sphinx Python Documentation Generator](https://www.sphinx-doc.org/en/stable/)
154-
* [ReStructured text documentation](http://docutils.sourceforge.net/rst.html)
154+
* [ReStructured text documentation](https://docutils.sourceforge.net/rst.html)

_learn/05-cd-for-docs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,4 @@ You can also deploy documentation sites using free hosting options as alternativ
116116
## Additional references
117117

118118
* [TravisCI Core Concepts for Beginners](https://docs.travis-ci.com/user/for-beginners)
119-
* [Convert AsciiDoc to HTML/PDF & publish to GitHub Pages with Travis CI and Asciidoctor Docker containers](http://mgreau.com/posts/2016/03/28/asciidoc-to-gh-pages-with-travis-ci-docker-asciidoctor.html)
119+
* [Convert AsciiDoc to HTML/PDF & publish to GitHub Pages with Travis CI and Asciidoctor Docker containers](https://mgreau.com/posts/2016/03/28/asciidoc-to-gh-pages-with-travis-ci-docker-asciidoctor.html)

_learn/11-print-pdf-epub-output.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ How difficult or straightforward is it to create a print or PDF format? You may
1010

1111
### Jekyll options
1212

13-
In the Jekyll Documentation Theme site, Tom Johnson suggests buying a license for Prince XML ($500) in order to create print-ready PDF files with the [Jekyll Documentation Theme](https://idratherbewriting.com/documentation-theme-jekyll/). The PDF layout and styles are set using CSS. Considering that the only gem solution, [jekyll-pdf](https://github.com/abeMedia/jekyll-pdf), makes PDF files of single pages rather than a collection, the third-party solution is probably the way to go. You could look into the [Open-Publisher](https://github.com/chrisanthropic/Open-Publisher) project, which is using Jekyll to create outputs that can be used as Pandoc inputs. [Pandoc](http://pandoc.org/) is a super handy conversion tool that can convert many formats to other formats, and has templating capabilities that can help.
13+
In the Jekyll Documentation Theme site, Tom Johnson suggests buying a license for Prince XML ($500) in order to create print-ready PDF files with the [Jekyll Documentation Theme](https://idratherbewriting.com/documentation-theme-jekyll/). The PDF layout and styles are set using CSS. Considering that the only gem solution, [jekyll-pdf](https://github.com/abeMedia/jekyll-pdf), makes PDF files of single pages rather than a collection, the third-party solution is probably the way to go. You could look into the [Open-Publisher](https://github.com/chrisanthropic/Open-Publisher) project, which is using Jekyll to create outputs that can be used as Pandoc inputs. [Pandoc](https://pandoc.org/) is a super handy conversion tool that can convert many formats to other formats, and has templating capabilities that can help.
1414

1515
### Sphinx options
1616

_posts/articles/2016-11-26-remodel-your-docs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Here are some resources to get your first punch in that punch list:
4242

4343
* Using Python Sphinx? The OpenStack docs theme has some Javascript you could re-use to pre-populate an Issue template so the reporter sends the page URL, the source URL, the git SHA of the commit for that version of the page, and the release version value. See this [docs.js snippet](https://github.com/openstack/openstackdocstheme/blob/master/openstackdocstheme/theme/openstackdocs/static/js/docs.js#L119).
4444
* Using a private repo for docs, but want to track bugs publicly? Use [Issues-only Access Permissions](https://help.github.com/articles/issues-only-access-permissions/).
45-
* Want to add a bit of code to pre-create Issues to use as comments on every page? Free yourself from Disqus comments. Try this [set of tips and sample code in a blog post](http://zpbappi.com/jekyll-with-tags-archive-and-comments-in-github-pages/).
45+
* Want to add a bit of code to pre-create Issues to use as comments on every page? Free yourself from Disqus comments. Try this [set of tips and sample code in a blog post](https://zpbappi.com/jekyll-with-tags-archive-and-comments-in-github-pages/).
4646

4747

4848
{% include sign-up.html %}

_posts/articles/2017-04-04-balsamiq-case-study-part-1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ For the next update to our docs, we decided that we needed to finally address th
5151

5252
But, of course, we didn't want to maintain seven copies of each article. We wanted to be able to write the docs once and have them show up across multiple versions.
5353

54-
A simple solution, I suppose, would have been to switch from Markdown to a file format that supports including content from one file in another (like [reStructuredText](http://docutils.sourceforge.net/rst.html) or [AsciiDoc](http://asciidoc.org/)). **But, I'm stubborn** (and Hugo doesn't support them well). I like how simple Markdown is and I wanted to see if we could achieve what we wanted without abandoning it.
54+
A simple solution, I suppose, would have been to switch from Markdown to a file format that supports including content from one file in another (like [reStructuredText](https://docutils.sourceforge.net/rst.html) or [AsciiDoc](https://asciidoc.org/)). **But, I'm stubborn** (and Hugo doesn't support them well). I like how simple Markdown is and I wanted to see if we could achieve what we wanted without abandoning it.
5555

5656
I enlisted the help of our resident [Go](https://golang.org/) expert, [Luis](https://balsamiq.com/company/#luis), and he wrote some code to do just what we wanted. This code inside one of the Hugo templates allowed us to put help files in two hidden folders (called "\_v2" and "\_v3") that would get injected into files across multiple documentation folders each time the site was generated. The end result was that users could now find the information where they expected to find it.
5757

_posts/articles/2017-04-09-balsamiq-case-study-part-2.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,16 @@ But it can be distracting to read an article when there's an endlessly-looping a
3131

3232
I came across several sites that gave users an option to play the animated GIF when they clicked on it and I thought that would be great for our docs.
3333

34-
I found a great jquery plugin that I wanted to use called [**gifplayer**](http://rubentd.com/gifplayer/).
34+
I found a great jquery plugin that I wanted to use called [**gifplayer**](https://rubentd.com/gifplayer/).
3535

36-
[![You know you want to click](https://media.balsamiq.com/images/docslikecode/gifplayer.png)](http://rubentd.com/gifplayer/).
36+
[![You know you want to click](https://media.balsamiq.com/images/docslikecode/gifplayer.png)](https://rubentd.com/gifplayer/).
3737

3838
There was just one problem. Markdown. Again.
3939

4040
Triggering the gifplayer code is as easy as adding a CSS class to an image. Like this:
4141

4242
```html
43-
<img class="gif" src="http://rubentd.com/img/banana.png">
43+
<img class="gif" src="https://rubentd.com/img/banana.png">
4444
```
4545

4646
But native Markdown doesn't support adding CSS. Of course, Markdown *does* support inline HTML, and we *could* have just written HTML whenever we wanted to add an animated GIF. But, again, **I'm stubborn**. I like my Markdown to be clean. I didn't want to go down a slippery slope of adding special cases for departing from pure Markdown.
@@ -60,11 +60,11 @@ Like this:
6060
So, now, if we write:
6161

6262
```markdown
63-
![gif](http://rubentd.com/img/banana.png)
63+
![gif](https://rubentd.com/img/banana.png)
6464
```
6565
it triggers the gifplayer script!
6666

67-
![party](http://rubentd.com/img/banana.gif)
67+
![party](https://rubentd.com/img/banana.gif)
6868

6969
Sorry, we didn't implement the pause/play capability on this site, so that banana is gonna keep on dancing. You can see the pause/play solution in action on our Balsamiq article on [common workarounds](https://support.balsamiq.com/tutorials/workarounds/#link-to-alternates).
7070

0 commit comments

Comments
 (0)