Scribble toolbar buttons: detect `doc` submodule