Skip to content

Conversation

@alycda
Copy link
Owner

@alycda alycda commented Dec 29, 2025

This PR adds a comprehensive documentation chapters about:

  • Devcontainers
  • Nix
  • Tooling & IDE
  • Claude
  • CI

@alycda alycda changed the title Docs: Devcontainers Documentation Dec 29, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a comprehensive documentation chapter about Devcontainers, explaining their purpose, benefits, and practical usage in development workflows.

  • Introduces Chapter 2 covering Devcontainers philosophy and implementation
  • Provides practical guidance on when to use (or skip) devcontainers
  • Includes concrete configuration examples and tooling recommendations

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
book/src/chapter_2.md New chapter providing comprehensive coverage of devcontainers, including rationale, minimal configuration examples, and integration with Nix
book/src/SUMMARY.md Updated table of contents to include the new Devcontainer chapter

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@alycda alycda marked this pull request as ready for review December 30, 2025 04:34
@alycda alycda marked this pull request as draft December 30, 2025 04:35
- direnv
- nix-shell
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 5 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 110 to 112
## Up Next: Just

You've seen `just rebuild` above. The next chapter covers Just—a command runner that ties these tools together with simple, memorable commands.
Copy link

Copilot AI Dec 30, 2025

Choose a reason for hiding this comment

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

The documentation references "The next chapter covers Just" but there is no Just chapter in the SUMMARY.md table of contents. Either the Just chapter should be added or this reference should be removed/updated to avoid confusion.

Suggested change
## Up Next: Just
You've seen `just rebuild` above. The next chapter covers Just—a command runner that ties these tools together with simple, memorable commands.
## Just
You've seen `just rebuild` above. Just is a command runner that ties these tools together with simple, memorable commands.

Copilot uses AI. Check for mistakes.
buildInputs = with pkgs; [ just cheat asciinema presenterm tmux mdbook ];
```

Each of these gets its own chapter later. The point is: adding tools is trivial. One line in `shell.nix`, and everyone who clones this repo gets the same environment.
Copy link

Copilot AI Dec 30, 2025

Choose a reason for hiding this comment

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

The documentation states "Each of these gets its own chapter later" referring to the tools in shell.nix (just, cheat, asciinema, presenterm, tmux, mdbook), but none of these chapters appear in the SUMMARY.md. This creates an unfulfilled promise to readers. Consider either adding these chapters or removing this forward reference.

Suggested change
Each of these gets its own chapter later. The point is: adding tools is trivial. One line in `shell.nix`, and everyone who clones this repo gets the same environment.
Whether it's just one tool or many, adding them is trivial. One line in `shell.nix`, and everyone who clones this repo gets the same environment.

Copilot uses AI. Check for mistakes.
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 8 out of 9 changed files in this pull request and generated 6 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


## Up Next: Just

You've seen `just rebuild` above. The [next chapter](./tools/just.md) covers Just—a command runner that ties these tools together with simple, memorable commands.
Copy link

Copilot AI Dec 30, 2025

Choose a reason for hiding this comment

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

The relative path in this link is incorrect. Since this file is located at book/src/nix/home-manager.md, the path "./tools/just.md" tries to find tools/ inside the nix/ directory. The correct relative path should be "../tools/just.md" to navigate up to the src directory, then into the tools directory.

Suggested change
You've seen `just rebuild` above. The [next chapter](./tools/just.md) covers Just—a command runner that ties these tools together with simple, memorable commands.
You've seen `just rebuild` above. The [next chapter](../tools/just.md) covers Just—a command runner that ties these tools together with simple, memorable commands.

Copilot uses AI. Check for mistakes.

- https://github.com/casey/just
- https://just.systems/man/en/
- https://learnxinyminutes.com/make/
Copy link

Copilot AI Dec 30, 2025

Choose a reason for hiding this comment

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

The learnxinyminutes link appears to point to a "make" tutorial page rather than a "just" tutorial page. Since this is documentation for Just (not Make), this link should either point to Just-specific documentation or be removed. If the intention is to contrast Just with Make, consider clarifying this in the link text.

Suggested change
- https://learnxinyminutes.com/make/
- [Learn Make in Y Minutes (for comparison)](https://learnxinyminutes.com/make/)

Copilot uses AI. Check for mistakes.
Just is a project tool—you need it when working on *this* project, not globally. That's why it's in `shell.nix`:

```nix
buildInputs = with pkgs; [ just cheat asciinema presenterm tmux mdbook ];
Copy link

Copilot AI Dec 30, 2025

Choose a reason for hiding this comment

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

Package name inconsistency between code examples. This example shows "asciinema" but the nix/README.md file at line 75 shows "asciinema_3" in the shell.nix example. The documentation should use consistent package names across all examples to avoid confusion.

Suggested change
buildInputs = with pkgs; [ just cheat asciinema presenterm tmux mdbook ];
buildInputs = with pkgs; [ just cheat asciinema_3 presenterm tmux mdbook ];

Copilot uses AI. Check for mistakes.
Comment on lines +27 to +30
"features": {
"ghcr.io/devcontainers/features/nix:1": {
"packages": ["direnv"]
}
Copy link

Copilot AI Dec 30, 2025

Choose a reason for hiding this comment

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

There's a potential documentation inconsistency. The chapter shows the initial setup with direnv in the Nix feature packages array, but the current devcontainer.json (line 8) indicates that direnv is now handled by home-manager. This evolution should be explicitly mentioned in the documentation to explain why the initial setup differs from the current state, or the example should be updated to match the current configuration.

Copilot uses AI. Check for mistakes.
- [Devcontainers](./chapter_2.md)
- [Nix](./nix/README.md)
- [Home Manager](./nix/home-manager.md)
- [Flakes]()
Copy link

Copilot AI Dec 30, 2025

Choose a reason for hiding this comment

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

The Flakes entry has an empty link target, which will result in a broken link in the generated documentation. Either provide the actual path to the Flakes documentation file, or remove this entry until the documentation is ready.

Suggested change
- [Flakes]()

Copilot uses AI. Check for mistakes.
Copy link
Owner Author

Choose a reason for hiding this comment

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

placeholder to denote flakes are not forgotten but not implemented/documented yet

ripgrep # Fast search
jujutsu # Git-compatible VCS
gh # GitHub CLI
claude-code # AI assistant
Copy link

Copilot AI Dec 30, 2025

Choose a reason for hiding this comment

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

The package name "claude-code" may not be a standard Nix package. Claude is typically accessed via API or web interface, not as a standalone installable package. Verify that this package exists in nixpkgs or clarify if this is a custom package. If it doesn't exist, this could cause build failures when users try to apply this configuration.

Suggested change
claude-code # AI assistant
fd # Fast file finder

Copilot uses AI. Check for mistakes.
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