use relative path
update toc as soon as enabled
Merge pull request #6 from clkao/master

make toc available as soon as enabled