[ 
https://issues.apache.org/jira/browse/YETUS-439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15397643#comment-15397643
 ] 

Ajay Yadava commented on YETUS-439:
-----------------------------------

Hi [~sekikn],

Just to clarify my understanding, are you expecting the functions to be ordered 
in the order of the input? In other words, is this the desired output?

{code}
* Public/Stable/Not Replaceable
    * [jira\_write\_comment](#jira_write_comment)
    * [javac\_precheck](#javac_precheck)
    * [github\_write\_comment](#github_write_comment)
    * [bugzilla\_write\_comment](#bugzilla_write_comment)
{code}


> "Public/Stable/Not Replaceable" plugin functions are not properly ordered in 
> generated shelldocs
> ------------------------------------------------------------------------------------------------
>
>                 Key: YETUS-439
>                 URL: https://issues.apache.org/jira/browse/YETUS-439
>             Project: Yetus
>          Issue Type: Bug
>          Components: ShellDocs, website and documentation
>            Reporter: Kengo Seki
>            Priority: Minor
>
> {code}
> sekikn@ubuntu-trusty:~/yetus$ shelldocs/shelldocs.py --output /tmp/foo 
> --input precommit/test-patch.d/jira.sh --input precommit/test-patch.d/java.sh 
> --input precommit/test-patch.d/github.sh --input 
> precommit/test-patch.d/bugzilla.sh 
> sekikn@ubuntu-trusty:~/yetus$ cat /tmp/foo                                    
>                                                         
> (snip)
>   * Public/Stable/Not Replaceable
>     * [jira\_write\_comment](#jira_write_comment)
>     * [javac\_precheck](#javac_precheck)
>     * [bugzilla\_write\_comment](#bugzilla_write_comment)
>     * [github\_write\_comment](#github_write_comment)
> (snip)
> {code}
> Adding {{## @replaceable no}} to *_write_comment functions fixes it, but 
> shelldocs.py itself should handle "No" and None properly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to