Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tutorial Filter 1: CreateTags #235

Open
denise-khuu opened this issue Nov 2, 2021 · 0 comments
Open

Tutorial Filter 1: CreateTags #235

denise-khuu opened this issue Nov 2, 2021 · 0 comments
Assignees
Labels

Comments

@denise-khuu
Copy link
Contributor

denise-khuu commented Nov 2, 2021

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.

@nikiOstrov nikiOstrov assigned nikiOstrov and unassigned nikiOstrov Nov 30, 2021
@denise-khuu denise-khuu self-assigned this Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants