Skip to content

More flexible title id generation #4712

Open
@egekorkan

Description

Description of problem

URL to affected spec or repo:

https://w3c.github.io/wot-thing-description/ontology/td

What happened (e.g., it crashed)?: ReSpec always inserts the id title for the document title. However, if there is already a section id with value title in the document, it causes issues with linking to that section.

Expected behavior (e.g., it shouldn't crash): In such cases, respec should display a warning. It can also try to iterate and add title2 etc. Even better would be a configuration option to set a custom title id.

Optional, steps to reproduce:

  1. Go to https://w3c.github.io/wot-thing-description/ontology/td#title
  2. Expect to land at section 4.3.12 but the window moves to the top of the page, i.e. to the document title

Note: I am not sure why the title needs an id. Maybe removing that addition of the id can make sense?

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