Skip to content

Commit 60926fa

Browse files
authored
Merge pull request #443 from JustinyAhin/add-pagination-to-doc-pages
Add pagination to documentation pages
2 parents 18cc33e + f6c6d0b commit 60926fa

8 files changed

Lines changed: 45 additions & 1 deletion

File tree

‎docs/authentication-custom.md‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,10 @@ $response = Requests::get('http://hotdogbin.org/admin', array(), $options);
4141
(For more information on how to register and use hooks, see the [hooking
4242
system documentation][hooks])
4343

44-
[hooks]: hooks.md
44+
[hooks]: hooks.md
45+
46+
***
47+
48+
Previous: [Authenticating your request](authentication.md)
49+
50+
Next: [Requests through proxy](proxy.md)

‎docs/authentication.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,9 @@ before `$options`:
2929
```php
3030
Requests::post('http://httpbin.org/basic-auth/user/password', array(), null, $options);
3131
```
32+
33+
***
34+
35+
Previous: [Advanced usage](usage-advanced.md)
36+
37+
Next: [Custom authentification](authentication-custom.md)

‎docs/goals.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,7 @@ Goals
2727
Requests is designed to be entirely self-contained and doesn't require
2828
anything else at all. You can run Requests on an entirely stock PHP build
2929
without any additional extensions outside the standard library.
30+
31+
***
32+
33+
Next: [Why Requests Instead of X?](why-requests.md)

‎docs/hooks.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,7 @@ $hooks->register('requests.after_request', 'mycallback');
9494

9595
$request = Requests::get('http://httpbin.org/get', array(), array('hooks' => $hooks));
9696
```
97+
98+
***
99+
100+
Previous: [Requests through proxy](proxy.md)

‎docs/proxy.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,9 @@ $options = array(
2121
);
2222
Requests::get('http://httpbin.org/ip', array(), $options);
2323
```
24+
25+
***
26+
27+
Previous: [Custom authentification](authentication-custom.md)
28+
29+
Next: [Hooking system](hooks.md)

‎docs/usage-advanced.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,9 @@ bugs in PHP for more information on Subject Alternate Name field.)
7272
[Mozilla certificate authority list]: http://www.mozilla.org/projects/security/certs/
7373
[php-bug-47030]: https://bugs.php.net/bug.php?id=47030
7474
[php-bug-55820]:https://bugs.php.net/bug.php?id=55820
75+
76+
***
77+
78+
Previous: [Making a request](usage.md)
79+
80+
Next: [Authenticating your request](authentication.md)

‎docs/usage.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,3 +152,9 @@ Note that this is case-insensitive, so the following are all equivalent:
152152

153153
If a header isn't set, this will give `null`. You can also check with
154154
`isset($response->headers['date'])`
155+
156+
***
157+
158+
Previous: [Why should I use Requests instead of X?](why-requests.md)
159+
160+
Next: [Advanced usage](usage-advanced.md)

‎docs/why-requests.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,3 +190,9 @@ instead of something else, in our opinion.
190190

191191
Similar to HTTP_Request2, Zend's client is not fully self-contained and
192192
requires other components from the framework.
193+
194+
***
195+
196+
Previous: [Goals](goals.md)
197+
198+
Next: [Making a request](usage.md)

0 commit comments

Comments
 (0)