* Switch to mkdocs material theme
* Add logo
* Style badges on homepage
* Basic dark theme
* Enable a few theme features
* Customise large logo for dark theme
* CSS tweaks
* Add background grid back
* Switch to mkdocs material theme
* Add logo
* Style badges on homepage
* Basic dark theme
* Add syntax highlighting to code snippets
* Convert homepage snippets to code fences
* Update homepage logos
* Move mkdocs-material to pyproject.toml docs group
* Keep existing syntax highlighting
* Remove old docs_theme folder
* Tweak syntax highlighting colors on dark theme
* Add readthedocs config file
* Fix end of file empty lines
* Upgrade pip during install
* Remove custom styling for .prettyprint
* Remove .prettyprint border entirely
* Make tabs sticky in navbar
* Merge page ToC with navigation
* Tweak colors for more accessible contrast
* Add Figma file for the logos
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Adjust styles for badges
* Enable content tabs for OS specific instructions
https://squidfunk.github.io/mkdocs-material/reference/content-tabs/
* Add icons for content tabs
* Standardize on .venv for virtualenv name in docs
* Add note about bash for Windows
---------
Co-authored-by: Asif Saif Uddin {"Auvi":"অভি"} <auvipy@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Without adding the URLs manually, the users and groups APIs were not usable.
My env:
(venv) ➜ tutorial pip freeze
asgiref==3.5.2
astroid==2.12.13
autopep8==2.0.0
dill==0.3.6
Django==4.1.3
djangorestframework==3.14.0
isort==5.10.1
lazy-object-proxy==1.8.0
mccabe==0.7.0
platformdirs==2.5.4
pycodestyle==2.10.0
pylint==2.15.6
pylint-django==2.5.3
pylint-plugin-utils==0.7
pytz==2022.6
sqlparse==0.4.3
tomli==2.0.1
tomlkit==0.11.6
wrapt==1.14.1
* Tutorial - Adjust quickstart
Add asgi.py file
Also add paragraph for the second user, which is later displayed
* Tutorial - Adjust quickstart
It seems that there is no CLI command to easily create a user
Remove the second user from the Markdown
Image next
* Tutorial - quickstart - Update browsable API image
Only show the admin user
New Image has similar width and is compressed
Right now httpie moved to "httpie" organization (https://github.com/httpie/httpie) and they don't have "installation" at their GitHub. Instead of that, they have "Getting started" section with link to "Installation instructions".
* 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
* Update quickstart to Django 2.0 routing syntax
* Remove uneccessary raw string identifiers
* Correctly import path function
* Fix import path to use django.urls
This is what is prescribed in the Django 2.1 tutorial
* Use createsuperuser email and username flags
* Only remove db.sqlite3
* Remove global permission class
This interferes with Core API schema endpoint
* Add default pagination class
* Specify changes made in snippets/urls.py
* Auth urls were already set in tutorial/urls.py
* Specify changes made in snippets/urls.py
* Use the suggested admin username from quickstart
* Move global pagination setting away from quickstart section
Trying to create a new user on Django 1.9.x with the password 'password'
will fail with the error message 'This password is too common.'. Because
of that it is necessary to change the used password from 'password' to
'password123'.