Skip to content

Commit

Permalink
lxddoc: Add examples of output
Browse files Browse the repository at this point in the history
Signed-off-by: Gabriel Mougard <[email protected]>
  • Loading branch information
gabrielmougard committed May 8, 2023
1 parent a71163c commit 27cfdef
Show file tree
Hide file tree
Showing 2 changed files with 81 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .sphinx/lxddoc/lxddoc.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
orphan: true
---

```{config:option} scheduler.instance cluster
:liveupdate: `yes`
:shortdesc: Possible values are all, manual and group. See Automatic placement of instances for more information.
:condition: container
:default: `all`
:type: integer

The cluster config keys
```

```{config:option} user.* cluster
:shortdesc: Free form user key/value storage (can be used in search).
:condition: container
:default: -
:type: string
:liveupdate: `yes`

This is the real long desc.

With two paragraphs.

And a list:

- Item
- Item
- Item

And a table:

Key | Type | Scope | Default | Description
:-- | :--- | :---- | :------ | :----------
`acme.agree_tos` | bool | global | `false` | Agree to ACME terms of service
`acme.ca_url` | string | global | `https://acme-v02.api.letsencrypt.org/directory` | URL to the directory resource of the ACME service
`acme.domain` | string | global | - | Domain for which the certificate is issued
`acme.email` | string | global | - | Email address used for the account registration


```

38 changes: 38 additions & 0 deletions .sphinx/lxddoc/lxddoc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
configs:
cluster:
- scheduler.instance:
condition: container
default: '`all`'
liveupdate: '`yes`'
longdesc: |4-
The cluster config keys
shortdesc: Possible values are all, manual and group. See Automatic placement of instances for more information.
type: integer
- user.*:
condition: container
default: '-'
liveupdate: '`yes`'
longdesc: |4+
This is the real long desc.
With two paragraphs.
And a list:
- Item
- Item
- Item
And a table:
Key | Type | Scope | Default | Description
:-- | :--- | :---- | :------ | :----------
`acme.agree_tos` | bool | global | `false` | Agree to ACME terms of service
`acme.ca_url` | string | global | `https://acme-v02.api.letsencrypt.org/directory` | URL to the directory resource of the ACME service
`acme.domain` | string | global | - | Domain for which the certificate is issued
`acme.email` | string | global | - | Email address used for the account registration
shortdesc: Free form user key/value storage (can be used in search).
type: string

0 comments on commit 27cfdef

Please sign in to comment.