elastic / docs-tools

A place to put documentation tooling
4 stars 13 forks source link

New snmp-integration docs not being picked up for Logstash Reference (LSR) #106

Closed karenzone closed 5 months ago

karenzone commented 6 months ago

Integration-snmp docs are not being picked up in LSR docgen.

Some context

How do we want to handle this?

karenzone commented 6 months ago

Another possible solution: Could we add those to this skiplist to skip the whole repo?

jsvd commented 6 months ago

Another possible solution: Could we add those to this skiplist to skip the whole repo?

Indeed, the skip list in docs-tools should be only for repos that aren't plugins, so keeping:

skip:
  - logstash-core-plugin-api
  - logstash-patterns-core
  - logstash-devutils

is fine, and the rest should be moved to plugins-metadata.json, and we should be able to remove the condition to automatically exclude non default integrations, and exclude them if they have "skip-list":true https://github.com/elastic/docs-tools/blob/main/plugindocs.rb#L66-L69

karenzone commented 6 months ago

PRs:

karenzone commented 5 months ago

UPDATE: The root cause still exists, but this particular issue was resolved when integration-snmp became a default plugin with the merge of https://github.com/elastic/logstash/pull/16180.