How to deal with varying indentation in ReStructuredText codeblocks?

Viewed 36

I am converting an older document into ReST. The document has the following construction:

enter image description here

Question is now how to get this with ReST. The following does not work:

[…] are listed below.

::

      dataio - Data format conversion package (RFITS, etc.)     
        dbms - Database management package (not yet implemented)   
             …
      system - System utilities package             
   utilities - Miscellaneous utilities package

A package must be loaded in order […]
1 Answers

I don't know about raw docutils, but at least Sphinx has a code-block directive that has better control on the indentation I think.

On the other hand, I have seen other people use csv tables to achieve a similar result.

Related