RST
RST copied to clipboard
PHP library to parse reStructuredText documents
I'm trying to parse the Godot Docs without much luck... I tried doing some hacks but it seems to made things worse... What can i do? This is the file:...
When I use Installation ------------ **Stable release** Via the Python Package Index:: $> pip install package **Development version** For a simple system-wide installation:: $> pip install -r requirements.txt . Depending...
When I tried to parse some documentation that I had written the parser threw an exception that the important directive was unknown. Is it possible to add this? See http://docutils.sourceforge.net/docs/ref/rst/directives.html#specific-admonitions...
I have seen several RST markdown files where 'code::' is used instead of 'code-block::'. This causes the library to throw an error about 'unknown directive'. So simply copy Directives/CodeBlock.php to...
Embedded URIs should allow for newlines as shown in an example at http://docutils.sourceforge.net/docs/user/rst/quickref.html#hyperlink-targets . The current parsing of links assumes the link is contained on a single line, which can...
Is it possible to support tables with varying colspans like this? ``` +-------------------+---------------+-----------------------------------------------------------------------------------------------+ | Doctrine | PHP | Database vendor | | | +--------------------------+---------+----------------------------------------------------------+ | | | Name | Version...
In some cases, a PHP notice is returned because the array key `titles` doesn't exists like: ```bash Error: Method Gregwar\RST\HTML\Document::__toString() must not throw an exception, caught ErrorException: Notice: Undefined index:...
Is it possible to support something like this? ``` Here is some RST text. [1]_ Here is some more RST text. [2]_ .. [1] This is the note about it....
Hello, I want to parse a documentation with includes, but I only got a message, that an included file doesn't exist: .//book/map.rst.inc It looks like an bug in Environment.php (the...
``` rst .. ================================================== .. DEFINE SOME TEXT ROLES .. -------------------------------------------------- .. role:: typoscript(code) .. role:: ts(typoscript) :class: typoscript .. role:: php(code) :language: php .. highlight:: php ```