-
Notifications
You must be signed in to change notification settings - Fork 151
Description
In the find_description_edit_url function, we just check whether the dojo is official and is a repository. This check isn't enough, as there are some repos (e.g. the course ones), that are official, but when you click on the edit description button, it redirects to a non-existent page.
Suggestion: Add a field in the dojo.yml file that allows the creator to specify whether he wants the edit description button or not. Another way would be to just check whether that path exists before redirecting to it.
Another problem that I found is that repositories that have been relocated (like the arm dojo's repo, that originated in robwaz/arm-dojo, but has since been relocated to https://github.com/pwncollege/arm-dojo) are still the ones that the edit button redirects to, instead of the new repository.