SassDoc / sassdoc

Release the docs!
http://sassdoc.com
MIT License
1.41k stars 56 forks source link

Custom annotations with async resolve fns do not work. #517

Closed jgerigmeyer closed 6 years ago

jgerigmeyer commented 6 years ago

There are many cases where a custom theme annotation might want to do something asynchronously in a resolve fn. Currently, SassDoc does not wait for the annotations to finish resolving before calling the custom theme fn. It'd be great if SassDoc would allow for resolve fns that return a promise, and wait for them before proceeding. Proposed PR forthcoming.

jgerigmeyer commented 6 years ago

PR submitted: #518.