[ 
https://issues.apache.org/jira/browse/THRIFT-4152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sylwester Lachiewicz resolved THRIFT-4152.
------------------------------------------
    Resolution: Fixed

Struct anchors landed long ago, and completing the check the reporter 
requested: 
[compiler/cpp/src/thrift/generate/t_html_generator.cc|https://github.com/apache/thrift/blob/master/compiler/cpp/src/thrift/generate/t_html_generator.cc]
 now emits {{id}} anchors for every type — {{Struct_}} (line 961), {{Enum_}} 
(919), {{Typedef_}} (903), plus {{Fn_}}/{{Parameters_}}/{{Exceptions_}} per 
service function (1032/856/880) — and the cross-reference links (193/204/216) 
target them. Resolving as Fixed, covering the reporter's request to verify the 
remaining types.

> HTML Documentation doesn't link correctly structs
> -------------------------------------------------
>
>                 Key: THRIFT-4152
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4152
>             Project: Thrift
>          Issue Type: Bug
>          Components: HTML - Compiler
>    Affects Versions: 0.10.0
>         Environment: Thrift Master on commit 
> 431732d39e89f1661dc7dddffedb2c5c1e019cc7
>            Reporter: Gonzalo Aguilar
>            Assignee: Gonzalo Aguilar
>            Priority: Minor
>
> We discovered the html documents are not correctly generated because the 
> links of structs are sometimes done as Struct and sometimes as Typedef. 
> None of the Typedef links are working. Mainly because they are Structs in our 
> case and thus no link is performed. 
> We made a patch for structs. but we have to check if it works for the rest of 
> types. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to