When a new article is updated, we should trigger a cleanup of the technologies.
This cleanup will check if the technologies being used by the article are parent technologies.
If the technologies being used are not parents we should replaced them in the article with their respective parent.
This cleanup should happen in an asynchronous task.
Why is this important?
For instance, because child technologies should not have their own landing pages, for example:
If we implement this fix, the landing page for coding-standards will disappear and the articles inside coding-standards will automatically show up on coding-standard-guidelines.
When a new article is updated, we should trigger a cleanup of the technologies. This cleanup will check if the technologies being used by the article are parent technologies. If the technologies being used are
not parents
we should replaced them in the article with their respective parent. This cleanup should happen in an asynchronous task.Why is this important?
For instance, because child technologies should not have their own landing pages, for example:
coding-standard-guidelines
is a parent technologies and this is its landing page: https://4geeks.com/lessons/technology/coding-standard-guidelinescoding-standards
its a child, but it has its own landing page here: https://4geeks.com/lessons/technology/coding-standardsIf we implement this fix, the landing page for
coding-standards
will disappear and the articles insidecoding-standards
will automatically show up oncoding-standard-guidelines
.