Commit edf97be7 by Adam Zapletal

Add section permalinks to docs

- Configure mkdocs to use the toc markdown extension
- Only show section link styles on hover
parent fa6f0533
...@@ -413,3 +413,7 @@ ul.sponsor { ...@@ -413,3 +413,7 @@ ul.sponsor {
#mkdocs_search_modal article p{ #mkdocs_search_modal article p{
word-wrap: break-word; word-wrap: break-word;
} }
.toclink {
color: #333;
}
...@@ -6,6 +6,10 @@ repo_url: https://github.com/tomchristie/django-rest-framework ...@@ -6,6 +6,10 @@ repo_url: https://github.com/tomchristie/django-rest-framework
theme_dir: docs_theme theme_dir: docs_theme
markdown_extensions:
- toc:
anchorlink: True
pages: pages:
- Home: 'index.md' - Home: 'index.md'
- Tutorial: - Tutorial:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment