add travis doc tests
fix unmatched part curly brace doc bug