publish: Copy src directories correctly
While working on #70 (closed) I realized that if a source directory is given to publish, only its contents is copied to the destination directory. In the example is '../docs' given for example. Coming from Linux I would expect that in the destination would afterwards also be a directory called 'docs', but there is only 'source' and 'build'.
Usually, I would expect the result like this when giving '../docs/'. I couldn't find a quick solution since shutil.copytree always seems to act like this. But before I continue a long research, I wanted to be sure if thats really an issue/ a bug. What do you think? Is it fine that only the contents are copied right now or should the head directory also be copied?