flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-5781) Generation HTML from ConfigOption
Date Wed, 10 May 2017 18:57:04 GMT

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

ASF GitHub Bot commented on FLINK-5781:
---------------------------------------

Github user zentol commented on the issue:

    https://github.com/apache/flink/pull/3495
  
    I love this issue, it's just so damn interesting.
    
    You can find an implementation of my approach [here](https://github.com/zentol/flink/commit/2c40e660a883ec4db28cf92913daf0a103563fc8).
    
    First we generate a tree structure containing all ConfigOptions, based on the components
of the key. We then insert the ConfigGroups into the corresponding nodes, marking sub trees.
Finally, for each ConfigGroup we recursively search the entire tree, extracting all ConfigOptions
that are contained in the sub tree of the ConfigGroup, that are not part of another, more
specific, ConfigGroup.
    
    It also as a separate branch for *Options classes that don't have any annotation, making
them optional.


> Generation HTML from ConfigOption
> ---------------------------------
>
>                 Key: FLINK-5781
>                 URL: https://issues.apache.org/jira/browse/FLINK-5781
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Documentation
>            Reporter: Ufuk Celebi
>            Assignee: Dawid Wysakowicz
>
> Use the ConfigOption instances to generate a HTML page that we can use to include in
the docs configuration page.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message