Skip to content

v1.0.8: Documentation links and API reference corrections#68

Merged
OVVO-Financial merged 3 commits into
mainfrom
claude/python-docs-pypi-links-ocbtct
Jun 30, 2026
Merged

v1.0.8: Documentation links and API reference corrections#68
OVVO-Financial merged 3 commits into
mainfrom
claude/python-docs-pypi-links-ocbtct

Conversation

@OVVO-Financial

Copy link
Copy Markdown
Owner

Summary

This release updates documentation links throughout the project to point to the hosted documentation site, corrects API reference mappings for R equivalents, and bumps the version to 1.0.8.

Key Changes

  • Version bump: Updated version from 1.0.7 to 1.0.8 in pyproject.toml and src/nns/__init__.py

  • Documentation link migration: Converted relative local documentation links in README.md to absolute URLs pointing to the hosted documentation site at https://ovvo-financial.github.io/NNS-python/:

    • docs/plot_parity_policy.md → hosted plot parity policy page
    • docs/api_status.md → hosted API status page
    • docs/conventions.md → hosted conventions page
    • docs/api_reference.md → hosted API reference page
    • docs/parity.md → hosted parity page
    • docs/benchmarks.md → hosted benchmarks page
    • Example vignette links converted to GitHub raw file URLs
  • API reference corrections: Fixed R API equivalent mappings in docs/api_reference.md and scripts/generate_api_reference.py:

    • co_lpm_nd: "N-dimensional co-LPM path" → Co.LPM_nD
    • co_upm_nd: "N-dimensional co-UPM path" → Co.UPM_nD
    • dpm_nd: "N-dimensional DPM path" → DPM_nD
    • fsd, ssd, tsd: Added NNS. namespace prefix
    • fsd_uni, ssd_uni, tsd_uni: Added NNS. namespace prefix
    • dy_d: dy.ddy.d_ (corrected underscore suffix)
  • Project metadata: Updated pyproject.toml URLs to include Documentation link and reorder URL entries

Implementation Details

The changes ensure that:

  • Users are directed to the stable, hosted documentation rather than local markdown files
  • API reference documentation accurately reflects the R NNS package's actual function naming conventions
  • The project metadata properly advertises the documentation site

https://claude.ai/code/session_01JsqhFvg51XkvW4pCJquw42

claude added 3 commits June 30, 2026 07:00
…roject URL

PyPI renders the README (long_description) at the project root, so
repo-relative Markdown links like docs/plot_parity_policy.md resolve to
https://pypi.org/project/ovvo-nns/docs/plot_parity_policy.md and 404.

- Point all doc links at the live GitHub Pages site
  (https://ovvo-financial.github.io/NNS-python/<page>/), using the
  file-path-derived URLs that MkDocs actually emits.
- Point example/source and LICENSE links at the GitHub repo on main.
- Add a Documentation entry to [project.urls] so PyPI's sidebar links to
  the docs site, and drop the redundant Project URL.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JsqhFvg51XkvW4pCJquw42
The crosswalk and per-function "Closest R API" notes labeled the
stochastic-dominance routines as FSD/SSD/TSD and the n-dimensional
co-moments descriptively, which do not match the actual R NNS exports.
Use the real exported names so the mapping is precise:

- FSD/SSD/TSD -> NNS.FSD/NNS.SSD/NNS.TSD (and the .uni variants)
- "N-dimensional ... path" -> Co.LPM_nD / Co.UPM_nD / DPM_nD
- dy.d -> dy.d_

Applied to both docs/api_reference.md and the ApiMeta source in
scripts/generate_api_reference.py that the page is generated from.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JsqhFvg51XkvW4pCJquw42
Bump the version consistently across pyproject.toml, nns.__version__, and
the README "Current version" row (enforced by
scripts/check_version_consistency.py). Provenance in sync/nns_source.json
already records the R + NNS-core commits, so a v1.0.8 tag passes
scripts/check_release_provenance.py.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JsqhFvg51XkvW4pCJquw42
@OVVO-Financial OVVO-Financial merged commit cb6d2d2 into main Jun 30, 2026
7 of 8 checks passed
@OVVO-Financial OVVO-Financial deleted the claude/python-docs-pypi-links-ocbtct branch July 3, 2026 15:04
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