[PAID] USD 555 for upgrading the discourse-static-pages plugin to the new Discourse API

(EDIT: because you forget to state the obvious when it’s so close to bedtime)

I’ve finally got round to submitting the pull request. Sorry about the unexplained delay, I had been trying to get docker to work with a (now ancient) version of Discourse which the plugin in its current state can run on, but I couldn’t wrap my head around it. And then I ran out of time in the week.

So, hopefully, it works as it did before. From reading the code before it works as I would expect that code to work, but you’ll have to let me know.

https://github.com/ShareLex/discourse-static-pages/pull/6

Also, are you running beta or tests-passed? I ask because in the tests-passed branch (and the next beta release) the markdown engine has been moved to a module which needs to be imported, which breaks the code as it is in those branches.

It’s simple to import the module, but then it won’t work in the current beta and stable branches. It would be possible to conditionally require it, but that gets a bit messy.

4 Likes