Commit Graph

72 Commits

Author SHA1 Message Date
mostafaei2002
5be3eeb9ae fix: fix minor style import 2024-05-15 12:03:13 +03:30
mostafaei2002
8c110cf6f3 feat: setup webpack dev env for bootstrap 2024-05-15 11:44:47 +03:30
mostafaei2002
c71ac9456b fix: remove old files 2024-05-15 11:34:36 +03:30
mostafaei2002
5102d46931 feat: install bootstrap on npm 2024-05-15 10:51:49 +03:30
mostafaei2002
a97f1a8f5c feat: add package.json 2024-05-14 11:42:06 +03:30
mostafaei2002
aa3583a83b fix: update footer 2024-05-14 11:23:19 +03:30
mostafaei2002
fb6210066f fix: move scripts to end of page 2024-05-14 11:23:19 +03:30
mostafaei2002
4f7f4ab054 fix: update side nav 2024-05-14 11:23:19 +03:30
mostafaei2002
e294ad7a70 fix: move modal code, update main-content classes 2024-05-14 11:23:19 +03:30
mostafaei2002
736f378b3e fix: navbar dropdown urls 2024-05-14 11:23:19 +03:30
mostafaei2002
f75a6526a2 fix: remove commented out code old navbar 2024-05-14 11:23:19 +03:30
mostafaei2002
4106ff080b feat: add search modal 2024-05-14 11:23:19 +03:30
mostafaei2002
44dd71c7c7 fix: change search form to search modal btn 2024-05-14 11:23:19 +03:30
mostafaei2002
ea66c941bb feat: add new navbar base HTML 2024-05-14 11:23:19 +03:30
mostafaei2002
db00ca7506 feat: remove old src tags and add new 2024-05-14 11:23:19 +03:30
Peter Thomassen
52bfe20dec
Adapt docs to reflect stability-focused contribution policy 2024-04-30 18:24:21 +02:00
Terence Honles
1c494e3d94
Update references to Travis CI after moving to Github Actions (#7909)
x-ref: https://github.com/encode/django-rest-framework/pull/7903
2021-04-12 13:14:26 +01:00
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