-
Notifications
You must be signed in to change notification settings - Fork 554
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
config.md: format changes #724
Conversation
config.md
Outdated
* **`prestart`** (array, OPTIONAL) is an array of [pre-start hooks](#prestart). | ||
Entries in the array contain the following properties: | ||
* **`path`** (string, REQUIRED) with similar semantics to [IEEE Std 1003.1-2001 `execv`'s *path*][ieee-1003.1-2001-xsh-exec]. | ||
This specification extends the IEEE standard in that **`path`** MUST be absolute. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you want an additional two or four spaces of indent for this line so it is clearly part of the path
entry in the source.
Other than that (and a confif
→ config
typo in the commit message), 79afbeb looks good to me.
Not sure I understand the end goal of all these indentation changes -- does this make the output look nicer or something? |
On Wed, May 10, 2017 at 01:15:29PM -0700, Tianon Gravi wrote:
Not sure I understand the end goal of all these indentation changes
-- does this make the output look nicer or something?
Pandoc (which we're still using to render single-page HTML and PDF
forms) requires four-space (or tab) indents for nested lists and such.
See #495 for more details.
|
Can you rebase and fix the indention |
7ed40cb
to
6e6790e
Compare
config.md
Outdated
* **`prestart`** (array of objects, OPTIONAL) is an array of [pre-start hooks](#prestart). | ||
Entries in the array contain the following properties: | ||
* **`path`** (string, REQUIRED) with similar semantics to [IEEE Std 1003.1-2001 `execv`'s *path*][ieee-1003.1-2001-xsh-exec]. | ||
This specification extends the IEEE standard in that **`path`** MUST be absolute. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't this line need two more spaces to line up with the path
bullet contents properly?
config.md
Outdated
* **`args`** (array of strings, OPTIONAL) with the same semantics as [IEEE Std 1003.1-2001 `execv`'s *argv*][ieee-1003.1-2001-xsh-exec]. | ||
* **`env`** (array of strings, OPTIONAL) with the same semantics as [IEEE Std 1003.1-2001's `environ`][ieee-1003.1-2001-xbd-c8.1]. | ||
* **`timeout`** (int, OPTIONAL) is the number of seconds before aborting the hook. | ||
If set, `timeout` MUST be greater than zero. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here -- I think this needs two more spaces, doesn't it?
config.md
Outdated
* **`timeout`** (int, OPTIONAL) is the number of seconds before aborting the hook. | ||
If set, `timeout` MUST be greater than zero. | ||
* **`poststart`** (array of objects, OPTIONAL) is an array of [post-start hooks](#poststart). | ||
Entries in the array have the same schema as pre-start entries. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh hmm, either this has two too many or the others I've commented on actually need four more spaces rather than simply two (which seems the more likely, given that pandoc is apparently picky about it being precisely "four spaces or a tab").
Signed-off-by: zhouhao <zhouhao@cn.fujitsu.com>
Signed-off-by: zhouhao zhouhao@cn.fujitsu.com