Skip to content

Infer Fuma navigation links from project metadata - #169

Merged
timkpaine merged 1 commit into
mainfrom
tkp/infer-fuma-project-links
Oct 22, 2026
Merged

timkpaine merged 1 commit into
mainfrom
tkp/infer-fuma-project-links

Conversation

@timkpaine

Copy link
Copy Markdown
Member

Description

Infer Fuma's GitHub, Home, and Docs links from [project.urls] when theme options omit them. Preserve explicit settings, including empty values, and skip duplicate navigation destinations. Use these defaults in Yardang's own documentation and document URL precedence.

Validation: make lint; make test with 157 passing tests in a clean temporary checkout; python -m build; wheel metadata and asset inspection; git diff --check. Regression tests verify generated configuration and rendered links in the header and sidebar toolbar.

The current working copy's ignored generated Rust API pages cause a pre-existing sphinxcontrib-rust KeyError: 'index' in the self-documentation test. Reproduced on unchanged HEAD with the same generated files; those files remain untouched.

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Refactor / code cleanup
  • CI / build configuration
  • Other (describe below)

Checklist

  • Linting passes (make lint)
  • Tests pass (make test, clean temporary checkout)
  • New tests added for new functionality
  • Documentation updated (if applicable)
  • Changelog / version bump (not applicable)

Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

Test Results

157 tests  +38   157 ✅ +38   25s ⏱️ -1s
  1 suites ± 0     0 💤 ± 0 
  1 files   ± 0     0 ❌ ± 0 

Results for commit 8f665cb. ± Comparison against base commit 4ad752e.

@timkpaine
timkpaine merged commit a220f5a into main Oct 22, 2026
2 checks passed
@timkpaine
timkpaine deleted the tkp/infer-fuma-project-links branch October 22, 2026 22:18
@codecov

codecov Bot commented Oct 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.45%. Comparing base (4ad752e) to head (8f665cb).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #169      +/-   ##
==========================================
+ Coverage   89.02%   89.45%   +0.43%     
==========================================
  Files          16       16              
  Lines        2096     2182      +86     
  Branches      214      224      +10     
==========================================
+ Hits         1866     1952      +86     
  Misses        160      160              
  Partials       70       70              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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