adapt reference router doc