docs: fix formatting for `volume` and `volume_mount` doc pages

This commit is contained in:
Luiz Aoqui 2019-09-12 16:13:04 -04:00
parent 16d494344f
commit 8dd39333c9
2 changed files with 7 additions and 7 deletions

View File

@ -19,7 +19,7 @@ description: |-
</tr> </tr>
</table> </table>
The "volume" stanza allows the group to specify that it requires a given volume The `volume` stanza allows the group to specify that it requires a given volume
from the cluster. from the cluster.
The key of the stanza is the name of the volume as it will be exposed to task The key of the stanza is the name of the volume as it will be exposed to task
@ -41,7 +41,7 @@ job "docs" {
``` ```
The Nomad server will ensure that the allocations are only scheduled on hosts The Nomad server will ensure that the allocations are only scheduled on hosts
that have a set of volumes that meet the criteria specified in the volume that have a set of volumes that meet the criteria specified in the `volume`
stanzas. stanzas.
The Nomad client will make the volumes available to tasks according to the The Nomad client will make the volumes available to tasks according to the

View File

@ -18,7 +18,7 @@ description: |-
</tr> </tr>
</table> </table>
The "volume_mount" stanza allows the task to specify how a group The `volume_mount` stanza allows the task to specify how a group
[`volume`][volume] should be mounted into the task. [`volume`][volume] should be mounted into the task.
```hcl ```hcl
@ -56,7 +56,7 @@ updates to remove a volume that it depends on.
inside the tasks container. inside the tasks container.
- `read_only` `(bool: false)` - When a group volume is writeable, you may - `read_only` `(bool: false)` - When a group volume is writeable, you may
specify that it is read_only on a per mount level using the `read_only` option specify that it is `read_only` on a per mount level using the `read_only`
here. option here.
[volume]: /docs/job-specification/volume.html "Nomad volume Job Specification" [volume]: /docs/job-specification/volume.html "Nomad volume Job Specification"