Skip to content

Use intra-xref for rootid #226

Open
Open
@cwickert

Description

We should use the intra-xref style for links that lead to the rootid of the current document. It may not be semantically correct, but it does makes sense because

  1. there is no use linking to the very beginning, nobody wants to jump from within a document to its title.
  2. it looks silly in some cases. A good example is the list of available documentation in doc-sle/xml/common_intro_available_doc_i.xml. All bullet points except the current document intra-xref, so one looks weirdly off and the link does not make sense.

So we not only need to check if the link target is outside the current rootid but if it is the rootid itself.

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