Skip to content

fix: restore docs deploy and fix PyPI badge - #37

Merged
Chris1221 merged 2 commits into
mainfrom
fix/docs-and-badge
Jul 4, 2026
Merged

fix: restore docs deploy and fix PyPI badge#37
Chris1221 merged 2 commits into
mainfrom
fix/docs-and-badge

Conversation

@Chris1221

Copy link
Copy Markdown
Owner

Summary

  • PyPI badge: switched from badge.fury.io (was stuck showing 0.1.6) to shields.io/pypi/v/yamldoc, which pulls the live version on every page load.
  • GitHub Pages: the mkdocs.yml config was never committed — docs were deployed manually in 2020 and never touched again. This PR adds it along with a workflow that auto-deploys on every push to main.

What's in mkdocs.yml

  • Theme: mkdocs-material (modern look, responsive)
  • Plugins: mkdocstrings[python] for the API reference pages (docs/api/classes.md and docs/api/main.md were already using ::: syntax, just had no config)
  • Nav: Home → Tutorials (basic, schema, hierarchical) → Sphinx Integration → API Reference

Test plan

  • mkdocs build runs successfully locally (warnings are about missing type annotations in existing code, not errors)
  • Merge and verify the deploy-docs workflow fires and the gh-pages branch updates
  • Check https://chris1221.github.io/yamldoc/ renders correctly after deploy

🤖 Generated with Claude Code

- Add mkdocs.yml (was never committed; MkDocs was run manually in 2020)
  Uses mkdocs-material theme and mkdocstrings for the API reference pages.
- Add .github/workflows/docs.yml that builds and deploys to gh-pages on
  every push to main via mkdocs gh-deploy.
- Switch PyPI badge from badge.fury.io (stale) to shields.io which pulls
  the live version from PyPI on every page load.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@codecov

codecov Bot commented Jul 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.61%. Comparing base (967df25) to head (730ed49).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #37   +/-   ##
=======================================
  Coverage   91.61%   91.61%           
=======================================
  Files           7        7           
  Lines         787      787           
=======================================
  Hits          721      721           
  Misses         66       66           

☔ 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.

Changed claude-code-review.yml from firing on every PR open/sync to
workflow_dispatch only. Reviews can still be triggered two ways:
- Comment @claude on any PR (handled by claude.yml)
- Actions → Claude Code Review → Run workflow → enter PR number

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Chris1221
Chris1221 merged commit e58ddc9 into main Jul 4, 2026
1 check 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