Skip to content

Break CONTRIBUTING.md into focused sub-guides - #8344

Merged
lagru merged 7 commits into
scikit-image:mainfrom
blink1073:8152
Oct 9, 2026
Merged

lagru merged 7 commits into
scikit-image:mainfrom
blink1073:8152

Conversation

@blink1073

@blink1073 blink1073 commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #8152.

Split the contributor documentation into focused sub-guides under doc/source/development/. See #8152 for the full list.

The goal was to make as few changes as possible. The first commit is a straight copy. The second commit adjusts indexes and document links. The last commit is a bit of cleanup.

I used DeepSeek V4.1 Flash for the implementation. I asked it to write a script to validate that the changes were purely cut-and-paste other than links and headers:

import re, pathlib

orig = pathlib.Path('/tmp/opencode/CONTRIBUTING_orig.md').read_text()

def strip_headings(t):
    return [l for l in t.splitlines() if not re.match(r'^#{1,6} ', l)]

base = pathlib.Path('doc/source/development')
for name in ['guidelines.md', 'testing.md', 'building_docs.md',
             'deprecations.md', 'data.md', 'benchmarks.md', 'install.md']:
    lines = [l for l in strip_headings((base / name).read_text()) if l.strip()]
    missing = [l for l in lines if l not in orig]
    print(name, len(lines), "missing:", len(missing))
    for m in missing[:8]:
        print("   MISS:", repr(m))

Release note

For maintainers and optionally contributors, please refer to the instructions on how to document this PR for the release notes.

Split contribution guide into separate, smaller, and more focused documents.

Split the contributing monolith into focused pages under
doc/source/development/ (install, guidelines, testing, building_docs,
deprecations, benchmarks, data), leaving the root CONTRIBUTING.md with
the development process and AI policy sections. Content is moved
verbatim apart from heading-level promotion and the two fragment links
that now target the new pages.
@blink1073
blink1073 marked this pull request as ready for review September 29, 2026 20:28
@greptile-apps

greptile-apps Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

This AI review is meant to assist maintainers with quick spot checks. You don't need to act on it until you hear from a maintainer.

Retrigger

[Low impact] The PR appears safe to merge; no outstanding findings or new issues were identified.

Reviews (6) · Last reviewed commit: "address review" · Reviewed by Greptile

Comment thread CONTRIBUTING.md Resolved
Comment thread CONTRIBUTING.md Resolved
Add a further-reading index to CONTRIBUTING.md, list the new pages in
the development toctree, and update cross-references in INSTALL.rst,
core_developer.md, .coderabbit.yaml and .spin/cmds.py.
The test coverage and gallery sections now live on separate pages, so
the 'below' qualifier is inaccurate.
Comment thread CONTRIBUTING.md Resolved
Replace the {doc} roles in CONTRIBUTING.md with Markdown links that
render on GitHub, and set :relative-docs: on the include so they
resolve in the built documentation.
@lagru lagru added the 📄 type: Documentation Updates, fixes and additions to documentation label Sep 30, 2026
Comment thread doc/source/development/contribute.md Resolved
Comment thread .coderabbit.yaml Resolved

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think this file is ripe for a refactor (in a follow-up PR?). It advertises itself as "installation" but its current scope is better described as "Getting started (with development)". That scope may be fine, but neither the current file name nor heading convey that expectation.

There's also confusing overlap with the section "Development process" in contribute.md.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yeah, I wanted this PR to be scoped to a cut-and-paste. I don't consider the work to be done.

@lagru lagru left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks @blink1073 for tackling this. I left a few questions for clarification but nothing serious that can't wait for follow-up PRs. As is, this already seems like a big improvement, so approving.

I tried to check for missing references using sphinx's nitpicky option (SPHINXOPTS="-n -j 3" spin docs | rg doc/source/development ). Didn't notice any but might have missed some because that generates a lot of warnings for our docstrings.

Comment thread .coderabbit.yaml Resolved
@blink1073
blink1073 requested a review from lagru October 9, 2026 11:26
@lagru
lagru merged commit b700edc into scikit-image:main Oct 9, 2026
33 checks passed
@lagru

lagru commented Oct 9, 2026

Copy link
Copy Markdown
Member

Thanks! 😊

@github-actions github-actions Bot added this to the 0.27 milestone Oct 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📄 type: Documentation Updates, fixes and additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Break CONTRIBUTING guide into focused sub-guides

2 participants