-
Notifications
You must be signed in to change notification settings - Fork 51
Command formatting (see #10213) #248
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
Conversation
Following a discussion with Helen, we decided to now use the default_role to mmarkup commands instead of the :command: role.
- omerocmd role is now completely OS independent and :omerocmd:`command subcommand` now displays as omero command [subcommand] - when paths are needed, command/omerocmd are converted using file markup, e.g. :file:`bin/omero` - all other command are marked using the default role, e.g. `command`
README.rst
Outdated
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.
command -> commands
|
Mark up needs to be double back quotes to |
developers/using-git.txt
Outdated
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.
This still needs reformatting to double back quotes
|
Two format updates you missed then this is good to go :) |
|
Changes look fine, I expect we'll end up spotting somewhere else we've missed but I think this is good to go for now. Ready to merge. |
Command formatting (see #10213)
This PR addresses a discussion thread initialized in #239 and stored in ticket 10213.
Unification of command markup is done as follows:
:literal:command`` role (double back quotes) instead of the:command:role. All the occurrences of the latter role are reviewed and replaced by the adequate form in the code.:omerocmd:role is changed intonodes.literalAdditionally, to solve the OS dependency of CLI commands, this PR implements the following:
:omerocmd:admin restart`` now displaysomero admin restartin the text and generates a `omero admin; restart` entry in the index table. The latter change allows the proper grouping of all the CLI command in the index.:file:role is used assuming the sentence refers to a (relative) file path, e.g.:file:bin/omeroor `:file:`bin\\omero/cc @bpindelski, @ximenesuk