Thank you very much - you helped me get this working.

I tried ignorefiles = [ "docs/.*" ] but that did not work for me.
I then tried moving it before [permalinks] in my config.toml and it works. I donāt know why that would make a difference but it is working now.
I tried ignorefiles = [ "docs" ] again, and that works, so long as it is before [permalinks].
I am a bit surprised, I had not expected the order of config.toml statements to make a difference.