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

doc: add default for generate_help_pages #425

Merged
merged 4 commits into from
Jun 28, 2024

Conversation

teto
Copy link
Member

@teto teto commented Jun 28, 2024

tried to harmoinze the display of defaults as well

Copy link
Contributor

Review Checklist

Does this PR follow the Contribution Guidelines? Following is a partial checklist:

Proper conventional commit scoping:

  • For example, fix(installer): some installer bugfix

  • Pull request title has the appropriate conventional commit prefix.

If applicable:

  • Tested
    • Tests have been added.
    • Tested manually (steps in PR description).
  • Updated documentation.

@teto teto force-pushed the harmonize-doc-defautls branch from 7389c2c to 6b68290 Compare June 28, 2024 08:59
@teto
Copy link
Member Author

teto commented Jun 28, 2024

ha I see it's generated ^^'

The makefile target is kinda tautologic but it helps with discovery
@teto teto force-pushed the harmonize-doc-defautls branch from e8e76a1 to 0265f16 Compare June 28, 2024 14:15
@teto teto changed the title doc: add default for doc: add default for generate_help_pages Jun 28, 2024
@@ -19,7 +19,7 @@ jobs:
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'

- name: Generating docs
run: nix run ".#docgen"
run: nix develop --command "make docgen"
Copy link
Member Author

Choose a reason for hiding this comment

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

I totally get it if you dont like the change @mrcjkb (see commit message). The idea is that as developer I tend to look at how the CI is configured to run the same commands so I thought I would mimic what I would do. If it's too bothersome I can drop it. https://github.com/DeterminateSystems/magic-nix-cache-action is supposed to alleviate the extra nix installs but I dont have experience with it.

@@ -127,6 +127,7 @@
# to be generated
gcc
tree-sitter
docgen
Copy link
Member Author

Choose a reason for hiding this comment

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

I prefer to run docgen from within the shell then nix run .#docgen which is slower (it copies the fodler to the store + nix eval time).

teto added 2 commits June 28, 2024 16:38
This might be less optimal then the actual command as it installs more
stuff but it might be closer to what a user will run.
tried to harmoinze the display of defaults as well
@teto teto force-pushed the harmonize-doc-defautls branch from 0265f16 to 0e1cd0f Compare June 28, 2024 14:38
@mrcjkb mrcjkb enabled auto-merge (squash) June 28, 2024 15:16
@mrcjkb mrcjkb disabled auto-merge June 28, 2024 17:52
@mrcjkb mrcjkb merged commit 8fe399c into nvim-neorocks:master Jun 28, 2024
@teto teto deleted the harmonize-doc-defautls branch June 28, 2024 20:32
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.

2 participants