removing superflous SLATE defines
adding slate lib doc to build script and the docs themselves