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

**URL:** https://meta.discourse.org/t/paid-usd-555-for-upgrading-the-discourse-static-pages-plugin-to-the-new-discourse-api/46655
**Category:** Marketplace
**Created:** [2016年六月30日 08:35 UTC](https://meta.discourse.org/t/paid-usd-555-for-upgrading-the-discourse-static-pages-plugin-to-the-new-discourse-api/46655 "2016-06-30T08:35:05Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![LeoMcA](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/leomca/32/87233_2.png) [@LeoMcA](https://meta.discourse.org/u/LeoMcA)
#### Post date: [2016年七月11日 21:41 UTC](https://meta.discourse.org/t/paid-usd-555-for-upgrading-the-discourse-static-pages-plugin-to-the-new-discourse-api/46655/6 "2016-07-11T21:41:34Z")

</div>

(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](https://github.com/ShareLex/discourse-static-pages/pull/6)

> [@bzg](#):
>
> The Discourse we run is \>1.6.

Also, are you running `beta` or `tests-passed`? I ask because in [the `tests-passed` branch (and the next beta release)](https://meta.discourse.org/t/now-in-master-es6-modules-text-rendering/46815/25) 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.

---

_[View the full topic](https://meta.discourse.org/t/paid-usd-555-for-upgrading-the-discourse-static-pages-plugin-to-the-new-discourse-api/46655)._
