Skip to content

Conversation

@yarikoptic
Copy link
Collaborator

by default make does nothing! I kept it that way but made that "nothing" explicit. I also added serve target so it is straightforward to trigger build&serve

…ctions are available

by default make does nothing!  I kept it that way but made that "nothing" explicit.
I also added serve target so it is straightforward to trigger build&serve
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 enhances the Makefile by adding a user-friendly "serve" target and providing helpful descriptions of available make targets. The changes make it explicit that running make without arguments does nothing by default, while guiding users toward useful commands. The CONTRIBUTING.md documentation is updated to reflect the new make serve option.

Key Changes:

  • Added a serve target to the Makefile that prepares the environment and runs mkdocs serve
  • Modified the default all target to print helpful descriptions of available make targets
  • Updated CONTRIBUTING.md to document the new make serve option

Reviewed changes

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

File Description
Makefile Added .PHONY declarations, implemented help text in the all target, and introduced a new serve target that depends on install
CONTRIBUTING.md Updated build instructions to mention the new make serve command as an alternative to directly running uv run mkdocs serve

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

Co-authored-by: Copilot <[email protected]>
@echo " serve -- prep environment and build and serve docs"
@echo " formatschema -- format and commit(!) schema"

serve: install
Copy link
Collaborator

Choose a reason for hiding this comment

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

No javascript is needed.

Suggested change
serve: install
serve: .venv

### 4. Ready to build!

Using the terminal (command line) please enter `uv run mkdocs serve`.
Using the terminal (command line) please enter `uv run mkdocs serve`. Alternatively, if you would like to use `make`, run `make serve` which will ensure the node and `uv` environments are present and trigger the `mkdocs` build.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
Using the terminal (command line) please enter `uv run mkdocs serve`. Alternatively, if you would like to use `make`, run `make serve` which will ensure the node and `uv` environments are present and trigger the `mkdocs` build.
Using the terminal (command line) please enter `uv run mkdocs serve`.
Alternatively, if you would like to use `make`, run `make serve`, which will run `uv sync` and then `mkdocs`.

@effigies effigies added the exclude-from-changelog This item will not feature in the automatically generated changelog label Dec 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation exclude-from-changelog This item will not feature in the automatically generated changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants