diff --git a/docs_theme/css/default.css b/docs_theme/css/default.css index 7f0f8afd8..192e86860 100644 --- a/docs_theme/css/default.css +++ b/docs_theme/css/default.css @@ -413,3 +413,7 @@ ul.sponsor { #mkdocs_search_modal article p{ word-wrap: break-word; } + +.toclink { + color: #333; +} diff --git a/mkdocs.yml b/mkdocs.yml index 5090f0027..04799b734 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -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: