mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 01:26:53 +03:00
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:
parent
fa6f053323
commit
edf97be7be
|
@ -413,3 +413,7 @@ ul.sponsor {
|
|||
#mkdocs_search_modal article p{
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.toclink {
|
||||
color: #333;
|
||||
}
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user