Closed mirkobrombin closed 2 months ago
LGTM, we could maybe show these stories separately in the frontend (related: https://github.com/Vanilla-OS/chronos-frontend/issues/35).
Actual implementation only requires the stories.yml file in the articles' root directory:
- id: testing
name: My First Story
description: See how cool is my first story
and add the story references in each article:
---
StoryId: testing
Previous: ""
Next: "test2"
Listed: true
Title: Test
Description: Test
PublicationDate: 2023-08-29
Authors:
- Vanilla-OS
Tags:
- test
---
test
the stories feature and all its values are optional and per repo.
A story in Chronos is a collection of articles that should be read in a specific order. The idea is to add a new key in the article header:
then adding a new
stories.yml
in each articles directory (for each language), with the following format:Chronos then will use that to provide one new key in each article response:
the client can then use this information to manage navigation between story chapters.
There will be also a new
:repoId:/stories
endpoint to return all the stories in the collection.