This PR, adds a program, _scripts/populate-tags.py, which maintains the contents of the /learn in such a way that tags are clickable items. As a result, we now have a page like this:
We have this page, simply because at least one resource under our resources directory was tagged with metagenomics.
With these changes, when a new tag appears in any of the YAML files under the resources directory above, two things happen:
We get a URL like the one above for the tag that simply lists all resources,
AND, a new file under the new tags-intro directory in the codebase matching to the tag (i.e., metagenomics.md). The contents of this file is imported at the very beginning of the tag page, so an introductory text can be added to guide people better than just listing available resources.
I know it is a bit cryptic at this moment, but I hope we will populate this over time with good examples.
This PR, adds a program,
_scripts/populate-tags.py
, which maintains the contents of the/learn
in such a way that tags are clickable items. As a result, we now have a page like this:http://anvio.org/learn/metagenomics/
We have this page, simply because at least one resource under our resources directory was tagged with
metagenomics
.With these changes, when a new tag appears in any of the YAML files under the resources directory above, two things happen:
I know it is a bit cryptic at this moment, but I hope we will populate this over time with good examples.