Skip to content

DOC: trim docs, fix inaccuracies and rendering issues - #140

Merged
yarikoptic merged 3 commits into
masterfrom
claude/serene-carson-br2ms9
Oct 7, 2026
Merged

yarikoptic merged 3 commits into
masterfrom
claude/serene-carson-br2ms9

Conversation

@yarikoptic

@yarikoptic yarikoptic commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

Follow-up to #138, based on an independent review of the merged documentation: claims were checked against the code, and the built HTML was crawled with Playwright.

Rendering

  • Option names keep their --. Sphinx smartquotes had turned them into en dashes (e.g. –foreground) in the command line reference and in search results, so copied options did not work.
  • Tables are no longer clipped: cells wrap. Long inline code, titles, signatures and API field lists wrap too, so no page needs horizontal scrolling at 320, 375, 768 or 1280 px.
  • In the changelog, [gh-actions](deps) now shows as plain text instead of broken links to #deps, and the warning is no longer suppressed.
  • Generated pages no longer show "Edit on GitHub" links that 404, and the contributing page's edit link points to CONTRIBUTING.md.
  • The front page no longer links to the Module Index, which was a 404.
  • API reference: no FileState(*values) signature and no "Bases: object" lines.

Content (about 70 lines shorter)

  • Tutorial: no clone or unmount output, and no repeated caching details. The Jupyter pattern moved to the Python guide, which now mounts with plain subprocess.
  • Troubleshooting: the path-related errors are merged into one entry, and self-explanatory entries are dropped.
  • A shorter "How it works", and bullets instead of a wide table on the front page.

Fixes

  • The Python route needs git-annex too.
  • CONTRIBUTING.md: documents the actual --no-forgejo option (there is no --forgejo, and failing to start the container is fatal by default) and the container image that is actually used.
  • Cache entries expire a week after they were first cached.
  • Version notes and sample outputs that would go stale are removed.
  • --caching help text: typo fixed, allowed values listed.

Merge with master (mfusepy, #139)

  • Kept master's FUSE installation instructions (FUSE 3 alone is enough) and its mfusepy imports.
  • Troubleshooting: with mfusepy, a failed read in the mount shows up as "Invalid argument", and datalad fusefs prints the actual error. The old entry described fusepy's misleading "Numerical result out of range".

Verification

  • sphinx -W passes; the only remaining warnings are intersphinx downloads blocked in the sandbox where this was prepared.
  • A Playwright crawl of 21 pages found no broken internal links or missing anchors, and no horizontal overflow at the widths above.
  • All 15 Python examples in the docs and README run against dandisets/000582, including mounting with mfusepy.
  • flake8, mypy and codespell pass.

🤖 Generated with Claude Code

https://claude.ai/code/session_01TZnKRgtotR2MqJqkzJfvRU

Yaroslav Halchenko and others added 2 commits October 6, 2026 21:23
- Keep "--" in option names (smartquotes turned them into en dashes,
  e.g. "–foreground" in the command line reference and search)
- Let table cells, long inline code, titles and signatures wrap, so
  that tables are not clipped and no page needs horizontal scrolling,
  down to phone widths
- Escape "[gh-actions](deps)" in the included changelog, which
  rendered as broken links to "#deps" (no longer suppressing the
  warning)
- No "Edit on GitHub" links on generated pages (they 404ed); the
  contributing page links to CONTRIBUTING.md
- API reference: no "(*values)" signature for FileState and no
  "Bases: object" lines

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TZnKRgtotR2MqJqkzJfvRU
Trim (~200 lines) content duplicated across pages or of little value:
clone/unmount output and repeated caching details in the tutorial,
the Jupyter pattern moved to the Python guide, simpler mounting from
Python with subprocess, merged/removed self-explanatory troubleshooting
entries, shorter "How it works", bullets instead of a wide table and
no Indices section on the front page.

Fix:
- The Python route also needs git-annex
- CONTRIBUTING.md: FUSE packages, the --no-forgejo option (there is no
  --forgejo, and failing to start the container is fatal by default),
  and the container image actually used
- Cache entries expire a week after they were first cached
- Drop a version note and sample outputs that would go stale
- --caching help text: fix typo, list the values

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TZnKRgtotR2MqJqkzJfvRU
@read-the-docs-community

read-the-docs-community Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Documentation build overview

📚 datalad-fuse | 🛠️ Build #34980662 | 📁 Comparing 25d71fb against latest (83a0a30)

  🔍 Preview build  

19 files changed · ± 19 modified

± Modified

@codecov

codecov Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.48%. Comparing base (05e75e4) to head (25d71fb).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #140   +/-   ##
=======================================
  Coverage   84.48%   84.48%           
=======================================
  Files          14       14           
  Lines        1502     1502           
=======================================
  Hits         1269     1269           
  Misses        233      233           

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

…n-br2ms9

Brings in the switch from fusepy to mfusepy (#139).

Conflicts:
- CONTRIBUTING.md, docs/source/installation.rst: take master's FUSE
  installation instructions (FUSE 3 alone suffices with mfusepy); keep
  this branch's other changes to the installation page
- docs/source/conf.py: keep this branch's autodoc defaults, with
  master's mfusepy mock

Also update the troubleshooting entry for failing reads in the mount:
with mfusepy, programs see "Invalid argument" and `datalad fusefs`
prints the actual error, instead of fusepy's "Numerical result out of
range".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TZnKRgtotR2MqJqkzJfvRU
@yarikoptic
yarikoptic merged commit 9aed5f6 into master Oct 7, 2026
17 checks passed
@yarikoptic
yarikoptic deleted the claude/serene-carson-br2ms9 branch October 7, 2026 01:37
@yarikoptic yarikoptic added the documentation Changes only affect the documentation label Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Changes only affect the documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants