Commit Graph

55 Commits

Author SHA1 Message Date
spollard
13c08370e7
Remove a few submenu scroll bars on docs site (#7283)
Remove the scroll bars for the "Topics" and "Tutorial" submenus on the website. Previously, unnecessary scroll bars appeared in Firefox and Chrome. Applying this change allows "Community" and "API Guide" submenues to still have scroll bars as necessary.
2020-04-23 09:36:46 +01:00
Rotzbua
57e7cc21e1
Remove unavailable script (#7244) 2020-03-24 11:52:17 -07:00
Ryan P Kilby
92a4a5d423
Fix docs 404 (#7197)
* Use 'site_url' instead of hardcoding DRF homepage

* Use 'url' template filter instead of 'base_url'

This fixes static file loading for the 404 page.

* Only insert funding <hr> if toc is present

* Link quickstart to valid API guide page

* Fix 404 search modal link

* Use 'base_url' instead of 'site_url' on 404 page
2020-02-20 10:23:06 +00:00
Alex ⚡
165da5be0c Documentation: make codeblocks easier to read. (#6896) 2020-01-03 14:42:29 +00:00
Ryan P Kilby
0cb2523927
Update docs search plugin (#6810) 2019-07-16 13:00:45 -07:00
Tom Christie
a4c2d4f0d5 Fix side nav in project docs 2019-07-16 09:31:29 +01:00
Ryan P Kilby
0cb6b63bde Use 'url' template filter in docs (#6805) 2019-07-15 20:11:49 +01:00
Florian Bruhin
43d4736802 Fix rel=prev/next in docs (#6650) 2019-07-02 19:04:49 -07:00
Rick van Hattem
2c92548963 Made the loading of the fund sidebar async (#6686) 2019-05-20 16:09:23 +01:00
Jon Dufresne
7eac86688a Remove executable bit from static assets (#6484)
These files are simply static assets and do not require an executable
bit. They are never intended to be executed as standalone scripts.
2019-03-03 18:39:08 +00:00
Jon Dufresne
878f9d2783 Prefer https:// for URLs when available throughout project (#6208) 2018-10-02 08:28:58 +02:00
Ryan P Kilby
ece4171ae4 Replace background-attachment: fixed in docs (#5777)
Fixed backgrounds have performance issues on large displays.
2018-01-30 09:08:06 +01:00
José Padilla
d45c12ff8c
Improve books section 2017-04-26 09:16:45 -04:00
José Padilla
c1f31492ae
Update links after moving to encode org 2017-04-07 10:28:35 -04:00
Akhil Lawrence
2f6773e99c updated mkdocs 2017-03-24 20:48:58 +05:30
Tom Christie
3a173547ad Funding announcement (#4147) 2016-05-26 11:48:15 +01:00
Adam Zapletal
edf97be7be Add section permalinks to docs
- Configure mkdocs to use the toc markdown extension
- Only show section link styles on hover
2015-10-27 15:20:59 -05:00
Mads Jensen
8a82a07f8d fixing a trivial HTML tag which is closed twice 2015-09-23 10:51:23 +02:00
Tom Christie
1f55bc747b Merge pull request #2926 from tomchristie/admin-style
Admin style renderer
2015-07-30 15:01:37 +01:00
José Padilla
ea1a8f4ac5 Fix weird search behavior. Closes #3197 2015-07-29 21:25:21 -04:00
José Padilla
0b345516a5 Turn off autocomplete on search form 2015-07-29 21:24:55 -04:00
Tom Christie
b996266431 Merge master 2015-07-23 15:28:29 +01:00
José Padilla
9bdf9a510e Remove Twitter button for mobile rendering 2015-06-23 07:17:12 -04:00
José Padilla
8554980c86 Add PyPI version badge to docs. Closes #3023 2015-06-23 06:22:35 -04:00
José Padilla
5d4bb0ef22 Merge pull request #3038 from jpadilla/dropdown
Set dynamic maximum height for dropdown widgets
2015-06-22 09:13:41 -04:00
José Padilla
5e917789ec Consistent 2 space tabbing and formatting 2015-06-18 09:00:05 -04:00
José Padilla
33a08928d7 Set dynamic maximum height for dropdown widgets 2015-06-15 21:46:08 -04:00
Dougal Matthews
f5aa163aac Added a missing semicolon 2015-05-31 18:30:30 +01:00
Dougal Matthews
8ace80c287 Only load the search results when the search form is submitted for the
first time
2015-05-31 18:30:29 +01:00
Dougal Matthews
33666c459b Remove Google search and replace it with Mkdocs
This change updates the modal to use MkDocs for search.
2015-05-31 18:30:29 +01:00
Dougal Matthews
eae9390f1b Update <title> to match MkDocs changes
The {{ page_title }} and {{ site_name }} variables are now separated to
add flexibility th themes.
2015-05-31 18:30:29 +01:00
Dougal Matthews
d118cee7dd As of MkDocs 0.12 the Home link was added back to the navigation 2015-05-31 18:30:29 +01:00
Dougal Matthews
64523f1edc Update the Documentation 404.html template to subclass base.html
This allows us to delete lots of code and avoid hard-coding the
navigation. This does mean that {{ current_page }} isn't always
available and needs to be conditionally used.
2015-05-31 18:30:29 +01:00
Tom Christie
f32fff43f0 Reduce font weight 2015-05-19 11:55:13 +01:00
Tom Christie
1d4956f616 Pagination images 2015-02-06 13:08:04 +00:00
Tom Christie
564f845e21 Lower header font weights for nicer docs style 2015-01-13 12:21:03 +00:00
Tom Christie
2a1485e009 Final bits of docs for ModelSerializer fields API 2014-12-19 21:32:43 +00:00
Dougal Matthews
5fe5a93644 Move remaining sponsor 2014-12-10 14:09:47 +00:00
Dougal Matthews
1ea84c92a7 Sorted the images
Moved images referenced by the markdown back to the docs directory
Deleted unused image autocomplete.png
2014-12-10 13:59:51 +00:00
Dougal Matthews
dbc5c066c2 Add a theme.js file to enable highlighing 2014-12-10 11:34:26 +00:00
Dougal Matthews
9883862576 Move the static content into the docs theme 2014-12-10 11:34:26 +00:00
Tom Christie
d84582fe1f Add 'built with MkDocs' footer 2014-11-28 12:55:08 +00:00
Dougal Matthews
66fc51de5c Use the is_homepage property. 2014-11-25 13:14:51 +00:00
Dougal Matthews
4d28a09309 Refer to the current_page title rather than filename 2014-11-25 13:09:47 +00:00
Dougal Matthews
935d94c034 Don't add main to the top level items on the home page 2014-11-25 13:07:35 +00:00
Dougal Matthews
aa1a844154 Add The title to the top of the TOC for the home page 2014-11-25 13:05:48 +00:00
Dougal Matthews
f2d4e51aaa Mark the homepage as active when visited 2014-11-25 12:44:26 +00:00
Dougal Matthews
deb2bb4376 Add Home link to the theme 2014-11-25 12:44:26 +00:00
Dougal Matthews
5a6bdd01ba Highlight H1's in the TOC 2014-11-25 12:44:26 +00:00
Dougal Matthews
8677316959 Disable prev and next links 2014-11-25 12:44:26 +00:00