frontend icon indicating copy to clipboard operation
frontend copied to clipboard

docs: adding the workflow yaml and the default from docs-template

Open LAShemilt opened this issue 2 months ago • 2 comments

Description

Adding a documentation workflow to the frontend repository based on the docs-template repository . This provides unified styling for all documentation across the SciCat project space.

Motivation

We want to put documentation next to the microservices , instead of having a single documentation repository which is hard to maintain. We want the styling and CI of the docs to be consistent across the SciCat Project.

Changes:

  • added default mkdocs.yml to .github/mkdocs path
  • added publish-docs.yml workflow

Summary by Sourcery

Set up documentation deployment via GitHub Actions and provide a default mkdocs configuration for unified styling.

CI:

  • Add publish-docs.yml workflow to deploy documentation on pushes to main and version tags using the docs-template action

Documentation:

  • Add default mkdocs.yml in .github/mkdocs inheriting from the shared docs-template configuration

LAShemilt avatar Oct 15 '25 12:10 LAShemilt

@Junjiequan shall we ignore this? I would be in favour of ignoring it...

An action sourced from a third-party repository on GitHub is not pinned to a full length commit SHA. Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps mitigate the risk of a bad actor adding a backdoor to the action's repository, as they would need to generate a SHA-1 collision for a valid Git object payload. (link)

minottic avatar Oct 20 '25 12:10 minottic

@minottic I suggest that we ignore this..

Junjiequan avatar Oct 22 '25 13:10 Junjiequan