Show More
@@ -35,6 +35,9 b' def role_hg(name, rawtext, text, lineno,' | |||||
35 | if args[0] == 'config': |
|
35 | if args[0] == 'config': | |
36 | # :hg:`help config` |
|
36 | # :hg:`help config` | |
37 | refuri = "hgrc.5.html" |
|
37 | refuri = "hgrc.5.html" | |
|
38 | elif args[0].startswith('config.'): | |||
|
39 | # :hg:`help config.SECTION...` | |||
|
40 | refuri = "hgrc.5.html#%s" % args[0].split('.', 2)[1] | |||
38 | elif len(args) >= 2 and args[0] == '-c': |
|
41 | elif len(args) >= 2 and args[0] == '-c': | |
39 | # :hg:`help -c COMMAND ...` is equivalent to :hg:`COMMAND` |
|
42 | # :hg:`help -c COMMAND ...` is equivalent to :hg:`COMMAND` | |
40 | # (mainly for :hg:`help -c config`) |
|
43 | # (mainly for :hg:`help -c config`) |
General Comments 0
You need to be logged in to leave comments.
Login now