accordproject / models

Accord Project Model Repository
https://models.accordproject.org
Apache License 2.0
29 stars 42 forks source link

Add `_redirects` file for netlify #125

Closed Aniruddha-Shriwant closed 3 years ago

Aniruddha-Shriwant commented 3 years ago

Feature Request 🛍️

This is redirected from https://github.com/accordproject/cicero-template-library/issues/245 As models are hosted by this repo hence fixing the above-mentioned issue from cicero-template-library here makes sense See @mttrbrts's comment here

Use Case

As this link (https://models.accordproject.org/v2.0/time.html) is outdated it was causing an error in the template's model dependency You may see the list of templates having an error here

Possible Solution

Making a _redirects file in the publish directory The docs for Netlify redirects is here https://docs.netlify.com/routing/redirects/ I Will make a PR for this soon...