I would like to write a 2-column website (html) with reStructuredText and rst2html5.
I have tried like this
.. container:: right
   Right text
.. container:: left
   Left text
and it works well (with css "float").
However, rst2html5 could not compile a .rst with a section within a container directive with a message (SEVERE/4) Unexpected section title or transition..
.. container:: right
   ========
   Section1
   ========
   Right text
.. container:: left
   Left text
I guess/think the rst2html5 behavior is completely valid for the rst specification.
I would like to get .html from .rst with rst2html5 like this.
<div class="right">
  <h1>Section1</h1>
  <p>Right text</p>
</div>
<div class="left">
  <p>Left text</p>
</div>
Is it allowed to include sections within container or something like that? (I think it is not allowed, right?) or How can I get a similar html output to above from .rst (with rst2html5)?
I read this thread, but could not manage to get 2-column html.
Any comments would be appreciated. Thanks in advance.
 
     
    