Skip to content

Commit

Permalink
Merge pull request #3119 from grondo/minor-doc-fixes
Browse files Browse the repository at this point in the history
doc: fix flux-help(1) output and rendering of NODESET.rst
  • Loading branch information
mergify[bot] committed Aug 7, 2020
2 parents e1d9de7 + 6ce244c commit 93dcbc9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/man1/flux-exec.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ OPTIONS
NODESET FORMAT
==============

.. literalinclude:: NODESET.rst
.. include:: NODESET.rst


RESOURCES
Expand Down
2 changes: 1 addition & 1 deletion doc/man1/flux-hwloc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ are
NODESET FORMAT
==============

.. literalinclude:: NODESET.rst
.. include:: NODESET.rst


RESOURCES
Expand Down
2 changes: 2 additions & 0 deletions etc/gen-cmdhelp.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
line = line.rstrip("\n")
if ".. flux-help-" in line:
include_flag = True
if cmd.startswith("flux-"):
cmd = cmd[5:]
if ".. flux-help-description: " in line:
descr = " ".join(line.split(" ")[2:])
if ".. flux-help-command: " in line:
Expand Down

0 comments on commit 93dcbc9

Please sign in to comment.