Skip to content

Correct structure of website links after migration to folder-based versioning #856

@morri-son

Description

@morri-son

Description
After the migration to folder-based versioning the anchors of website links need to be checked and corrected as some contain absolute links (e.g. /docs/some-page) instead of relative links (e.g. docs/some-other-page). This can lead to links referencing across version boundaries.

All links should be converted to Hugo's relref notation using relative links that don't leave version boundaries. relref links are checked by Hugo during build time.

The websites for the ref docs generated for the OCM v1 versioned need to be handled differently. There is already a hack script that changes the pages on each release and adopt it to the website. This hack script needs to be adopted to the new website setup, too.

Done Criteria

  • Docs only contain relative pages
  • Docs don't link to docs in other versions
  • Successful demonstration in Review

Metadata

Metadata

Assignees

Labels

area/ipceiImportant Project of Common European Interestkind/bugfixBugkind/tasksmall task, normally part of feature or epic

Type

Projects

Status

🍺 Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions