Skip to content

[Website] generate "Pulsar configuration" page from code automatically #10041

Closed

Description

@Anonymitaet

Our community has developed many features and enhancements for Pulsar components (for example, adding various configurations, that is great!)

However, docs are always ignored and lag behind the code. This might be caused by that devs do not want to add this kind of docs manually, which is an inefficient way. So may I suggest generating the contents of the Pulsar configuration page from the code automatically? It might need to develop some automatic tools for the following section:

  • BookKeeper
  • Broker (315157973 is working on)
  • Client
  • Service discovery
  • Log4j
  • Log4j shell
  • Standalone
  • WebSocket
  • Pulsar proxy
  • ZooKeeper

Describe the solution you'd like
Consider using your most familiar language python, shell, java, etc. to parse these `YAML configuration files https://github.com/apache/pulsar/tree/master/conf, generate the markdown file, then we can generate HTML page for each version.

This an example preview: http://pulsar.apache.org/tools/pulsar-admin/2.7.0-SNAPSHOT/

Can anyone take care of this?
Your help is much appreciated, thanks.

P.S. Task management: https://docs.google.com/spreadsheets/d/1P6tePGmU1lEhGKY_hE3JWgJ1rUTBCmW7AshDICJZr3o/edit#gid=1030826289

Activity

  1. removed their assignment
    on Mar 25, 2021
  2. Anonymitaet commented on Jun 10, 2021

    @Anonymitaet
    MemberAuthor

    @315157973 I know you‘re trying to generate this tool, may I know the status? Do you need any help from us? Many thanks!

  3. Anonymitaet commented on Jun 18, 2021

    @Anonymitaet
    MemberAuthor

    Hi @315157973 any feedback on generating the tool? Many thanks!

  4. 315157973 commented on Jun 18, 2021

    @315157973
    Contributor

    Hi @315157973 any feedback on generating the tool? Many thanks!

    I am working on it

  5. Anonymitaet commented on Jun 30, 2021

    @Anonymitaet
    MemberAuthor

    Hi @315157973 any progress on the development? Thanks

    P.S. there are various sections on the Pulsar configuration page (https://pulsar.apache.org/docs/en/next/reference-configuration/)

    Are you generating the tool for all of them?

    image

  6. 315157973 commented on Jun 30, 2021

    @315157973
    Contributor

    I am working on Broker, and I will PR this week

  7. Anonymitaet commented on Jun 30, 2021

    @Anonymitaet
    MemberAuthor

    @315157973 thanks, look forward to your contribution.

  8. tuteng commented on Jul 2, 2021

    @tuteng
    Member

    @urfreespace working on broker-tool command

  9. codelipenghui commented on Mar 4, 2022

    @codelipenghui
    Contributor

    The issue had no activity for 30 days, mark with Stale label.

  10. tisonkun commented on Dec 6, 2022

    @tisonkun
    Member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions