Sphinx Isolated Integration Analysis
Overview
This document records the synchronized integration analysis for the isolated documentation work recovered from origin/isolated into the dedicated branch:
integration/sphinx-docs
The integration preparation was requested under these constraints:
preserve the current local work on
standard-ml-codexwithout destructive actions;recover the isolated branch work conservatively and in order;
rebuild the handoff context from the archived log
reference/isolated_handoff/readme.temp.mdand the related technical documents;stop after producing an integration analysis document and an explicit checklist;
do not promote canonical repository changes yet.
The recovery work has already been completed safely:
current source branch checked:
standard-ml-codexuncommitted local changes found: none
non-destructive checkpoint commit needed: no
dedicated branch created:
integration/sphinx-docsisolated commit series cherry-picked in chronological order:
4df4dcc41b248dc24649f6739bb01ecebc0cc44d6d9fb985ffd4f0e857aa3abbd9f11274e8b8b3219fa6dfcb0296f7ebe41991a913d584e40b116d4fe07e0f44e8d64da2a3c6b29473020d7c09d627936fa27b82e5246b9e589e6088c062c27ca66f8a2a
cherry-pick conflicts encountered: none
Technical Approach
What The Isolated Branch Already Completed
The isolated branch does not contain one single feature. It contains four distinct work families:
NotebookLMarchive ingestion and handoff preparationdocumentation-platform evaluation and comparison reporting
MkDocsproof-of-concept workSphinx + RTDproof-of-concept work and backlog planning
Recovered artifacts already present on integration/sphinx-docs include:
standalone handoff root:
reference/isolated_handoff/readme.temp.md
archived NotebookLM provenance manifest:
reference/isolated_handoff/notebooklm_exports_provenance_manifest.md
documentation comparison report:
doc/reports/analysis/2026-03-22-10-28-00_code_documentation_platform_comparison_report.mddoc/reports/analysis/2026-03-22-10-28-00_code_documentation_platform_comparison_report.pdf
MkDocs POC:
reference/documentation_poc/mkdocs.poc.ymlreference/documentation_poc/doc_site_poc/reference/documentation_poc/poc_sources/
Sphinx POC:
reference/documentation_poc/sphinx_poc/
external visual benchmark:
reference/documentation_visual_references/ur_rtde_api_reference_example.pdf
Current Confirmed Direction
After reading the recovered handoff and the related technical notes, the direction is already decided and should be treated as valid unless the user explicitly changes it:
documentation platform target:
Sphinx + RTD
docstring standard:
Google-style
publication target:
GitHub Pages
This means the earlier MkDocs work remains useful as comparative evidence, but it is no longer the canonical target architecture.
Assumptions From Isolated Work That Still Hold
The following isolated assumptions are still valid in the synchronized state:
NotebookLMimported bundles should remain treated as archived external material until an explicit canonical migration pass is approved.Sphinx + RTDremains the selected documentation platform target.Google-style docstringsremain the selected documentation standard.GitHub Pagesremains the selected hosting target.the archived
ur_rtdePDF remains a valid visual benchmark for API density and structure.reference/isolated_handoff/readme.temp.mdremains the authoritative handoff source for what was done in isolated mode.
Assumptions From Isolated Work That Need Revalidation
The following isolated assumptions are not safe to promote blindly:
moving the full learning-guide family from
doc/reports/analysis/learning_guides/todoc/guide/This still looks directionally reasonable, but it touches shared indexes and shared guide references and therefore must be revalidated during canonical implementation.using the mirrored
MkDocsandSphinxPOC module copies as direct canonical content They are comparative artifacts, not final canonical source.promoting the isolated mirrored
project_usage_guidepage directly The canonicaldoc/guide/project_usage_guide.mdhas changed since divergence, so the mirrored copy is only a POC input, not an up-to-date source of truth.promoting the isolated documented mirror of
train_feedforward_network.pydirectly The canonical file changed after divergence, so any future docstring rewrite must start from the current canonical file, not from the isolated mirror.
Canonical Versus Archive Boundary
The recovered isolated work splits cleanly into two groups.
Archive / Handoff / Comparative Material
These should remain archival or comparative until a later explicit canonical integration batch:
reference/isolated_handoff/readme.temp.mdreference/isolated_handoff/notebooklm_exports_provenance_manifest.mdreference/documentation_poc/mkdocs.poc.ymlreference/documentation_poc/doc_site_poc/reference/documentation_poc/poc_sources/reference/documentation_poc/sphinx_poc/isolated documented mirror modules
imported NotebookLM slide decks, videos, mind maps, and supporting PDFs
Material Likely To Influence Canonical Repository Work
These should be treated as integration inputs for future canonical decisions:
doc/technical/2026-03/2026-03-22/2026-03-22-10-05-00_code_documentation_platform_evaluation.mddoc/technical/2026-03/2026-03-22/2026-03-22-10-20-00_code_documentation_comparison_report_and_pdf.mddoc/technical/2026-03/2026-03-22/2026-03-22-11-28-00_docstring_standard_and_rich_api_poc.mddoc/technical/2026-03/2026-03-22/2026-03-22-12-05-00_documentation_direction_docstring_standard_and_dual_poc.mddoc/technical/2026-03/2026-03-22/2026-03-22-12-40-00_sphinx_documentation_architecture_backlog_and_github_pages_plan.mdreference/documentation_visual_references/ur_rtde_api_reference_example.pdfthe renderer support patch in
scripts/reports/generate_styled_report_pdf.py
Batch 0 Canonical Recommendation
The correct canonical starting point for Sphinx is not guide migration, NotebookLM migration, or docstring rewrite.
The correct Batch 0 is a minimal portal foundation only.
Batch 0 Scope
create the canonical
docs/rootcreate
docs/conf.pycreate
docs/index.rstcreate section-shell pages for:
Getting StartedProject GuideAPI Reference
enable:
sphinx.ext.autodocsphinx.ext.napoleonsphinx.ext.viewcodesphinx_rtd_theme
add local build instructions
validate one clean local HTML build
Batch 0 Explicit Non-Goals
no guide migration to
doc/guide/no NotebookLM media migration into canonical guide folders
no
README.mddocumentation link yetno
GitHub Pagesworkflow yetno broad canonical docstring rewrite yet
no direct promotion of
MkDocsPOC filesno blind import of isolated mirrored Python modules
This keeps the first canonical step small, low-risk, and compatible with the current synchronized repository state.
Involved Components
reference/isolated_handoff/readme.temp.mdMain authoritative handoff for isolated-mode work.reference/isolated_handoff/notebooklm_exports_provenance_manifest.mdRecovered archive tree for imported NotebookLM guide materials.doc/technical/2026-03/2026-03-20/2026-03-20-17-01-59_notebooklm_export_ingestion_and_archive.mddoc/technical/2026-03/2026-03-22/2026-03-22-09-50-07_additional_notebooklm_guide_archives.mddoc/technical/2026-03/2026-03-22/2026-03-22-10-05-00_code_documentation_platform_evaluation.mddoc/technical/2026-03/2026-03-22/2026-03-22-10-20-00_code_documentation_comparison_report_and_pdf.mddoc/technical/2026-03/2026-03-22/2026-03-22-11-05-00_mkdocs_proof_of_concept.mddoc/technical/2026-03/2026-03-22/2026-03-22-11-28-00_docstring_standard_and_rich_api_poc.mddoc/technical/2026-03/2026-03-22/2026-03-22-12-05-00_documentation_direction_docstring_standard_and_dual_poc.mddoc/technical/2026-03/2026-03-22/2026-03-22-12-40-00_sphinx_documentation_architecture_backlog_and_github_pages_plan.mddoc/technical/2026-03/2026-03-22/2026-03-22-13-00-00_ur_rtde_visual_reference_archival.mddoc/technical/2026-03/2026-03-23/2026-03-23-11-02-32_periodic_and_residual_notebooklm_guide_archives.mdscripts/reports/generate_styled_report_pdf.pyShared script modified by the isolated branch and therefore requiring special review.README.mddoc/README.mddoc/guide/project_usage_guide.mdscripts/training/train_feedforward_network.pyShared files whose current synchronized state must be respected in any later canonical integration batch.
Implementation Steps
Preserve the current local branch state non-destructively and verify whether a checkpoint commit is needed.
Fetch
origin/isolated, createintegration/sphinx-docs, and cherry-pick the missing isolated commits in chronological order.Reconstruct the isolated-mode context by reading
reference/isolated_handoff/readme.temp.mdand the related documentation-architecture technical notes.Compare the synchronized repository state against the isolated assumptions and identify shared files at conflict risk.
Classify the recovered isolated files into:
archive / handoff / comparative material
future canonical integration inputs
Define the correct canonical Batch 0 for
Sphinx.Produce this integration analysis document and the explicit integration checklist.
Stop before any canonical implementation changes and wait for user approval.