Skip to content

Commit 444b2f2

Browse files
Fix api headers
1 parent ca20914 commit 444b2f2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

API.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ Renders a template. This is typically not needed and it is usually more convenie
516516
or `relativeTo`).
517517
- `engine` - the engine returned by `manager.getEngine(ext)`
518518

519-
## [Server](https://github.com/hapijs/hapi/blob/master/API.md#server)
519+
## Server
520520

521521
### `server.views(options)`
522522

@@ -568,7 +568,7 @@ internals.provision();
568568
### `server.getViewsManager()`
569569
Returns the closest [Views manager](#views-manager) to your `realm` (either on your realm or inherited from an ancestor realm)
570570

571-
## [Requests](https://github.com/hapijs/hapi/blob/master/API.md#requests)
571+
## Requests
572572

573573
### `request.render(template, context, [options], [callback])`
574574

@@ -613,9 +613,9 @@ internals.provision();
613613
### `request.getViewsManager()`
614614
Returns the closest [Views manager](#views-manager) to your `realm` (either on your realm or inherited from an ancestor realm)
615615

616-
## The `view` [handler](https://github.com/hapijs/hapi/blob/master/API.md#serverdecoratetype-property-method-options)
616+
## The view handler
617617

618-
The `view` handler can be used with routes registered in the same realm as the view manager. The
618+
The `view` [handler](https://github.com/hapijs/hapi/blob/master/API.md#serverdecoratetype-property-method-options) can be used with routes registered in the same realm as the view manager. The
619619
handler takes an `options` parameter that can be either a string or an object. When the `options`
620620
parameter is a string, it should be the filename and path of the template relative to the templates
621621
path configured via the views manager. When the `options` parameter is an object, it may have the
@@ -666,7 +666,7 @@ internals.provision = async () => {
666666
internals.provision();
667667
```
668668

669-
## [Response Toolkit Interface](https://github.com/hapijs/hapi/blob/master/API.md#response-toolkit)
669+
## Response Toolkit Interface
670670

671671
### `h.view(template, [context, [options]])`
672672

0 commit comments

Comments
 (0)