Skip to content

autoslides=False fails when some documents don't include ..slide:: directive #12

@puterleat

Description

@puterleat

Setting autoslides=False fails when some documents don't include ..slide:: directive. The error is:

Exception occurred:
File "/Users/ben/Envs/lectures/lib/python2.7/site-packages/docutils/nodes.py", line 954, in replace_self
'Losing "%s" attribute: %s' % (att, self[att])
AssertionError: Losing "ids" attribute: ['foo']

Adding .. slide:: to document foo fixes the error. I'm ambivalent about what the default behaviour should be, but either:

  • building a single side from the title or
  • building no slides for the doc at all

Would be preferable. As it stands I have to add an empty slide to all docs in my project if I want to turn off auto slides.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions