Skip to content

DocsV3: Update plugin docgen tooling to work with new MD files and structure #110

@karenzone

Description

@karenzone

Current stack-versioned plugin docs tooling generates plugin docs for inclusion in the Logstash Reference (LSR). I broke plugin doc generation (for main and 9.0) when I replaced asciidoc source files in the logstash repo with the new MD source files. Tooling is looking for logstash/docs/index.asciidoc, but it's no longer there.

Line 1574 Can't find --doc /home/runner/work/logstash-docs/logstash-docs/logstash/docs/index.asciidoc

Update:
We have work-arounds that let us generate plugin docs PRs after:

Decisions

  • Where should conversion happen? Source? Enrichment? End-of-pipeline?
  • When to migrate source content?
  • We'll likely need a phased approach (short-term, mid-term, long-term) to deal with complexity and volume. What does that look like?

Considerations

  • Need ability to support both MD (for 9.0+) and ASCIIDOC (for 8.x and earlier).
  • File location and Include path settings are different for 9.0+ and 8.x.
  • Link format varies between ADOC and MD, and so far, has required manual cleanup

Tooling affected

Related and relevant

Requirements

  • Stack-versioned docs tooling should be modified to generate plugin docs for main 9.0, and 9.x branches
  • Stack-versioned docs tooling should maintain existing (or equivalent) functionality to build plugin docs for 8.x series and earlier branches.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions