Open smalers opened 4 years ago
Using the following Github link to the raw markdown in the docPath
property worked for me:
https://raw.githubusercontent.com/OpenWaterFoundation/owf-app-infomapper-ng/master/infomapper/src/assets/app-default/content-pages/about-the-project.md
Using the Github link to the markdown page gave me a CORS error: https://github.com/OpenWaterFoundation/owf-app-infomapper-ng/blob/master/infomapper/src/assets/app-default/content-pages/about-the-project.md
This is what happened before when I was testing out links instead of paths for a property, which makes sense.
The raw GitHub link indeed does work, and has been used in the development environment for over a year. I will wait to close this until the Geoprocessor documentation has been updated. I'll discuss with @smalers and determine if I should do it, as it would be a relatively short process.
Test whether
docPath
that points to a URL in a GitHub repository works. This would allow InfoMapper to display content pages in other locations. Of course images might not work, but doing an initial experiment would point out issues to resolve later.