Skip to content

Simplify docs home and organize guides by common tasks - #439

Merged
iskandr merged 1 commit into
mainfrom
docs/simpler-home
Oct 5, 2026
Merged

iskandr merged 1 commit into
mainfrom
docs/simpler-home

Conversation

@iskandr

@iskandr iskandr commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

The documentation home page required another click before readers could install the package or try a query, and the guides led with uncommon dataset choices. Put installation, TP53 lookup, real transcript/protein sequence excerpts and output interpretation together on home.

Order navigation by common tasks first (genes/transcripts, aliases and genomic DNA), followed by reference selection, downloads and custom annotations. Collapse sidebar groups and use task names. Rewrite the gene/transcript guide around name, ID and genomic-position lookups on the same human release 93 dataset; move fly and older HLA-A examples to the end. Keep scientific qualifications and complete API coverage. README links now open the rendered site.

Preserve the old getting-started URL with a standard MkDocs redirect, including all five section fragments, and retain a short source-page link for old GitHub URLs. Update contributor guidance to keep first results on home and organize guides around reader workflows.

Fix the arbitrary first-name-match DNA example (#437) with a stable TP53 ID. Fix the example checker consuming prose after unpaired code blocks (#438), and check all five home/common-query outputs. Validate README links to the generated site as well as source files.

Validation: ./docs.sh passed (22 pages, rendered internal links and anchors, README destinations and complete exported API coverage); all five examples matched installed human GRCh38 / Ensembl 93. Old tutorial redirect/fragment verified in a browser. Home, common-query guide and Genome API reviewed at desktop (1280 px) and narrow (390 px) widths without page-wide overflow. ./lint.sh and TEST_SH_MAX=2 ./test.sh passed (527 passed, 1 opt-in benchmark skipped). Version: 2.22.3.

Closes #437.
Closes #438.

CI infrastructure note: the strict documentation build and Python 3.9 job passed on GitHub. The remaining matrix jobs were cancelled before any steps ran because hosted runners could not be assigned, matching the ongoing https://www.githubstatus.com/ Actions incident. The PR's 527-test suite passed locally. The documentation/example checker changes were also exercised in the HGNC follow-up candidate on local Python 3.9–3.14: lint, all 538 tests (one opt-in benchmark skipped), and all five documented examples passed on each version. No required status check is configured on main. Clean-main deployment will run the ordinary lint/test gates.

@iskandr
iskandr merged commit dfb8f6b into main Oct 5, 2026
3 of 9 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.

Documentation example checker can consume prose after an unpaired Python block Reference DNA example selects an arbitrary first gene-name match

1 participant