Currently we have TAXONOMY_NAMES in constants.ts that list name without associating them with a path of the taxonomy.
And then in utils.py taxonomy_path_in_repository we use a hack to add the / at the right place.
This is ugly !
Associate TAXONOMY_NAMES with a path, and use this path in the API to specify the taxonomy location.
Also the available taxonomies (path and names) should be an API. And the list should be configurable.
Currently we have TAXONOMY_NAMES in constants.ts that list name without associating them with a path of the taxonomy.
And then in utils.py
taxonomy_path_in_repositorywe use a hack to add the / at the right place.This is ugly !
Associate TAXONOMY_NAMES with a path, and use this path in the API to specify the taxonomy location.
Also the available taxonomies (path and names) should be an API. And the list should be configurable.