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

Improvements to our developer guide #67764

Merged
merged 12 commits into from
Jul 13, 2020

Conversation

stacey-gammon
Copy link
Contributor

@stacey-gammon stacey-gammon commented May 29, 2020

Dev Docs

Updated developer guide

Improves our developer guide:

Sections removed

I removed the following sections as the contents are outdated or specific to legacy plugin development and/or angular:

  • Communicating with Elasticsearch
  • development-uiexports.
  • Modules and Autoloading

Restructuring the format

Previously separate into two categories:

  • Core development
  • Plugin development

New outline:

Screen Shot 2020-06-23 at 3 42 32 PM

I will quickly follow this up by moving the source of the content outside kibana/docs/developer and into kibana/dev_docs

@joshdover
Copy link
Contributor

  • Developing directly to the Kibana repo
  • Developing plugins externally

Maybe it makes more sense to have a generic "Developing plugins" section that is applicable to both scenarios and a "Developing plugins in the Kibana repo" section that is specific to 1st party plugins.

Otherwise I feel like these two sections just overlap a lot.

@stacey-gammon stacey-gammon force-pushed the 2020-05-28-dev-docs branch 12 times, most recently from 49500f9 to 6c30f3a Compare June 4, 2020 16:54
@stacey-gammon stacey-gammon force-pushed the 2020-05-28-dev-docs branch 5 times, most recently from cb05e5e to be6929a Compare June 7, 2020 12:36
@stacey-gammon stacey-gammon force-pushed the 2020-05-28-dev-docs branch 7 times, most recently from ac34d6f to 28170ab Compare June 23, 2020 19:35
@stacey-gammon stacey-gammon requested a review from KOTungseth June 23, 2020 19:44
@stacey-gammon stacey-gammon marked this pull request as ready for review June 23, 2020 19:51
@stacey-gammon stacey-gammon changed the title Migrates the contributing guide into asciidoc and moves to our developer guide Improvements to our developer guide Jun 23, 2020
Copy link
Contributor

@peterschretlen peterschretlen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, I like the new top level headings. I spent some time in the rendered docs and it feels pretty intuitive. There were a few minor issues with rendering, links etc. I left some review comments for those.

CONTRIBUTING.md Outdated Show resolved Hide resolved
docs/developer/advanced/running-elasticsearch.asciidoc Outdated Show resolved Hide resolved
docs/developer/advanced/running-elasticsearch.asciidoc Outdated Show resolved Hide resolved
docs/developer/best-practices/index.asciidoc Show resolved Hide resolved
docs/developer/best-practices/index.asciidoc Outdated Show resolved Hide resolved
docs/developer/contributing/index.asciidoc Outdated Show resolved Hide resolved
docs/developer/contributing/index.asciidoc Outdated Show resolved Hide resolved
docs/developer/contributing/index.asciidoc Outdated Show resolved Hide resolved
* To **NOT** include your changes in the Release Notes, use `release_note:skip`.

....
# Dev Docs
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be removed? It looks out of place in the rendered doc.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@KOTungseth - what do you think about this section? I think you recently added it to the CONTRIBUTING guide and I moved here. Maybe give a title "For example, include these sections in your git issue:"?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with Peter, we probably don't need it here. I think this is more for breaking changes.

docs/developer/contributing/linting.asciidoc Show resolved Hide resolved
stacey-gammon and others added 7 commits June 24, 2020 12:11
Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com>
Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com>
Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com>
Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com>
Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com>
@lcawl
Copy link
Contributor

lcawl commented Jul 3, 2020

I suggested some changes in stacey-gammon#15 as an example. If you like those changes, let me know and I can look at the rest of the sections too.

docs/developer/architecture/add-data-guide.asciidoc Outdated Show resolved Hide resolved
repo as a sibling of your {kib} repo. Follow the instructions in that project's
README for getting the docs tooling set up.

**To build the docs and open them in your browser:**
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you specify that node scripts/docs.js --open builds the Kibana docs? There are other product devs that tried to use this command on their own docs, and it didn't work.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So just leave out the part about this command opening the docs up in the browser?

* To **NOT** include your changes in the Release Notes, use `release_note:skip`.

....
# Dev Docs
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with Peter, we probably don't need it here. I think this is more for breaking changes.

docs/developer/getting-started/debugging.asciidoc Outdated Show resolved Hide resolved
docs/developer/getting-started/index.asciidoc Outdated Show resolved Hide resolved
docs/developer/getting-started/index.asciidoc Outdated Show resolved Hide resolved
docs/developer/getting-started/index.asciidoc Outdated Show resolved Hide resolved
docs/developer/getting-started/index.asciidoc Outdated Show resolved Hide resolved
docs/developer/getting-started/index.asciidoc Outdated Show resolved Hide resolved
Copy link
Contributor

@KOTungseth KOTungseth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are so many great improvements in this PR! Thank you for making these changes. LGTM.

@stacey-gammon stacey-gammon merged commit 0a516cf into elastic:master Jul 13, 2020
stacey-gammon added a commit to stacey-gammon/kibana that referenced this pull request Jul 13, 2020
* contributing guide -> asciidoc

* Update docs/developer/contributing/index.asciidoc

Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com>

* Update CONTRIBUTING.md

Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com>

* Update docs/developer/best-practices/stability.asciidoc

Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com>

* Update docs/developer/contributing/index.asciidoc

Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com>

* address code review comments

* Update docs/developer/contributing/development-documentation.asciidoc

Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com>

* review comment updates

* fix bad ref

Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com>
# Conflicts:
#	CONTRIBUTING.md
#	docs/developer/contributing/development-functional-tests.asciidoc
#	docs/developer/contributing/development-unit-tests.asciidoc
gmmorris added a commit to gmmorris/kibana that referenced this pull request Jul 13, 2020
* master: (28 commits)
  skip flaky suite (elastic#71361)
  [Ingest Manager] Add UI to enroll standalone agent (elastic#71288)
  Node options from cfg file for production (elastic#62468)
  [APM] Improvements to the ML Settings page (elastic#71309)
  add old .chromium to gitignore to prevent it from being accidentally committed
  [Ingest Manager] Simplify add/edit package config (integration) form (elastic#71187)
  Ensure Other bucket works on scripted fields. (elastic#71329)
  [APM] Anomaly detection setup link with alert if job doesn't exist (elastic#71229)
  [APM] Anomaly detection integration with transaction duration chart (elastic#71230)
  inclusive language (elastic#71438)
  [Ingest Manager] During fleet setup create an enrollment for every config (elastic#71308)
  Improvements to our developer guide (elastic#67764)
  [SIEM][Detections] Fixes index patterns order (elastic#71270)
  [Metrics + Logs UI] Add test for logs and metrics telemetry (elastic#70858)
  [Maps] Inclusive language (elastic#71427)
  [Logs UI] Unskip log highlight api integration test (elastic#71058)
  [Security_Solution][Resolver] Style adjustments per UX (elastic#71179)
  [Functional test] Increase the timeout to click new vis function (elastic#71226)
  [Discover] Migrate async import of embeddable factory to actual embeddable (elastic#70920)
  fix overflow (elastic#70723)
  ...
stacey-gammon added a commit that referenced this pull request Jul 13, 2020
* contributing guide -> asciidoc

* Update docs/developer/contributing/index.asciidoc

Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com>

* Update CONTRIBUTING.md

Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com>

* Update docs/developer/best-practices/stability.asciidoc

Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com>

* Update docs/developer/contributing/index.asciidoc

Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com>

* address code review comments

* Update docs/developer/contributing/development-documentation.asciidoc

Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com>

* review comment updates

* fix bad ref

Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com>
# Conflicts:
#	CONTRIBUTING.md
#	docs/developer/contributing/development-functional-tests.asciidoc
#	docs/developer/contributing/development-unit-tests.asciidoc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:plugin_api_changes Contains a Plugin API changes section for the breaking plugin API changes section. v7.9.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Developer guide cleanup
5 participants