Skip to content

Commit 8ce982d

Browse files
Fix a lot of broken links in docs
1 parent d8bac90 commit 8ce982d

38 files changed

+142
-151
lines changed

docs/_includes/development-sidebar.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
<dl class="nav-sidebar">
22

33
{% if page.title == "Development" %}<dt class="active">{% else %}<dt>{% endif %}
4-
<a href="{{site.url}}/development">Introduction</a>
4+
<a href="{{ "/development" | relative_url }}">Introduction</a>
55
</dt>
66
{% if page.title == "Development" %}<dd class="active">{% else %}<dd>{% endif %}
77
The very basics
88
</dd>
99

1010
{% if page.title == "Changelog" or page.layout == "changelog" %}<dt class="active">{% else %}<dt>{% endif %}
11-
<a href="{{site.url}}/development/changelog">Changelog</a>
11+
<a href="{{ "/development/changelog" | relative_url }}">Changelog</a>
1212
</dt>
1313
{% if page.title == "Changelog" or page.layout == "changelog" %}<dd class="active">{% else %}<dd>{% endif %}
1414
The story so far
1515
</dd>
1616

1717
{% if page.title == "Roadmap" %}<dt class="active">{% else %}<dt>{% endif %}
18-
<a href="{{site.url}}/development/roadmap">Roadmap</a>
18+
<a href="{{ "/development/roadmap" | relative_url }}">Roadmap</a>
1919
</dt>
2020
{% if page.title == "Roadmap" %}<dd class="active">{% else %}<dd>{% endif %}
2121
The plan for the the future

docs/_includes/footer.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
</div>
1515
</footer>
1616

17-
<script src="{{site.url}}/javascript/flatstrap/jquery.js"></script>
18-
<script src="{{site.url}}/javascript/flatstrap/bootstrap.min.js"></script>
17+
<script src="{{ "/javascript/flatstrap/jquery.js" | relative_url }}"></script>
18+
<script src="{{ "/javascript/flatstrap/bootstrap.min.js" | relative_url }}"></script>
1919

2020
</body>
2121
</html>

docs/_includes/header.html

+7-7
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
<head>
44
<meta charset="utf-8" />
55
<meta property="og:title" content="{{page.title}}" />
6-
<meta property="og:url" content="{{site.url}}{{page.url}}" />
6+
<meta property="og:url" content="{{ "{{page.url}}" | relative_url }}" />
77
<meta property="og:type" content="website" />
88
<title>{{page.title}}</title>
99

1010
<link href='https://fonts.googleapis.com/css?family=Inconsolata:400,700' rel='stylesheet' type='text/css'>
1111
<link href='https://fonts.googleapis.com/css?family=Arvo' rel='stylesheet' type='text/css'>
1212

13-
<link href="{{ site.url }}/stylesheets/flatstrap.css" rel="stylesheet" />
14-
<link href="{{ site.url }}/stylesheets/ppl.css" rel="stylesheet" type="text/css" />
13+
<link href="{{ "/stylesheets/flatstrap.css" | relative_url }}" rel="stylesheet" />
14+
<link href="{{ "/stylesheets/ppl.css" | relative_url }}" rel="stylesheet" type="text/css" />
1515
</head>
1616
<body>
1717

@@ -20,18 +20,18 @@
2020
<div class="container">
2121

2222
{% if page.url != "/index.html" %}
23-
<a class="brand" href="{{site.url}}/">ppl</a>
23+
<a class="brand" href="{{ "/" | relative_url }}">ppl</a>
2424
{% endif %}
2525

2626
<ul class="nav pull-right">
2727
{% if page.section == "documentation" %}<li class="active">{% else %}<li>{% endif %}
28-
<a href="{{site.url}}/documentation">Documentation</a>
28+
<a href="{{ "/documentation" | relative_url }}">Documentation</a>
2929
</li>
3030
{% if page.section == "news" %}<li class="active">{% else %}<li>{% endif %}
31-
<a href="{{site.url}}/news">News</a>
31+
<a href="{{ "/news" | relative_url }}">News</a>
3232
</li>
3333
{% if page.section == "development" %}<li class="active">{% else %}<li>{% endif %}
34-
<a href="{{site.url}}/development">Development</a>
34+
<a href="{{ "/development" | relative_url }}">Development</a>
3535
</li>
3636
</ul>
3737
</div>

docs/_includes/news.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ <h2>
1818
<dl class="nav-sidebar">
1919
{% for post in site.categories.news %}
2020
{% if post.url == page.url %}<dt class="active">{% else %}<dt>{% endif %}
21-
<a href="{{post.url}}">
21+
<a href="{{ post.url | relative_url }}">
2222
{{post.title}}
2323
</a>
2424
</dt>

docs/_includes/tip.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ <h2>
2525
to the core documentation, under your own name and with an attribution
2626
link? If you've got what it takes, just write it up and <a
2727
href="mailto:[email protected]">email me</a>, or better still, <a
28-
href="https://github.com/hnrysmth/ppladdressbook.org">send a pull
28+
href="https://github.com/henrycatalinismith/ppladdressbook.org">send a pull
2929
request</a>!
3030
</p>
3131
</div>
@@ -36,7 +36,7 @@ <h2>
3636
<dl class="nav-sidebar">
3737
{% for post in site.categories.tips %}
3838
{% if post.url == page.url %}<dt class="active">{% else %}<dt>{% endif %}
39-
<a href="{{site.url}}{{post.url}}">
39+
<a href="{{ post.url | relative_url }}">
4040
{{post.title}}
4141
</a>
4242
</dt>

docs/_layouts/command.html

+24-24
Original file line numberDiff line numberDiff line change
@@ -11,76 +11,76 @@ <h2>
1111

1212
<ul class="nav nav-list">
1313
<li{%if page.command == "age"%} class="active"{% endif %}>
14-
<a href="{{site.url}}/documentation/commands/age">age</a>
14+
<a href="{{ "/documentation/commands/age" | relative_url }}">age</a>
1515
</li>
1616
<li{%if page.command == "add"%} class="active"{% endif %}>
17-
<a href="{{site.url}}/documentation/commands/add">add</a>
17+
<a href="{{ "/documentation/commands/add" | relative_url }}">add</a>
1818
</li>
1919
<li{%if page.command == "bday"%} class="active"{% endif %}>
20-
<a href="{{site.url}}/documentation/commands/bday">bday</a>
20+
<a href="{{ "/documentation/commands/bday" | relative_url }}">bday</a>
2121
</li>
2222
<li{%if page.command == "completion"%} class="active"{% endif %}>
23-
<a href="{{site.url}}/documentation/commands/completion">completion</a>
23+
<a href="{{ "/documentation/commands/completion" | relative_url }}">completion</a>
2424
</li>
2525
<li{%if page.command == "email"%} class="active"{% endif %}>
26-
<a href="{{site.url}}/documentation/commands/email">email</a>
26+
<a href="{{ "/documentation/commands/email" | relative_url }}">email</a>
2727
</li>
2828
<li{%if page.command == "grep"%} class="active"{% endif %}>
29-
<a href="{{site.url}}/documentation/commands/grep">grep</a>
29+
<a href="{{ "/documentation/commands/grep" | relative_url }}">grep</a>
3030
</li>
3131
<li{%if page.command == "init"%} class="active"{% endif %}>
32-
<a href="{{site.url}}/documentation/commands/init">init</a>
32+
<a href="{{ "/documentation/commands/init" | relative_url }}">init</a>
3333
</li>
3434
<li{%if page.command == "ls"%} class="active"{% endif %}>
35-
<a href="{{site.url}}/documentation/commands/ls">ls</a>
35+
<a href="{{ "/documentation/commands/ls" | relative_url }}">ls</a>
3636
</li>
3737
<li{%if page.command == "mutt"%} class="active"{% endif %}>
38-
<a href="{{site.url}}/documentation/commands/mutt">mutt</a>
38+
<a href="{{ "/documentation/commands/mutt" | relative_url }}">mutt</a>
3939
</li>
4040
<li{%if page.command == "mv"%} class="active"{% endif %}>
41-
<a href="{{site.url}}/documentation/commands/mv">mv</a>
41+
<a href="{{ "/documentation/commands/mv" | relative_url }}">mv</a>
4242
</li>
4343
<li{%if page.command == "name"%} class="active"{% endif %}>
44-
<a href="{{site.url}}/documentation/commands/name">name</a>
44+
<a href="{{ "/documentation/commands/name" | relative_url }}">name</a>
4545
</li>
4646
<li{%if page.command == "nick"%} class="active"{% endif %}>
47-
<a href="{{site.url}}/documentation/commands/nick">nick</a>
47+
<a href="{{ "/documentation/commands/nick" | relative_url }}">nick</a>
4848
</li>
4949
<li{%if page.command == "org"%} class="active"{% endif %}>
50-
<a href="{{site.url}}/documentation/commands/org">org</a>
50+
<a href="{{ "/documentation/commands/org" | relative_url }}">org</a>
5151
</li>
5252
<li{%if page.command == "phone"%} class="active"{% endif %}>
53-
<a href="{{site.url}}/documentation/commands/phone">phone</a>
53+
<a href="{{ "/documentation/commands/phone" | relative_url }}">phone</a>
5454
</li>
5555
<li{%if page.command == "post"%} class="active"{% endif %}>
56-
<a href="{{site.url}}/documentation/commands/post">post</a>
56+
<a href="{{ "/documentation/commands/post" | relative_url }}">post</a>
5757
</li>
5858
<li{%if page.command == "pull"%} class="active"{% endif %}>
59-
<a href="{{site.url}}/documentation/commands/pull">pull</a>
59+
<a href="{{ "/documentation/commands/pull" | relative_url }}">pull</a>
6060
</li>
6161
<li{%if page.command == "push"%} class="active"{% endif %}>
62-
<a href="{{site.url}}/documentation/commands/push">push</a>
62+
<a href="{{ "/documentation/commands/push" | relative_url }}">push</a>
6363
</li>
6464
<li{%if page.command == "remote"%} class="active"{% endif %}>
65-
<a href="{{site.url}}/documentation/commands/remote">remote</a>
65+
<a href="{{ "/documentation/commands/remote" | relative_url }}">remote</a>
6666
</li>
6767
<li{%if page.command == "rm"%} class="active"{% endif %}>
68-
<a href="{{site.url}}/documentation/commands/rm">rm</a>
68+
<a href="{{ "/documentation/commands/rm" | relative_url }}">rm</a>
6969
</li>
7070
<li{%if page.command == "scrape"%} class="active"{% endif %}>
71-
<a href="{{site.url}}/documentation/commands/scrape">scrape</a>
71+
<a href="{{ "/documentation/commands/scrape" | relative_url }}">scrape</a>
7272
</li>
7373
<li{%if page.command == "shell"%} class="active"{% endif %}>
74-
<a href="{{site.url}}/documentation/commands/shell">shell</a>
74+
<a href="{{ "/documentation/commands/shell" | relative_url }}">shell</a>
7575
</li>
7676
<li{%if page.command == "show"%} class="active"{% endif %}>
77-
<a href="{{site.url}}/documentation/commands/show">show</a>
77+
<a href="{{ "/documentation/commands/show" | relative_url }}">show</a>
7878
</li>
7979
<li{%if page.command == "url"%} class="active"{% endif %}>
80-
<a href="{{site.url}}/documentation/commands/url">url</a>
80+
<a href="{{ "/documentation/commands/url" | relative_url }}">url</a>
8181
</li>
8282
<li{%if page.command == "version"%} class="active"{% endif %}>
83-
<a href="{{site.url}}/documentation/commands/version">version</a>
83+
<a href="{{ "/documentation/commands/version" | relative_url }}">version</a>
8484
</li>
8585
</ul>
8686
</div>

docs/_layouts/configuration.html

+13-13
Original file line numberDiff line numberDiff line change
@@ -11,43 +11,43 @@ <h2>
1111

1212
<ul class="nav nav-list">
1313
<li{%if page.config_section == "address book"%} class="active"{% endif %}>
14-
<a href="{{site.url}}/documentation/configuration/address_book">address book</a>
14+
<a href="{{ "/documentation/configuration/address_book" | relative_url }}">address book</a>
1515
</li>
1616
<li{%if page.config_section == "alias"%} class="active"{% endif %}>
17-
<a href="{{site.url}}/documentation/configuration/alias">alias</a>
17+
<a href="{{ "/documentation/configuration/alias" | relative_url }}">alias</a>
1818
</li>
1919
<li{%if page.config_section == "color"%} class="active"{% endif %}>
20-
<a href="{{site.url}}/documentation/configuration/color">color</a>
20+
<a href="{{ "/documentation/configuration/color" | relative_url }}">color</a>
2121
</li>
2222
<li{%if page.config_section == 'color "age"'%} class="active"{% endif %}>
23-
<a href="{{site.url}}/documentation/configuration/color_age">color "age"</a>
23+
<a href="{{ "/documentation/configuration/color_age" | relative_url }}">color "age"</a>
2424
</li>
2525
<li{%if page.config_section == 'color "bday"'%} class="active"{% endif %}>
26-
<a href="{{site.url}}/documentation/configuration/color_bday">color "bday"</a>
26+
<a href="{{ "/documentation/configuration/color_bday" | relative_url }}">color "bday"</a>
2727
</li>
2828
<li{%if page.config_section == 'color "email"'%} class="active"{% endif %}>
29-
<a href="{{site.url}}/documentation/configuration/color_email">color "email"</a>
29+
<a href="{{ "/documentation/configuration/color_email" | relative_url }}">color "email"</a>
3030
</li>
3131
<li{%if page.config_section == 'color "ls"'%} class="active"{% endif %}>
32-
<a href="{{site.url}}/documentation/configuration/color_ls">color "ls"</a>
32+
<a href="{{ "/documentation/configuration/color_ls" | relative_url }}">color "ls"</a>
3333
</li>
3434
<li{%if page.config_section == 'color "name"'%} class="active"{% endif %}>
35-
<a href="{{site.url}}/documentation/configuration/color_name">color "name"</a>
35+
<a href="{{ "/documentation/configuration/color_name" | relative_url }}">color "name"</a>
3636
</li>
3737
<li{%if page.config_section == 'color "nick"'%} class="active"{% endif %}>
38-
<a href="{{site.url}}/documentation/configuration/color_nick">color "nick"</a>
38+
<a href="{{ "/documentation/configuration/color_nick" | relative_url }}">color "nick"</a>
3939
</li>
4040
<li{%if page.config_section == 'color "org"'%} class="active"{% endif %}>
41-
<a href="{{site.url}}/documentation/configuration/color_org">color "org"</a>
41+
<a href="{{ "/documentation/configuration/color_org" | relative_url }}">color "org"</a>
4242
</li>
4343
<li{%if page.config_section == 'color "phone"'%} class="active"{% endif %}>
44-
<a href="{{site.url}}/documentation/configuration/color_phone">color "phone"</a>
44+
<a href="{{ "/documentation/configuration/color_phone" | relative_url }}">color "phone"</a>
4545
</li>
4646
<li{%if page.config_section == 'color "post"'%} class="active"{% endif %}>
47-
<a href="{{site.url}}/documentation/configuration/color_post">color "post"</a>
47+
<a href="{{ "/documentation/configuration/color_post" | relative_url }}">color "post"</a>
4848
</li>
4949
<li{%if page.config_section == 'color "url"'%} class="active"{% endif %}>
50-
<a href="{{site.url}}/documentation/configuration/color_url">color "url"</a>
50+
<a href="{{ "/documentation/configuration/color_url" | relative_url }}">color "url"</a>
5151
</li>
5252
</ul>
5353
</div>

docs/_layouts/integration.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ <h2>
1111

1212
<ul class="nav nav-list">
1313
<li{%if page.integration == "bash"%} class="active"{% endif %}>
14-
<a href="{{site.url}}/documentation/integration/bash">Bash</a>
14+
<a href="{{ "/documentation/integration/bash" | relative_url }}">Bash</a>
1515
</li>
1616
<li{%if page.integration == "google"%} class="active"{% endif %}>
17-
<a href="{{site.url}}/documentation/integration/google">Google</a>
17+
<a href="{{ "/documentation/integration/google" | relative_url }}">Google</a>
1818
</li>
1919
<li{%if page.integration == "mutt"%} class="active"{% endif %}>
20-
<a href="{{site.url}}/documentation/integration/mutt">Mutt</a>
20+
<a href="{{ "/documentation/integration/mutt" | relative_url }}">Mutt</a>
2121
</li>
2222
<li{%if page.integration == "zsh"%} class="active"{% endif %}>
23-
<a href="{{site.url}}/documentation/integration/zsh">ZSH</a>
23+
<a href="{{ "/documentation/integration/zsh" | relative_url }}">ZSH</a>
2424
</li>
2525
</ul>
2626
</div>

docs/_posts/2012-12-20-1.1.0.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ show-stopping bugs have been fixed, and a new feature has been added for mutt
1414
users.
1515

1616
Many thanks to [@storge](https://github.com/storge) on GitHub for all the help
17-
fixing the long series of issues in [Issue #1](https://github.com/hnrysmth/ppl/issues/1). You absolute legend.
17+
fixing the long series of issues in [Issue #1](https://github.com/henrycatalinismith/ppl/issues/1). You absolute legend.
1818

1919
Also, thanks to [7h0ma5](http://news.ycombinator.com/user?id=7h0ma5) on HN for
2020
the [mutt integration suggestion](http://news.ycombinator.com/item?id=4947256)

docs/_posts/2012-12-21-1.3.0.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ permalink: /development/changelog/1.3.0.html
99
---
1010

1111
Adds support for XDG-compatible configuration. Many thanks to
12-
[@tijn](https://github.com/hnrysmth/ppl/issues/4) on GitHub for [recommending this
13-
functionality](https://github.com/hnrysmth/ppl/issues/4).
12+
[@tijn](https://github.com/henrycatalinismith/ppl/issues/4) on GitHub for [recommending this
13+
functionality](https://github.com/henrycatalinismith/ppl/issues/4).
1414

1515
This means ppl can now be alternatively configured using a file at
1616
`~/.config/ppl/config`. If you like keeping your `~/` free of dotfile clutter

docs/_posts/2012-12-21-thank-you-for-your-all-your-feedback.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The elephant in the room is obviously sync functionality at this point. Lots
2020
and lots of people have made it very clear that even though they think this
2121
project is a great idea it is useless in the extreme to them unless it can sync
2222
with their GMail or iCloud. Rest assured that [this has not gone
23-
unnoticed](https://github.com/hnrysmth/ppl/issues/5).
23+
unnoticed](https://github.com/henrycatalinismith/ppl/issues/5).
2424

2525
Stay tuned!
2626

docs/_posts/2012-12-22-1.5.0.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permalink: /development/changelog/1.5.0.html
1111
The addition of "interactive mode" in the form of [ppl
1212
shell](/documentation/commands/shell). Thanks to
1313
[@axelGschaider](https://github.com/axelGschaider) on GitHub for [the
14-
suggestion](https://github.com/hnrysmth/ppl/issues/7). This ought to make life a lot
14+
suggestion](https://github.com/henrycatalinismith/ppl/issues/7). This ought to make life a lot
1515
easier for people entering lots of commands at once!
1616

1717
* Added `ppl shell` command

docs/_posts/2012-12-29-1.7.0.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permalink: /development/changelog/1.7.0.html
1111
This version contains some fairly substantial changes to the way the [ppl
1212
show](/documentation/commands/show) command formats its output. The need for
1313
this change was unearthed by a [question from
14-
@storge](https://github.com/hnrysmth/ppl/issues/14) on GitHub. In short, the command
14+
@storge](https://github.com/henrycatalinismith/ppl/issues/14) on GitHub. In short, the command
1515
was only showing one of the given contact's email addresses, giving the
1616
impression that this was all that ppl supported storing.
1717

docs/_posts/2013-02-17-two-months-in.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ been fixed, as [the changelog](/development/changelog) will attest.
1414

1515
One particularly nasty bug has been reported whose solution eludes me for the
1616
moment. It seems ppl does not cope well with [non-ASCII
17-
characters](https://github.com/hnrysmth/ppl/issues/17). The error itself is coming
17+
characters](https://github.com/henrycatalinismith/ppl/issues/17). The error itself is coming
1818
from within vpim - although it is almost certainly not a vpim bug - and is
1919
proving a tough nut to crack. Encodings in Ruby 1.9 are [fraught with
2020
complexity](http://yehudakatz.com/2010/05/05/ruby-1-9-encodings-a-primer-and-the-solution-for-rails/),

docs/_posts/2013-03-16-coloured-output-released.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ hopefully the resulting usage of the
1717
[morphine](https://github.com/bkeepers/morphine) dependency injection container
1818
should reduce such code churn in future.
1919

20-
In other news, the [UTF-8 bug](https://github.com/hnrysmth/ppl/issues/17) mentioned
20+
In other news, the [UTF-8 bug](https://github.com/henrycatalinismith/ppl/issues/17) mentioned
2121
in [last month's update](/news/two-months-in/) should be gone soon. I've spoken
2222
to the maintainer of vpim about it, and [his
2323
response](http://rubyforge.org/pipermail/vpim-talk/2013/000185.html) was

docs/_posts/2013-04-10-ruby-2.0-compatibility.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pointless-sounding ones: `1.15.1`. This release is all about Ruby 2.0
1111
compatibility. A recent issue reported on GitHub by
1212
[@pigmonkey](https://github.com/pigmonkey) brought to my attention that vpim,
1313
ppl's underlying vCard library, [doesn't work at all in Ruby
14-
2.0](https://github.com/hnrysmth/ppl/issues/19).
14+
2.0](https://github.com/henrycatalinismith/ppl/issues/19).
1515

1616
invalid multibyte escape: /^\xFF\xFE/
1717

@@ -23,6 +23,6 @@ Essentially, I forked vpim in order to get this done. While this is an
2323
unexpected turn of events, it does mean I'm now quite well-placed to fix its
2424
UTF-8 issues myself instead of depending on the mercy of upstream. By the way,
2525
if you're interested in helping with this, go take a look at
26-
[greencard](https://github.com/hnrysmth/greencard). It's vpim stripped down to just
26+
[greencard](https://github.com/henrycatalinismith/greencard). It's vpim stripped down to just
2727
the vCard functionality used by ppl. Go fork it!
2828

0 commit comments

Comments
 (0)