Commit 4fb8ed7d authored by Alejandro Sánchez Medina's avatar Alejandro Sánchez Medina Committed by Valentin Gagarin
Browse files

doc/nrd: add example of multipage rendering

parent 95b6ef49
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -75,3 +75,17 @@ In case this identifier is renamed, the mapping would change into:
  ]
}
```

## Rendering multiple pages

The `include` directive accepts an argument `into-file` to specify the file into which the imported markdown should be rendered to. We can use this argument to set up multipage rendering of the manuals.

For example

~~~
```{=include=} appendix html:into-file=//release-notes.html
release-notes/release-notes.md
```
~~~

will render the release notes into a `release-notes.html` file, instead of making it a section within the default `index.html`.