Add section permalinks to docs

- Configure mkdocs to use the toc markdown extension
- Only show section link styles on hover
This commit is contained in:
Adam Zapletal 2015-10-27 15:20:59 -05:00
parent fa6f053323
commit edf97be7be
2 changed files with 8 additions and 0 deletions

View File

@ -413,3 +413,7 @@ ul.sponsor {
#mkdocs_search_modal article p{
word-wrap: break-word;
}
.toclink {
color: #333;
}

View File

@ -6,6 +6,10 @@ repo_url: https://github.com/tomchristie/django-rest-framework
theme_dir: docs_theme
markdown_extensions:
- toc:
anchorlink: True
pages:
- Home: 'index.md'
- Tutorial: