Skip to content

Online documentation site migration to hextra#89

Merged
slawr merged 9 commits intoCOVESA:mainfrom
slawr:doc-site-migrate-to-hextra
Mar 20, 2026
Merged

Online documentation site migration to hextra#89
slawr merged 9 commits intoCOVESA:mainfrom
slawr:doc-site-migrate-to-hextra

Conversation

@slawr
Copy link
Copy Markdown
Collaborator

@slawr slawr commented Mar 13, 2026

Implementing enhancement #90

@slawr slawr added the documentation Improvements or additions to documentation label Mar 13, 2026
@slawr slawr moved this to In Progress in Central Data Service Playground Mar 13, 2026
@slawr slawr self-assigned this Mar 13, 2026
slawr added 2 commits March 18, 2026 18:14
The existing online documentation site that uses the Hugo HTML static
generator and Learn template is located in /docs/docs-gen/

The project is migrating to use Hugo and the Hextra template for the
doc site. The template move gives us the opportunity to update to a
later Hugo version and start afresh. As a step towards that create a
new Hugo project in the directory /docs/docs-site/ and enable the
Hextra template.

Signed-off-by: Stephen Lawrence <stephen.lawrence@renesas.com>
Populate the new site in /docs/docs-site/ with draft content:
* Configure hugo.yaml for CDSP and the Hextra template
* Add the documentation from the previous site to docs-site/content/
  and make some adjustments to the markdown. Mainly fixing links.

Signed-off-by: Stephen Lawrence <stephen.lawrence@renesas.com>
@slawr slawr force-pushed the doc-site-migrate-to-hextra branch from 030da3d to d194ff3 Compare March 18, 2026 18:15
@slawr
Copy link
Copy Markdown
Collaborator Author

slawr commented Mar 18, 2026

Rebased working branch on updated main branch after merge of #86

Signed-off-by: Stephen Lawrence <stephen.lawrence@renesas.com>
@slawr
Copy link
Copy Markdown
Collaborator Author

slawr commented Mar 19, 2026

Hi @chrizmc I am currently testing this to check the site is working as expected. Do you want to review when done, or shall I just go ahead and merge?

slawr added 4 commits March 19, 2026 15:44
The Hugo template created a placeholder home page. Modify the content so
it states something sensible for CDSP for people who end up here,
although currently the docs root page is a better landing page.

Signed-off-by: Stephen Lawrence <stephen.lawrence@renesas.com>
Hextra v0.12 introduced click-to-zoom support for Markdown images [1].

Testing showed that click-to-zoom for markdown using the form
{{< figure src=<file> title=<text> >}} was not working. However it does
work for the markdown form ![<title text>](<file>). So convert image
links to use the second working form.

[1] https://imfing.github.io/hextra/blog/v0.12/#image-zoom

Signed-off-by: Stephen Lawrence <stephen.lawrence@renesas.com>
Add the Hextra example github workflow for building the new Hugo Hextra
documentation site and deploying it to github pages.

Signed-off-by: Stephen Lawrence <stephen.lawrence@renesas.com>
Tell the Hugo build where to find the doc site source tree

Signed-off-by: Stephen Lawrence <stephen.lawrence@renesas.com>
@slawr slawr force-pushed the doc-site-migrate-to-hextra branch from 0b05f22 to 99d6947 Compare March 19, 2026 19:25
@slawr slawr changed the title (WIP) Online documentation site migration to hextra Online documentation site migration to hextra Mar 19, 2026
@slawr
Copy link
Copy Markdown
Collaborator Author

slawr commented Mar 19, 2026

Successfully tested site and github workflow deployment locally. Removing WIP from PR. Ready for review/merge.

slawr added 2 commits March 19, 2026 19:38
Remove the content for the old doc site in /docs/docs-gen/ that used
the Learn Hugo theme and old Hugo version.

Signed-off-by: Stephen Lawrence <stephen.lawrence@renesas.com>
Remove the github action build_check.yaml that despite its name
only build the old doc site. The new doc site uses an updated action
called pages.yaml

Signed-off-by: Stephen Lawrence <stephen.lawrence@renesas.com>
@slawr slawr linked an issue Mar 19, 2026 that may be closed by this pull request
4 tasks
@slawr
Copy link
Copy Markdown
Collaborator Author

slawr commented Mar 20, 2026

Change is self-contained and we need to get it merged to allow others to extend the documentation. Merging.

@slawr slawr merged commit 4b45ecf into COVESA:main Mar 20, 2026
@github-project-automation github-project-automation Bot moved this from In Progress to Done in Central Data Service Playground Mar 20, 2026
@slawr slawr deleted the doc-site-migrate-to-hextra branch March 23, 2026 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

Development

Successfully merging this pull request may close these issues.

Change online doc to Hextra template

1 participant