Skip to content

Comments

Fix make init statements in README#2547

Merged
ctauchen merged 1 commit intotigera:mainfrom
ctauchen:docs-2697-readme
Feb 24, 2026
Merged

Fix make init statements in README#2547
ctauchen merged 1 commit intotigera:mainfrom
ctauchen:docs-2697-readme

Conversation

@ctauchen
Copy link
Collaborator

Product Version(s):

Issue:

Link to docs preview:

SME review:

  • An SME has approved this change.

DOCS review:

  • A member of the docs team has approved this change.

Additional information:

Merge checklist:

  • Deploy preview inspected wherever changes were made
  • Build completed successfully
  • Test have passed

@ctauchen ctauchen requested a review from a team as a code owner February 24, 2026 16:11
Copilot AI review requested due to automatic review settings February 24, 2026 16:11
@netlify
Copy link

netlify bot commented Feb 24, 2026

Deploy Preview for calico-docs-preview-next ready!

Name Link
🔨 Latest commit a46b114
🔍 Latest deploy log https://app.netlify.com/projects/calico-docs-preview-next/deploys/699dcd9774af2800082c2aaa
😎 Deploy Preview https://deploy-preview-2547--calico-docs-preview-next.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Feb 24, 2026

Deploy Preview succeeded!

Built without sensitive environment variables

Name Link
🔨 Latest commit a46b114
🔍 Latest deploy log https://app.netlify.com/projects/tigera/deploys/699dcd9774af2800082c2aa5
😎 Deploy Preview https://deploy-preview-2547--tigera.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 67 (🔴 down 6 from production)
Accessibility: 98 (no change from production)
Best Practices: 92 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

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

Updates the repository README quick-start instructions to reflect the correct native setup steps (Node via nvm + Corepack) and to adjust guidance around dependency installation when using make targets.

Changes:

  • Replaces the README “Native” quick-start step from make init to nvm use && corepack enable.
  • Removes make init from the “Build and development commands” table.
  • Updates the note to state dependencies are installed automatically when running build/start commands and that switching modes triggers manual-clean.
Comments suppressed due to low confidence (1)

README.md:75

  • The make init target still exists (and is a prerequisite for make start/make build), but it’s no longer listed in this command table. Consider adding it back with an accurate description (e.g., installs dependencies via yarn install and manages local vs containerized state) so users can run dependency setup explicitly.
## Build and development commands

| Command | Description |
|---|---|
| `make start` | Dev server at localhost:3000 (released versions only) |
| `make start-next` | Dev server including unreleased "next" docs |
| `make build` | Full production build |
| `make build-next` | Full build including unreleased docs |
| `make serve` | Build and serve the production site |
| `make serve-next` | Build-next and serve |
| `make clean` | Remove build artifacts |
| `make manual-clean` | Nuclear clean: removes `node_modules`, `.yarn`, `.docusaurus`, `build` |

# Native
make init # Enables Corepack and runs yarn install
nvm use && corepack enable
make start # Dev server at http://localhost:3000
Copy link

Copilot AI Feb 24, 2026

Choose a reason for hiding this comment

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

In the quick-start snippet, make start will run init (and thus yarn install), but that’s not obvious from the steps anymore. Suggest adding a brief note here (or include an optional make init step) so readers understand dependency installation will happen when make start runs.

Suggested change
make start # Dev server at http://localhost:3000
make init # Optional: installs dependencies (corepack + yarn install)
make start # Runs init on first run, then dev server at http://localhost:3000

Copilot uses AI. Check for mistakes.
All commands support `CONTAINERIZED=true` for Docker-based builds (e.g., `make build CONTAINERIZED=true`).

> **Note:** When switching between native and containerized builds, the `init` target automatically detects the change and runs `manual-clean` for you.
> **Note:** Dependencies are installed automatically when you run any build or start command. When switching between native and containerized builds, the build system detects the change and runs `manual-clean` for you.
Copy link

Copilot AI Feb 24, 2026

Choose a reason for hiding this comment

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

This note says dependencies are installed automatically when you run “any build or start command”; since the README mentions using yarn directly, this could be misread as applying to yarn build/start too. Consider clarifying that this auto-install behavior is for the make targets (e.g., make start, make build, etc.).

Suggested change
> **Note:** Dependencies are installed automatically when you run any build or start command. When switching between native and containerized builds, the build system detects the change and runs `manual-clean` for you.
> **Note:** For the `make` targets listed above (for example, `make start`, `make build`, `make serve`), dependencies are installed automatically when you run a build or start command. This does not apply to running Yarn scripts directly (such as `yarn start` or `yarn build`), which still require `yarn install` after `corepack enable`. When switching between native and containerized builds, the build system detects the change and runs `manual-clean` for you.

Copilot uses AI. Check for mistakes.
@ctauchen ctauchen merged commit af9f446 into tigera:main Feb 24, 2026
15 checks passed
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.

1 participant