Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A package can contain a README.md file for the documentation. If there is a README.md file, it is exposed in the API output for easy grabbing by EPM. At the moment the user can't configure the default file which should be used, the convention is the `README.md` file. This file might have an include for further files or data example files. For now we only support the `readme` file for documentation. Later on, we might add links to external documentation / repositories if needed like can be seen here: https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata An example event with a REAME link looks as following: ``` { "name": "example", "title": "Example Integration", "version": "1.0.0", "readme": "/package/example-1.0.0/docs/README.md", "description": "This is the example integration", "type": "integration", "categories": [ "logs", "metrics" ], "requirement": { "kibana": { "version.min": "7.0.0", "version.max": "" } }, "screenshots": [ { "src": "/package/example-1.0.0/img/kibana-iptables.png", "title": "IP Tables Overview dashboard", "size": "1492x1382" }, { "src": "/package/example-1.0.0/img/kibana-iptables-ubiquity.png", "title": "IP Tables Ubiquity Dashboard", "size": "1492x1464", "type": "image/png" } ], "assets": [ "/package/example-1.0.0/index.json", "/package/example-1.0.0/manifest.yml", "/package/example-1.0.0/docs/README.md", "/package/example-1.0.0/img/icon.png", "/package/example-1.0.0/img/kibana-envoyproxy.jpg", "/package/example-1.0.0/elasticsearch/ingest-pipeline/pipeline-entry.json", "/package/example-1.0.0/elasticsearch/ingest-pipeline/pipeline-http.json", "/package/example-1.0.0/elasticsearch/ingest-pipeline/pipeline-json.json", "/package/example-1.0.0/elasticsearch/ingest-pipeline/pipeline-plaintext.json", "/package/example-1.0.0/elasticsearch/ingest-pipeline/pipeline-tcp.json", "/package/example-1.0.0/kibana/dashboard/0c610510-5cbd-11e9-8477-077ec9664dbd.json", "/package/example-1.0.0/kibana/index-pattern/filebeat-*.json", "/package/example-1.0.0/kibana/visualization/0a994af0-5c9d-11e9-8477-077ec9664dbd.json", "/package/example-1.0.0/kibana/visualization/36f872a0-5c03-11e9-85b4-19d0072eb4f2.json", "/package/example-1.0.0/kibana/visualization/38f96190-5c99-11e9-8477-077ec9664dbd.json", "/package/example-1.0.0/kibana/visualization/7e4084e0-5c99-11e9-8477-077ec9664dbd.json", "/package/example-1.0.0/kibana/visualization/80844540-5c97-11e9-8477-077ec9664dbd.json", "/package/example-1.0.0/kibana/visualization/ab48c3f0-5ca6-11e9-8477-077ec9664dbd.json" ] } ```
- Loading branch information