Skip to content

Tutorial Filter 1: CreateTags #235

Description

@denise-khuu

Checkout this link to find a code example of a similar problem
https://github.com/devonfw/architectures/blob/master/scripts/createTags.js

CreateTags is script to create a tags.json file, which will map tagged tutorials to its predefined tags.
It should be a dictionary made from the tags as key and a list of tutorials as value, similar to this example:

{
"Difficulty": {"Easy":["devonfw-ide"...], "Standard":[], "Hard":[]},
"Stack":{"devon4j":[],"devon4quarkus":[]},
"Accelerator":{"cobigen":[],"devonide":[]}
}

You could also list them like this:

{"Difficulty": [
{"tag": "Easy", "tutorials":["devonfw-ide"...]},
....]}

You will find the tags at the start of each tutorial in the index.ascii file.

On the '/tutorials' page we will have a filter option to find tutorials based on the ticked tags.
It should use this 'tutorials.json' to write the filter engine.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions