Skip to content

Translate the tutorial manual to wodoc (.mld)#40

Draft
balat wants to merge 2 commits into
masterfrom
wodoc-doc-migration
Draft

Translate the tutorial manual to wodoc (.mld)#40
balat wants to merge 2 commits into
masterfrom
wodoc-doc-migration

Conversation

@balat

@balat balat commented Jun 6, 2026

Copy link
Copy Markdown
Member

Migrates the main Ocsigen tutorial from extended wikicreole to wodoc .mld, per the doc-rationalization report §11ter.

What

  • Both versions translated in place in the main branch (tutos/8.0/manual/, tutos/dev/manual/) with wodoc convert --odoc-refs — tuto keeps its two-versions-in-master layout (no wikidoc branch).
  • Old .wiki sources removed (recoverable from git history). menu.wiki kept as the sidebar nav source (parsed by gen-manual-nav.py, exactly like eliom's wikidoc menu.wiki).

Rendering / verification

The themed site is built from these .mld by ocsigen.github.io's wodoc/tuto/build.sh (manual-only: drives odoc directly, no dune/odoc-driver). Cross-project API refs (eliom, …) resolve to the deployed wodoc docs; tuto-specific blocks (concept/concepts/wip/docblock) and wikicreole tables render correctly.

Content section headings compared page-by-page to the live ocsigen.org/tuto/{8.0,dev}/manual/: 8.0 60/60, dev 61/61 identical.

Depends on wodoc PR ocsigen/wodoc#1 (convert/render fixes) and the ocsigen.github.io deploy PR.

Both versions (tutos/8.0, tutos/dev) translated in place with `wodoc convert
--odoc-refs`, keeping the doc in the main branch (no wikidoc branch). The old
.wiki sources are removed (recoverable from git history); menu.wiki is kept as
the sidebar navigation source (parsed by gen-manual-nav.py, same as eliom).

The themed site is built from these .mld by ocsigen.github.io's wodoc/tuto/
build.sh. Verified: content section headings identical to the live site on all
pages (8.0 60/60, dev 61/61).
@balat balat force-pushed the wodoc-doc-migration branch from 94a9bfb to f264b14 Compare June 6, 2026 10:56
The mld sources kept the old html_of_wiki 'wiki:manual/<page>'
abbreviation as the link URL, which 404'd. Point them at the sibling
<page>.html, matching the flattened wodoc layout.
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