Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing template for doctest_block #64

Closed
tomschr opened this issue Oct 23, 2018 · 0 comments
Closed

Missing template for doctest_block #64

tomschr opened this issue Oct 23, 2018 · 0 comments
Labels

Comments

@tomschr
Copy link
Collaborator

tomschr commented Oct 23, 2018

Problem description

Some files create a definition list like this:

<definition_list>
   <definition_list_item>
      <term>Usage:</term>
      <definition>
         <doctest_block xml:space="preserve">&gt;&gt;&gt; @wip('Expected Error', expected_exception=Exception, bug="#000000")
&gt;&gt;&gt; def test():
&gt;&gt;&gt;     pass</doctest_block>
      </definition>
   </definition_list_item>
</definition_list>

Actual behaviour

The DocBook's <listitem/> is empty.

Expected behaviour

<variablelist>
  <varlistentry>
    <term>Usage:</term>
    <listitem>
        <screen>...</screen>
    </listitem>
  </varlistentry>
</variablelist>
@tomschr tomschr added the bug label Oct 23, 2018
@tomschr tomschr changed the title Missing template for definition_list Missing template for doctest_block Oct 24, 2018
tomschr added a commit that referenced this issue Oct 24, 2018
Fix #64: Add missing doctest_block template
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant