Add Markdown output format for PHP documentation#254
Open
philip wants to merge 3 commits into
Open
Conversation
Contributor
|
What is the use case for this? Normally markdown is a source format for producing HTML, and there is already an HTML output format. |
Member
Author
For agents, mostly. I understand this would means a discussion, but one general idea is to allow agents (or humans) to view Markdown. In two forms:
|
Contributor
|
What does actionable mean? Do you mean LLM friendly? Those can go to hell, I have no interest in giving free labor to criminals. |
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.
Adds a new markdown output format to the PHP package, producing clean Markdown from PHP DocBook sources.
Output:
.mdfile per chunk, named using the same convention as XHTML and Web (function.array-map.md,class.exception.md, etc.)New files:
Package/PHP/Markdown.php: the format rendererPI/MarkdownPHPDOCHandler.php: changelog PI handler (GFM table output)Usage:
phd -f markdown -P PHP -d doc-base/.manual.xml -o out/