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
- LSR plugin docgen:
- Note that tooling for the Versioned Plugin Reference (VPR) is unaffected because it's self-contained. That is, it doesn't rely on any files in the
logstash repo.
Related and relevant
Requirements
Current stack-versioned plugin docs tooling generates plugin docs for inclusion in the Logstash Reference (LSR). I broke plugin doc generation (for
mainand9.0) when I replaced asciidoc source files in thelogstashrepo with the new MD source files. Tooling is looking forlogstash/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.asciidocUpdate:
We have work-arounds that let us generate plugin docs PRs after:
The output will still fail docs-ci because of differences between ADOC and MD, but we have output to work with, cutting out several manual steps outlined in https://github.com/elastic/logstash-docs-md/issues/16..
Decisions
Considerations
Includepath settings are different for 9.0+ and 8.x.Tooling affected
logstash-docslogstashrepo.Related and relevant
Requirements
main9.0, and9.xbranches