Jens Geyer created THRIFT-3866:
----------------------------------

             Summary: HTML generator should use namespaces as folder names
                 Key: THRIFT-3866
                 URL: https://issues.apache.org/jira/browse/THRIFT-3866
             Project: Thrift
          Issue Type: Bug
          Components: HTML - Compiler
            Reporter: Jens Geyer


[~wilbeibi] wrote:
{quote}
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
{quote}

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

{code:title=ci.thrift}
// CI container, call with thrift -r -gen ...
namespace * ci

#include a.thrift
#include b.thrift
{code}


{code:title=a.thrift}
namespace * Foo
struct Foo { 1 : i32 foo }
{code}

{code:title=b.thrift}
namespace * Bar
struct Bar { 1 : i32 Bar }
{code}






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

Reply via email to