GitBook will read the .gitignore, .bookignore and .ignore files to get a list of files and folders to skip.
The format inside those files, follows the same convention as .gitignore:
# This is a comment
# Ignore the file test.md
test.md
# Ignore everything in the directory "bin"
bin/*