Skip to content

Better semantics  #18

@dbuenzli

Description

@dbuenzli
  1. If we keep the embedding ability (see Replace the odoc-doc class by odoc  #9) then the wrapping <div class='odoc-doc'> should be replaced by an <article class='odoc'> (semantics).
  2. The introductory <div class=intro> should by simply be replaced by a classless <header> tag which can be used for introductory contents.
  3. After the header tag there should be no enclosing div for the literate text and definitions, simply add them sequentially after the header tag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions