diff options
| author | bennbollay | 2013-12-22 16:53:52 -0800 | 
|---|---|---|
| committer | bennbollay | 2013-12-22 16:53:52 -0800 | 
| commit | e5caf48a12e777df3e5801fa19d98f59b6453aa2 (patch) | |
| tree | 408f062c26b0879bc05542ba2d86da6072fbf578 /mkdocs.py | |
| parent | 9b7341e4840635d9c3bd419678164cdc3cbb7d20 (diff) | |
| download | django-rest-framework-e5caf48a12e777df3e5801fa19d98f59b6453aa2.tar.bz2 | |
Change the page title to prioritize page content
When many tab's are open (which is necessary for DRF's documentation), it becomes impossible to determine which tab contains which pieces of documentation.  That they are all related is obvious by the use of a common icon, just not the specific page each tab is loaded to.
This change inverts the order of the title to maintain as much useful context as possible on the tabbar.
Diffstat (limited to 'mkdocs.py')
| -rwxr-xr-x | mkdocs.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -144,7 +144,7 @@ for (dirpath, dirnames, filenames) in os.walk(docs_dir):          if filename == 'index.md':              main_title = 'Django REST framework - APIs made easy'          else: -            main_title = 'Django REST framework - ' + main_title +            main_title = main_title + ' - Django REST framework'          if relative_path == 'index.md':              canonical_url = base_url | 
