fix(docs, build): platform sep instead of '/'

When generating demos for docs, use platform-specific separator instead
of forward-slash. It caused issues on Windows.