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

API docs always reflect the latest released version #5754

Open
noahtalerman opened this issue May 16, 2022 · 0 comments
Open

API docs always reflect the latest released version #5754

noahtalerman opened this issue May 16, 2022 · 0 comments
Labels
:improve documentation Involves writing improvements or additions to documentation

Comments

@noahtalerman
Copy link
Member

noahtalerman commented May 16, 2022

Today, the API docs can reflect an unreleased version of the API (main branch).

This happens because changes made to the docs, that are merged into the main branch, are automatically deployed to fleetdm.com.

Goal

As a user, I want the API docs to always reflect the latest released version of Fleet so that I know the integration I'm building will work with my Fleet instance.

How?

Proposed solution:

  • At the start of each release cycle, a member of the Developer relations (DevRel) team creates a new branch (ex. api-docs-4.16.0)
  • On each pull request (PR) that includes changes to the API, a member of the DevRel team grabs the API doc changes, updates them (if needed), submits a separate PR to the api-docs-4.16.0 branch, and updates the Postman Collection.
  • The engineer working on the PR that includes changes to the API reverts the docs changes before merging into main.
@noahtalerman noahtalerman added the :improve documentation Involves writing improvements or additions to documentation label May 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:improve documentation Involves writing improvements or additions to documentation
Development

No branches or pull requests

1 participant