Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport #347 and #390 to 1.0: Generator for asciidoc representation of all ECS fields (#347) #392

Merged
merged 2 commits into from
Mar 21, 2019

Conversation

webmat
Copy link
Contributor

@webmat webmat commented Mar 20, 2019

Backport of PR #347 and #390 to 1.0 branch. Original message:

This code generates both the index page for the fields section, and the
detailed page for each fieldset.
Also in this PR:

  • If short not set, copy definition to it
  • If short contains \n, fail. Beginning of an ECS linter.
  • Beef up the local file imports in tests.
  • autopep8 ignore E402, in order to leave local imports alone
  • Create generators/ecs_helpers.py, to start reusing functionality beween
    generators

Note: #390 was just a missing changelog

webmat added 2 commits March 20, 2019 08:45
This code generates both the index page for the fields section, and the detailed page for each fieldset.

Also in this PR:

- If `short` not set, copy `definition` to it
- If `short` contains \n, fail. Beginning of an ECS linter.
- Beef up the local file imports in tests.
  - autopep8 ignore E402, in order to leave local imports alone
- Create generators/ecs_helpers.py, to start reusing functionality beween generators
@webmat webmat self-assigned this Mar 20, 2019
@webmat webmat requested a review from ruflin March 20, 2019 14:57
@webmat webmat merged commit c899ce8 into elastic:1.0 Mar 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants