website: Render 2.8.0 schema and add schema scrollTo (#3752)

This commit is contained in:
Teddy Reed 2017-09-30 11:07:05 -07:00 committed by GitHub
parent 195690d6d1
commit 9e779a56e6
2 changed files with 12 additions and 0 deletions

View File

@ -169,6 +169,14 @@ $(document).ready(function() {
$('#output').append(ui);
}
if (window.location.hash) {
tb = $(window.location.hash);
if (tb.length) {
hb = $('html,body');
hb.scrollTop(tb.offset().top - hb.offset().top + hb.scrollTop());
}
}
});
});
</script>

4
docs/_schema/2.8.0.md Normal file
View File

@ -0,0 +1,4 @@
---
version: 2.8.0
redirect_from: /docs/tables/2.8.0/index.html
---