Serve clean Markdown versions of every documentation page#446
Draft
Serve clean Markdown versions of every documentation page#446
Conversation
4 tasks
Agent-Logs-Url: https://github.com/FalkorDB/docs/sessions/a22cc9fa-6b51-4c1d-821b-103e4833d324 Co-authored-by: gkorland <753206+gkorland@users.noreply.github.com>
…edundant to_s Agent-Logs-Url: https://github.com/FalkorDB/docs/sessions/a22cc9fa-6b51-4c1d-821b-103e4833d324 Co-authored-by: gkorland <753206+gkorland@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Serve markdown versions of documentation pages
Serve clean Markdown versions of every documentation page
Apr 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documentation pages are only served as HTML, which is hostile to AI ingestion. This PR exposes a clean
.mdversion of every page, plus a manifest and a content-negotiation worker.Markdown export plugin
_plugins/markdown_pages.rbwrites a sibling.mdfile for every page during the Jekyll build (/foo/bar.html→/foo/bar.md,/→/index.md).page.contentto HTML in-place by:site, :post_write), front matter stripped, then rendered through Liquid only — converters are skipped so output stays markdown.layout: redirectpages and any page withmarkdown_skip: truein front matter./.well-known/markdown-index.txtlisting every markdown URL for crawlers.Clean output
_includes/code_tabs.htmlchecks amarkdown_formatflag set by the plugin and emits plain fenced code blocks instead of the radio/label tab widget. HTML rendering is unchanged.page.contentdirectly, not throughdo_layout.