update doc
move to rspec for test
activate_url for different platforms
fix footnote id