Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-3866

HTML generator should use namespaces as folder names

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • HTML - Compiler
    • None

    Description

      wilbeibi wrote:

      So, what if thrift -r --gen html a.thrift ?

      There is no way to gent a.thrift and b.thrift generate documentation in the same index.html

      Confirmed. Does not work as one would expect, output is always put into the same dir. That's not cool.

      ci.thrift
      // CI container, call with thrift -r -gen ...
      namespace * ci
      
      #include a.thrift
      #include b.thrift
      
      a.thrift
      namespace * Foo
      struct Foo { 1 : i32 foo }
      
      b.thrift
      namespace * Bar
      struct Bar { 1 : i32 Bar }
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jensg Jens Geyer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: