Convert RST to DOCBOOK

Turn RST files into DOCBOOK. A DocBook 5 article with sections, lists, tables, links, footnotes and math.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop RST files on the dialor turn it to pick what to do

RST turned into a DocBook article.Sections, lists, tables, links, footnotes and math carry over.

  1. What you get

    One DocBook 5 article built from your reStructuredText. Sections, lists, tables, links, footnotes and math are written out as DocBook XML.

    The result is a single file with the extension dbk or docbook.

  2. What changes

    Directives that only Sphinx knows, such as toctree, keep just their text. The directive itself is not carried over.

    Comments are dropped. Images stay as links, so the picture files are not placed inside the DocBook file.

  3. Going the other way

    To turn DocBook back into reStructuredText, use DOCBOOK to RST. For other conversions from this format, see every RST conversion.

RST and DOCBOOK.What each format is.

The formats

From · RST

reStructuredText

reStructuredText, the markup of Python documentation and Sphinx.

Extensions
.rst
MIME type
text/x-rst
Kind
Text and data
To · DOCBOOK

DocBook

DocBook XML, the structured format of technical books and manuals.

Extensions
.dbk .docbook
MIME type
application/docbook+xml
Kind
Text and data

In your code.The same RST to DOCBOOK conversion through the API, for your app or your agent.

terminal
$ cv convert report.rst report.dbk
$ cv convert report.rst report.dbk

Questions.What people ask about RST to DOCBOOK.

01OF 04

You get a DocBook 5 article in one file. It holds your sections, lists, tables, links, footnotes and math.

Not as directives. Those that only Sphinx knows, such as toctree, keep just their text.

They are dropped. They do not appear in the DocBook output.

No. Images stay as links, so the DocBook file points to them instead of holding them.

More conversions.Other ways in and out of RST and DOCBOOK.