Skip to content

docs: add CONTRIBUTING.md - #717

Merged
zaneni6 merged 1 commit into
mainfrom
docs/contributing-guide
Sep 9, 2026
Merged

docs: add CONTRIBUTING.md#717
zaneni6 merged 1 commit into
mainfrom
docs/contributing-guide

Conversation

@tawei-amd

Copy link
Copy Markdown
Collaborator

Summary

Adds a CONTRIBUTING.md — the repo had no contributing, code-of-conduct, or PR/issue template files before this.

Kept deliberately short (57 lines). It only documents things a contributor cannot work out from the tree on their own; build prerequisites already covered in the README are not repeated.

Contents

  • Build — recursive clone requirement, preset-based configure, and why a full rebuild is needed after pulling
  • Pull requests — commit conventions, vendored dirs not to edit, CI expectations
  • Gotchas — the two below
  • Bug reports — what to include, with a note that most startup failures are driver-version related
  • Licensing — the MIT source / proprietary kernel split

The two gotchas called out

  1. Adding a model needs an engine library for both NPU backends. The engine link list in CMakeLists.txt is unconditional, so an engine that lands only in src/lib/xrt/ breaks the FLM_USE_HRX=ON build at link time while the default build stays green. This happened between 2026-08-26 and 2026-09-07 with gemma4_12b_npu and hunyuan_npu.

  2. A new docs page is invisible until added to docs_nav in docs/_config.yml — the sidebar is not generated from page front matter.

Notes

Commit conventions were derived from actual history (last 300 non-merge commits: feat: 148, docs: 36, fix: 34, chore: 25, ci: 13, refactor: 9), including the scoped forms in use (chore(hrx):, fix(portable):) and the absence of sign-offs.

All referenced paths and links were verified to resolve.

Docs-only change — no source, build, or packaging files touched.

🤖 Generated with Claude Code

Build setup, PR conventions derived from existing history, and the two
gotchas that repeatedly bite contributors: the unconditional engine link
list that breaks the HRX build when a model lands only in lib/xrt/, and
new docs pages being invisible until added to docs_nav.

Co-Authored-By: Claude <noreply@anthropic.com>
@zaneni6
zaneni6 merged commit 0162fa7 into main Sep 9, 2026
9 of 12 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.

2 participants