)]}'
{"cliff/sphinxext.py":[{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"6877ba03187c7ebced92ddfc3c4c33fcf01b4b91","unresolved":false,"context_lines":[{"line_number":51,"context_line":"    # NOTE(stephenfin): We use \u0027dest\u0027 - not \u0027metavar\u0027 - because the \u0027option\u0027"},{"line_number":52,"context_line":"    # directive dictates that only option argument names should be surrounded"},{"line_number":53,"context_line":"    # by angle brackets"},{"line_number":54,"context_line":"    yield \u0027.. option:: {}\u0027.format(action.dest)"},{"line_number":55,"context_line":"    if action.help:"},{"line_number":56,"context_line":"        yield \u0027\u0027"},{"line_number":57,"context_line":"        for line in statemachine.string2lines("}],"source_content_type":"text/x-python","patch_set":2,"id":"df140735_753acc34","side":"PARENT","line":54,"range":{"start_line":54,"start_character":4,"end_line":54,"end_character":46},"updated":"2017-06-07 12:11:15.000000000","message":"We could just do the below, surely?\n\n  yield \u0027.. option:: \u003c{}\u003e\u0027.format(action.metavar.strip(\u0027 \u003c\u003e[]()\u0027))\n\n(note the space character in the \u0027strip\u0027 statement)","commit_id":"c548b7b44cb6108d3f20453d9b3db8f8f7e48b19"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"4a7cde9219b37e3348f80d6a7e92d9c99e4d21fb","unresolved":false,"context_lines":[{"line_number":51,"context_line":"    # NOTE(stephenfin): We use \u0027dest\u0027 - not \u0027metavar\u0027 - because the \u0027option\u0027"},{"line_number":52,"context_line":"    # directive dictates that only option argument names should be surrounded"},{"line_number":53,"context_line":"    # by angle brackets"},{"line_number":54,"context_line":"    yield \u0027.. option:: {}\u0027.format(action.dest)"},{"line_number":55,"context_line":"    if action.help:"},{"line_number":56,"context_line":"        yield \u0027\u0027"},{"line_number":57,"context_line":"        for line in statemachine.string2lines("}],"source_content_type":"text/x-python","patch_set":2,"id":"df140735_8aad3333","side":"PARENT","line":54,"range":{"start_line":54,"start_character":4,"end_line":54,"end_character":46},"in_reply_to":"df140735_753acc34","updated":"2017-06-08 06:41:20.000000000","message":"As you probably know, the option directive only allows the format of \"opt\", \"-opt args\", \"--opt args\", \"/opt args\" or \"+opt args\", and \"\u003copt\u003e\" form is not allowed.\n\nThe yield you wrote leads to \".. option:: \u003cname\u003e\" for example and sphinx raises an error.\n\nAm I missing something?","commit_id":"c548b7b44cb6108d3f20453d9b3db8f8f7e48b19"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"19555d8b1a34aeb65b1bec438097a107fb9dca1f","unresolved":false,"context_lines":[{"line_number":51,"context_line":"    # NOTE(stephenfin): We use \u0027dest\u0027 - not \u0027metavar\u0027 - because the \u0027option\u0027"},{"line_number":52,"context_line":"    # directive dictates that only option argument names should be surrounded"},{"line_number":53,"context_line":"    # by angle brackets"},{"line_number":54,"context_line":"    yield \u0027.. option:: {}\u0027.format(action.dest)"},{"line_number":55,"context_line":"    if action.help:"},{"line_number":56,"context_line":"        yield \u0027\u0027"},{"line_number":57,"context_line":"        for line in statemachine.string2lines("}],"source_content_type":"text/x-python","patch_set":2,"id":"bf091321_799e5108","side":"PARENT","line":54,"range":{"start_line":54,"start_character":4,"end_line":54,"end_character":46},"in_reply_to":"df140735_8aad3333","updated":"2017-06-08 09:06:51.000000000","message":"No - I am :) I was thinking about optional args. Maybe this instead?\n\n  yield \u0027.. option:: {}\u0027.format(action.metavar.strip(\u0027 \u003c\u003e[]()\u0027))\n\ni.e. \u0027{}\u0027 instead of \u0027\u003c{}\u003e\u0027?","commit_id":"c548b7b44cb6108d3f20453d9b3db8f8f7e48b19"}]}
