Open TimoGlastra opened 2 years ago
Excellent catch @TimoGlastra
I'm not sure how to do this with gatsby
a folder structure message/readme.md
doesn't work and message.md
doesn't work.. maybe we can just add wildcard resolution to everything after /2.0/
?
maybe we can just add wildcard resolution to everything after /2.0/?
That sounds like a good solution to me.
I gave wildcard a look but don't know gatsby well enough so will try again later
unfortunately @wip-abramson it appears that #32 didn't work on the production site. See https://didcomm.org/basicmessage/1.0/test
I think this might be because the files are generated and served through github pages. The page resolver maybe doesn't use that section and that's why it works in dev but not prod? Just me guessing..
hmm on further testing with a local build it does appear to resolve subdirs but they have messed up CSS.. so maybe this is close
Hmm yeah I am also not sure about this. I haven't used gh-pages much and never with gatsby. Will take another look at the code though when I get round to it.
Okay, I think this describes our problem.
We just need to figure out how to do the equivalent for gh-pages.
When opening a protocol uri with the message type in your browser a 404 error is shown.
This means when you want to view the documentation for the
message
message in thebasicmessage
protocol you need to go to the following url:instead of the following url