Uploaded image for project: 'Yetus'
  1. Yetus
  2. YETUS-439

"Public/Stable/Not Replaceable" plugin functions are not properly ordered in generated shelldocs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      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)
      

      Adding ## @replaceable no to *_write_comment functions fixes it, but shelldocs.py itself should handle "No" and None properly.

      Attachments

        Activity

          People

            ajayyadava Ajay Yadav
            sekikn Kengo Seki
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: