Skip to content

Commit 81b08fc

Browse files
committed
make all links relative
1 parent dbe0aee commit 81b08fc

File tree

11 files changed

+28
-29
lines changed

11 files changed

+28
-29
lines changed

Diff for: CHANGELOG.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@
4040
- Upgrade express to v3.21.2 [\#1119](https://github.com/github/hubot/pull/1119) ([sgerrand](https://github.com/sgerrand))
4141
- Fixed link to getting started [\#1116](https://github.com/github/hubot/pull/1116) ([jackmawer](https://github.com/jackmawer))
4242
- Fix http and https documentation [\#1114](https://github.com/github/hubot/pull/1114) ([technicalpickles](https://github.com/technicalpickles))
43-
- \[shell\] don't color hubot responses green, to be more visible on light backgrounds [\#1111](https://github.com/github/hubot/pull/1111) ([technicalpickles](https://g
44-
ithub.com/technicalpickles))
43+
- \[shell\] don't color hubot responses green, to be more visible on light backgrounds [\#1111](https://github.com/github/hubot/pull/1111) ([technicalpickles](https://github.com/technicalpickles))
4544
- Determine adapterPath in robot.coffee, rather than bin/hubot [\#1109](https://github.com/github/hubot/pull/1109) ([technicalpickles](https://github.com/technicalpickl
4645
es))
4746
- Updated copyright to 2016 [\#1103](https://github.com/github/hubot/pull/1103) ([aqnouch](https://github.com/aqnouch))

Diff for: docs/adapters.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ Adapters are the interface to the service you want your hubot to run on.
1010

1111
Hubot includes two official adapters:
1212

13-
* [Shell](/docs/adapters/shell.md), i.e. for use with development
14-
* [Campfire](/docs/adapters/campfire.md)
13+
* [Shell](./adapters/shell.md), i.e. for use with development
14+
* [Campfire](./adapters/campfire.md)
1515

1616
## Third-party Adapters
1717

@@ -59,4 +59,4 @@ to have yours added to the list:
5959

6060
## Writing Your Own Adapter
6161

62-
Interested in adding your own adapter? Check out our documentation for [developing adapters](/docs/adapters/development.md)
62+
Interested in adding your own adapter? Check out our documentation for [developing adapters](./adapters/development.md)

Diff for: docs/adapters/campfire.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Next, you will need to create a user on your Campfire account for your Hubot,
1717
then give it access so it can join to your rooms. You will need to create a room
1818
if you haven't already.
1919

20-
Hubot defaults to using its [shell](/docs/adapters/shell.md), so to use Campfire instead, you
20+
Hubot defaults to using its [shell](./shell.md), so to use Campfire instead, you
2121
can run hubot with `-a campfire`:
2222

2323
% bin/hubot -a campfire

Diff for: docs/deploying.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ permalink: /docs/deploying/
44

55
# Deploying
66

7-
- [Azure](/docs/deploying/azure.md)
8-
- [Bluemix](/docs/deploying/bluemix.md)
9-
- [Heroku](/docs/deploying/heroku.md)
10-
- [Unix](/docs/deploying/unix.md)
11-
- [Windows](/docs/deploying/windows.md)
7+
- [Azure](./deploying/azure.md)
8+
- [Bluemix](./deploying/bluemix.md)
9+
- [Heroku](./deploying/heroku.md)
10+
- [Unix](./deploying/unix.md)
11+
- [Windows](./deploying/windows.md)

Diff for: docs/deploying/azure.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ permalink: /docs/deploying/azure/
55
# Deploying to Azure
66

77
If you've been following along with [Getting Started](../index.md), it's time to deploy so you can use it beyond just your local machine.
8-
[Azure](http://azure.microsoft.com/) is a way to deploy hubot as an alternative to [Heroku](/docs/deploying/heroku.md).
8+
[Azure](http://azure.microsoft.com/) is a way to deploy hubot as an alternative to [Heroku](heroku.md).
99

1010
You will need to install the azure-cli via npm after you have follow the initial instructions for your hubot.
1111

@@ -70,7 +70,7 @@ Finally, add two more environment variables to your website. You can do this eit
7070
% $settings["HUBOT_BRAIN_AZURE_STORAGE_ACCESS_KEY"] = "your Azure storage account key"
7171
% Set-AzureWebsite -AppSettings $settings mynewhubot
7272

73-
Now any scripts that require a brain will function. You should look up other scripts or write your own by looking at the [documentation](/docs/scripting.md). All of the normal scripts for hubot are compatible with hosting hubot on Azure.
73+
Now any scripts that require a brain will function. You should look up other scripts or write your own by looking at the [documentation](../scripting.md). All of the normal scripts for hubot are compatible with hosting hubot on Azure.
7474

7575
### Troubleshooting tips and tricks
7676

Diff for: docs/deploying/bluemix.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ permalink: /docs/deploying/bluemix/
77
If you've been following along with [Getting Started](../index.md), it's time
88
to deploy so you can use it beyond just your local machine.
99
[IBM Bluemix](http://bluemix.net) is a way to deploy hubot as an alternative to
10-
[Heroku](/docs/deploying/heroku.md). It is built on the open-source project
10+
[Heroku](heroku.md). It is built on the open-source project
1111
[Cloud Foundry](https://www.cloudfoundry.org/), so we'll be using the `cf cli`
1212
throughout these examples.
1313

Diff for: docs/deploying/heroku.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Then create a Heroku application:
3333

3434
Before you deploy the application, you'll need to configure some environment
3535
variables for hubot to use. The specific variables you'll need depends on which
36-
[adapter](/docs/adapters.md) and scripts you are using. For Campfire, with no other
36+
[adapter](../adapters.md) and scripts you are using. For Campfire, with no other
3737
scripts, you'd need to set the following environment variables:
3838

3939
% heroku config:set HUBOT_CAMPFIRE_ACCOUNT=yourcampfireaccount

Diff for: docs/deploying/windows.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Your other option is to install directly from [NodeJS](https://nodejs.org/) and
2323

2424
## Updating code on the server
2525

26-
To get the code on your server, you can follow the instructions at [Getting Started](/docs/index.md) on your local development machine or directly on the server. If you are building locally, push your hubot to GitHub and clone the repo onto your server. Don't clone the normal [github/hubot repository](http://github.com/github/hubot), make sure you're using the Yo Generator to build your own hubot.
26+
To get the code on your server, you can follow the instructions at [Getting Started](../index.md) on your local development machine or directly on the server. If you are building locally, push your hubot to GitHub and clone the repo onto your server. Don't clone the normal [github/hubot repository](http://github.com/github/hubot), make sure you're using the Yo Generator to build your own hubot.
2727

2828
## Setting up environment vars
2929

@@ -46,7 +46,7 @@ There are a few issues if you call it manually, though.
4646
* hubot dies, for any reason, and doesn't start again
4747
* it doesn't start up at boot automatically
4848

49-
To fix this, you will want to create a .ps1 file with whatever name makes you happy that you will call from your hubot directory. There is a copy of this file in the `examples` directory [here](/examples/hubot-start.ps1). It should contain the following:
49+
To fix this, you will want to create a .ps1 file with whatever name makes you happy that you will call from your hubot directory. There is a copy of this file in the `examples` directory [here](../../examples/hubot-start.ps1). It should contain the following:
5050

5151
Write-Host "Starting Hubot Watcher"
5252
While (1)

Diff for: docs/index.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ we wanted to make a bot called myhubot:
1818
% yo hubot
1919

2020
At this point, you'll be asked a few questions about who is creating the bot,
21-
and which [adapter](/docs/adapters.md) you'll be using. Adapters are hubot's
21+
and which [adapter](adapters.md) you'll be using. Adapters are hubot's
2222
way of integrating with different chat providers.
2323

2424
If you are using git, the generated directory includes a .gitignore, so you can
@@ -49,7 +49,7 @@ Hubot needs Redis to persist data, so before you can start hubot on your own com
4949
% bin/hubot
5050
Hubot>
5151

52-
This starts hubot using the [shell adapter](/docs/adapters/shell.md), which
52+
This starts hubot using the [shell adapter](./adapters/shell.md), which
5353
is mostly useful for development. Make note of `Hubot>`; this is the name your hubot will
5454
`respond` to with commands. For example, to list available commands:
5555

@@ -107,22 +107,22 @@ To use a script from an NPM package:
107107
2. Add the package to `external-scripts.json`.
108108
3. Run `npm home <package-name>` to open a browser window for the homepage of the script, where you can find more information about configuring and installing the script.
109109

110-
You can also put your own scripts under the `scripts/` directory. All scripts placed there are automatically loaded and ready to use with your hubot. Read more about customizing hubot by [writing your own scripts](/docs/scripting.md).
110+
You can also put your own scripts under the `scripts/` directory. All scripts placed there are automatically loaded and ready to use with your hubot. Read more about customizing hubot by [writing your own scripts](scripting.md).
111111

112112
## Adapters
113113

114-
Hubot uses the adapter pattern to support multiple chat-backends. Here is a [list of available adapters](/docs/adapters.md), along with details on how to configure them.
114+
Hubot uses the adapter pattern to support multiple chat-backends. Here is a [list of available adapters](adapters.md), along with details on how to configure them.
115115

116116
## Deploying
117117

118118
You can deploy hubot to Heroku, which is the officially supported method.
119119
Additionally you are able to deploy hubot to a UNIX-like system or Windows.
120120
Please note the support for deploying to Windows isn't officially supported.
121121

122-
* [Deploying Hubot onto Heroku](/docs/deploying/heroku.md)
123-
* [Deploying Hubot onto UNIX](/docs/deploying/unix.md)
124-
* [Deploying Hubot onto Windows](/docs/deploying/windows.md)
122+
* [Deploying Hubot onto Heroku](./deploying/heroku.md)
123+
* [Deploying Hubot onto UNIX](./deploying/unix.md)
124+
* [Deploying Hubot onto Windows](./deploying/windows.md)
125125

126126
## Patterns
127127

128-
Using custom scripts, you can quickly customize Hubot to be the most life embettering robot he or she can be. Read [docs/patterns.md](/docs/patterns.md) for some nifty tricks that may come in handy as you teach your hubot new skills.
128+
Using custom scripts, you can quickly customize Hubot to be the most life embettering robot he or she can be. Read [docs/patterns.md](patterns.md) for some nifty tricks that may come in handy as you teach your hubot new skills.

Diff for: docs/patterns.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ When you rename Hubot, he will no longer respond to his former name. In order to
1515

1616
Setting this up is very easy:
1717

18-
1. Create a [bundled script](/docs/scripting.md) in the `scripts/` directory of your Hubot instance called `rename-hubot.coffee`
18+
1. Create a [bundled script](scripting.md) in the `scripts/` directory of your Hubot instance called `rename-hubot.coffee`
1919
2. Add the following code, modified for your needs:
2020

2121
```coffeescript
@@ -73,7 +73,7 @@ In many corporate environments, a web proxy is required to access the Internet a
7373
Due to the way node.js handles HTTP and HTTPS requests, you need to specify a different Agent for each protocol. ScopedHTTPClient will then automatically choose the right ProxyAgent for each request.
7474

7575
1. Install ProxyAgent. `npm install proxy-agent`
76-
2. Create a [bundled script](/docs/scripting.md) in the `scripts/` directory of your Hubot instance called `proxy.coffee`
76+
2. Create a [bundled script](scripting.md) in the `scripts/` directory of your Hubot instance called `proxy.coffee`
7777
3. Add the following code, modified for your needs:
7878

7979
```coffeescript

Diff for: docs/scripting.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ permalink: /docs/scripting/
44

55
# Scripting
66

7-
Hubot out of the box doesn't do too much but it is an extensible, scriptable robot friend. There are [hundreds of scripts written and maintained by the community](/docs/#scripts.md) and it's easy to write your own. You can create a custom script in hubot's `scripts` directory or [create a script package](#creating-a-script-package) for sharing with the community!
7+
Hubot out of the box doesn't do too much but it is an extensible, scriptable robot friend. There are [hundreds of scripts written and maintained by the community](index.md#scripts) and it's easy to write your own. You can create a custom script in hubot's `scripts` directory or [create a script package](#creating-a-script-package) for sharing with the community!
88

99
## Anatomy of a script
1010

@@ -590,7 +590,7 @@ Once you've built some new scripts to extend the abilities of your robot friend,
590590

591591
## See if a script already exists
592592

593-
Start by [checking if an NPM package](/docs/index.md#scripts) for a script like yours already exists. If you don't see an existing package that you can contribute to, then you can easily get started using the `hubot` script [yeoman](http://yeoman.io/) generator.
593+
Start by [checking if an NPM package](index.md#scripts) for a script like yours already exists. If you don't see an existing package that you can contribute to, then you can easily get started using the `hubot` script [yeoman](http://yeoman.io/) generator.
594594

595595
## Creating A Script Package
596596

0 commit comments

Comments
 (0)