add main path for directive
update example for path attr
Merge branch 'houqp-master' into gh-pages