Skip to content

chore: convert 2.7 docs from GitBook to MkDocs - #26

Merged
pfeerick merged 1 commit into
edgetx_2.7from
mkdocs-2.7
Oct 23, 2026
Merged

pfeerick merged 1 commit into
edgetx_2.7from
mkdocs-2.7

Conversation

@pfeerick

@pfeerick pfeerick commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

Summary

Converts edgetx_2.7 from GitBook to MkDocs, so the branch builds and publishes itself the same way edgetx_2.12 does.

  • Content: website/md-docs/ is the output of tools/import_legacy_gitbook.py for this branch. It's the same source the live https://luadoc.edgetx.org/2.7/ is already built from at deploy time, now committed. Git detects most pages as renames, so their history carries over. I dropped the duplicate README.md files the importer mirrors to index.md, keeping only index.md.
  • Config: a mkdocs.yml for 2.7 with the shared theme. edit_uri comes from DOCS_EDIT_URI and defaults to this branch.
  • Tooling: pyproject.toml/uv.lock, wrangler.jsonc, .gitignore.
  • Workflows: the shared publish-versioned-docs.yml (a push to this branch deploys 2.7) and preview-docs.yml (PRs get a Cloudflare preview). Both are identical on every branch. The latest release comes from the DOCS_LATEST_BRANCH repo variable, with edgetx_2.12 as the fallback.

Checks

  • mkdocs build succeeds. The remaining warnings are broken links that were already in the original GitBook content.
  • The built site has exactly the same file list as the live 2.7 version on gh-pages.
  • The rendered article content of every page is identical to the live version. The only addition is the "Edit this page" button (content.action.edit is enabled, since this branch is now the real source).

Before merging

If the GitBook space is still connected to this branch, disconnect its Git sync first. Otherwise GitBook may try to write its own tree back on top of this one.

🤖 Generated with Claude Code

@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

📖 Docs preview: https://pr-26-edgetx-lua-reference-guide.edgetx.workers.dev/2.7/

Built from 46ebbcf as the 2.7 version, on top of the currently published site.

Replace the GitBook tree with the MkDocs source the published 2.7 site is
already built from: the page content (converted by
tools/import_legacy_gitbook.py on edgetx_2.12) in website/md-docs/, a
mkdocs.yml for this version, and the uv project files. The branch now
builds itself: the publish workflow deploys it as "2.7" on push, and pull
requests get a Cloudflare preview. "Edit this page" is enabled and opens
this branch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@pfeerick
pfeerick merged commit 41055e7 into edgetx_2.7 Oct 23, 2026
4 checks passed
@pfeerick
pfeerick deleted the mkdocs-2.7 branch October 23, 2026 09:28
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