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.
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 customtheme
fn. It'd be great if SassDoc would allow forresolve
fns that return a promise, and wait for them before proceeding. Proposed PR forthcoming.