Skip to content

Html document structure #80

@xvw

Description

@xvw

Hi, first, thanks a lot for your work.
I am creating my own style sheet (for documentation of my possible packages) And I find it quite complicated to make a CSS easy to edit. Yet I think that a simple way to make documents more easily customizable would be to structure the document more "strongly".

For example :

<header>
  <nav>
     <!-- here, the little caml emoji and the Up button --> 
  </nav>
</header>
<div id="...">
  <h1>OCaml package documentation</h1>
  <p>...</p>
</div>
...

The main goal of a more "strongly" structure is to avoid, in the CSS, an abuse of things like that : nav::nth-child(1) { ... }.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions