OBOFoundry / OBOFoundry.github.io

Metadata and website for the Open Bio Ontologies Foundry Ontology Registry
http://obofoundry.org
Other
165 stars 204 forks source link

make pages case insenstive #1728

Open cmungall opened 2 years ago

cmungall commented 2 years ago

We use the ontology id to form pages, etc

https://obofoundry.org/ontology/chebi

Some people may come in via using the CURIE prefix

https://obofoundry.org/ontology/CHEBI

but this is a 404. See https://github.com/biopragmatics/bioregistry/issues/275

Unfortunately this is hard to do with our current lightweight framework but opening issue in case anyone has any ideas

https://stackoverflow.com/questions/48388057/how-to-make-github-pages-url-case-insensitive/48389490#:~:text=The%20short%20answer%20is%3A%20You,most%20webservers%20will%20respect%20that.

erik-whiting commented 2 years ago

Hi @cmungall, I made PR for this but it's necessarily very hacky: https://github.com/OBOFoundry/OBOFoundry.github.io/pull/2124. Let me know what you think. cc @matentzn and @cthoyt

matentzn commented 2 years ago

Thank you @erik-whiting - I am not the right person to review this, so I will just note again our gratitude for you contributing! Highly appreciated!