WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Tutorial Filter 1: CreateTags #235

@denise-khuu

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions