Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

BrunoQuaresma
Copy link
Contributor

@BrunoQuaresma BrunoQuaresma commented Apr 25, 2024

I still need to make it run on CI and add it to Makefile but I would appreciate an early review of the code.

You can see a preview of the generated docs here: https://github.com/coder/envbuilder/blob/cd219d378179f0861903190dcd66c117dcc8dd68/README.md#environment-variables

Strategy
I added some markers, as HTML comments, in the markdown so the script can know where to place/replace the new content. Another option is to create another markdown file only for the flags and mention it on the main README.

Close #130

@BrunoQuaresma BrunoQuaresma self-assigned this Apr 25, 2024
@BrunoQuaresma
Copy link
Contributor Author

BrunoQuaresma commented Apr 26, 2024

Copy link
Member

@mafredri mafredri left a comment

Choose a reason for hiding this comment

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

LGTM!

Base automatically changed from bq/docs to main April 29, 2024 13:20
@BrunoQuaresma BrunoQuaresma marked this pull request as ready for review April 29, 2024 13:36
@BrunoQuaresma BrunoQuaresma merged commit 6218976 into main Apr 29, 2024
@BrunoQuaresma BrunoQuaresma deleted the bq/cli-gen branch April 29, 2024 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Autogenerate docs for all envbuilder flags
5 participants