Skip to content

Conversation

Hofer-Julian
Copy link
Contributor

  • Move command categories into separate file to make it easier to generate them later
  • Move make_docs.nu to top-level
  • Refactor make_docs.nu
    • Mostly extract code blocks into functions
    • Give variables more descriptive names
    • It reproduces the generated commands, when used with nu 0.75 (two lines are different, so I assume those fixes came later)

@hustcer
Copy link
Contributor

hustcer commented Feb 20, 2023

"update": "nu book/make_docs.nu",
BTW: The update command here need to be fixed too

@Hofer-Julian
Copy link
Contributor Author

"update": "nu book/make_docs.nu",

BTW: The update command here need to be fixed too

Indeed, that is fixed now

@hustcer hustcer merged commit da652fc into nushell:main Feb 21, 2023
@hustcer
Copy link
Contributor

hustcer commented Feb 21, 2023

Thanks

@Hofer-Julian Hofer-Julian deleted the generate-categories branch February 22, 2023 09:47
ayax79 pushed a commit to ayax79/nushell.github.io that referenced this pull request Jun 26, 2024
Closes nushell#789 🍻

- Runs without first generating a script
- Returns error (file) count
- Requires `--and-exit` to exit with error code
- Enables alternative report with env `STUB_IDE_CHECK=true`
- Expands documentation
- All subcommands share same file querying
- Prepares for nupm test integration
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