Commit Graph

8978 Commits

Author SHA1 Message Date
Bruno Alla
339a04f835 Upgrade pip during install 2026-02-11 22:56:24 +00:00
Bruno Alla
fc2ca65262 Fix end of file empty lines 2026-02-11 21:07:51 +00:00
Bruno Alla
abc1951924 Add readthedocs config file 2026-02-11 21:06:28 +00:00
Bruno Alla
4b6053b944 Tweak syntax highlighting colors on dark theme 2026-02-10 09:13:21 +00:00
Bruno Alla
692196af51 Remove old docs_theme folder 2026-02-10 09:12:49 +00:00
Bruno Alla
35be8fb04e Keep existing syntax highlighting 2026-02-10 08:55:09 +00:00
Bruno Alla
3091af7f9f Move mkdocs-material to pyproject.toml docs group 2026-02-10 08:15:00 +00:00
Bruno Alla
4efe942cd3 Merge branch 'main' into feat/mkdocs-material
# Conflicts:
#	requirements/requirements-documentation.txt
2026-02-10 08:13:31 +00:00
dependabot[bot]
1b63dce808
Bump the test group with 1 updates and remove attrs pin (#9886) 2026-02-07 13:25:54 +00:00
dependabot[bot]
8fe9c5497e
Bump the optional group with 4 updates (#9888)
* Bump the optional group with 4 updates

Updates the requirements on [coreapi](https://github.com/core-api/python-client), [django-guardian](https://github.com/django-guardian/django-guardian), [pygments](https://github.com/pygments/pygments) and [pyyaml](https://github.com/yaml/pyyaml) to permit the latest version.

Updates `coreapi` from 2.3.1 to 2.3.3
- [Commits](https://github.com/core-api/python-client/compare/2.3.1...2.3.3)

Updates `django-guardian` to 3.2.0
- [Release notes](https://github.com/django-guardian/django-guardian/releases)
- [Commits](https://github.com/django-guardian/django-guardian/compare/v2.4.0...3.2.0)

Updates `pygments` to 2.19.2
- [Release notes](https://github.com/pygments/pygments/releases)
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES)
- [Commits](https://github.com/pygments/pygments/compare/2.17.0...2.19.2)

Updates `pyyaml` to 6.0.3
- [Release notes](https://github.com/yaml/pyyaml/releases)
- [Changelog](https://github.com/yaml/pyyaml/blob/6.0.3/CHANGES)
- [Commits](https://github.com/yaml/pyyaml/compare/5.3.1...6.0.3)

---
updated-dependencies:
- dependency-name: coreapi
  dependency-version: 2.3.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: optional
- dependency-name: django-guardian
  dependency-version: 3.2.0
  dependency-type: direct:development
  dependency-group: optional
- dependency-name: pygments
  dependency-version: 2.19.2
  dependency-type: direct:development
  dependency-group: optional
- dependency-name: pyyaml
  dependency-version: 6.0.3
  dependency-type: direct:development
  dependency-group: optional
...

Signed-off-by: dependabot[bot] <support@github.com>

* Add back setuptools

Was added to testing requirements in
https://github.com/encode/django-rest-framework/pull/9818

But that was lost in:
https://github.com/encode/django-rest-framework/pull/9842

Moving to optional dep group as it's only needed for coreapi

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Asif Saif Uddin {"Auvi":"অভি"} <auvipy@gmail.com>
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
2026-02-07 13:12:23 +00:00
dependabot[bot]
7aa67183fe
Bump mkdocs from 1.6.0 to 1.6.1 in the docs group (#9887)
Bumps the docs group with 1 update: [mkdocs](https://github.com/mkdocs/mkdocs).


Updates `mkdocs` from 1.6.0 to 1.6.1
- [Release notes](https://github.com/mkdocs/mkdocs/releases)
- [Commits](https://github.com/mkdocs/mkdocs/compare/1.6.0...1.6.1)

---
updated-dependencies:
- dependency-name: mkdocs
  dependency-version: 1.6.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: docs
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-05 21:06:46 +06:00
Pravin
e49d025f2d
Setup Dependabot for automating dependencies updates (#9885)
Co-authored-by: Asif Saif Uddin {"Auvi":"অভি"} <auvipy@gmail.com>
2026-02-05 14:27:45 +00:00
Pravin
64f6580bf3
Update pytest versions (#9881)
* Update pytest versions

* Ignore deprecation warnings from coreapi

* ignore coreapi deprecation warnings during test startup

* Use pytest directly in tox and relax version pins
2026-02-05 20:02:12 +06:00
Bruno Alla
b5455c5daf
Fail CI if broken links in the docs (#9877)
* Fail CI if broken links in the docs

* Fix broken links in the docs
2026-02-05 00:02:04 +00:00
sobolevn
b47b366847
Fix typo in authentication.md (#9880) 2026-02-03 13:30:18 +00:00
Lorenzo Guideri
249fb47842
Clarify operators precendence in permissions documentation (#9875) 2026-01-24 14:33:10 +00:00
Rispa Joseph
c8af56d260
Clarify deprecation of built-in OpenAPI documentation (#9874) 2026-01-24 14:12:00 +00:00
Pravin
9da0ce25b7
Update pre-commit hooks versions (#9872) 2026-01-24 14:08:06 +00:00
Nexapy Technologies
1b3916120e
Fix uritemplate reference link typo (#9867) 2026-01-13 22:14:52 +00:00
Pravin
3f190b7ddc
Cleanup pre-commit config by moving codespell configuration to pyproject.toml (#9864) 2026-01-05 15:49:40 +01:00
Yousef Abu Shanab
d881b27811
docs: update drf-restwind images to reflect latest version (#9863) 2026-01-05 15:44:51 +01:00
Mariusz Felisiak
71f05e543e
Remove django-hstore and django-rest-framework-hstore from 3rd party serializers documentation page (#9860)
Both are unmaintained for many years and we have builtin HStoreField.
2026-01-02 14:56:49 -03:00
Pravin
48fe0750b5
Add concurrency in CI (#9855) 2025-12-23 11:28:59 +00:00
Pravin
52cf0f8970
Add dependabot cooldown (#9856) 2025-12-23 00:43:52 +00:00
Pravin
edba7ad774
Removed requirements txt files from project. (#9842)
* removed requirements txt files

* Updated Testing section from Contributing.md

* updated command to install dependencies for documentation in CI

* updated tox.ini

* build: Adopt PEP 735 for development dependency management

* Update installation commands for dependency groups in tox.ini and main.yml

* update installation command in testing section of contributing docs

* Clean up old `requirements text files` references in workflows and docs

* Removed references to `requirements.txt` in GitHub Actions workflows.
* Updated `mkdocs-deploy.yml` and `main.yml` to install dependencies using `pyproject.toml`.
* Cleaned up documentation to remove mentions of the `requirements` folder.

* Fix invalid pyproject.toml

Project's URLs should be in the [project] table

* Keep full versions in package groups

* Specify all tox deps as dependency groups

---------

Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
2025-12-23 02:23:10 +06:00
Bruno Alla
20872221a1 Update homepage logos 2025-12-15 19:02:51 +00:00
Bruno Alla
9125483d28 Convert homepage snippets to code fences 2025-12-15 17:50:08 +00:00
Bruno Alla
05cabcdf69 Merge remote-tracking branch 'origin/feat/mkdocs-material' into feat/mkdocs-material
# Conflicts:
#	docs/theme/stylesheets/extra.css
#	mkdocs.yml
2025-12-15 17:33:42 +00:00
Bruno Alla
2ea8cb1a3b Add syntax highlighting to code snippets 2025-12-15 16:15:09 +00:00
Bruno Alla
5a44becaae Basic dark theme 2025-12-15 16:07:38 +00:00
Bruno Alla
6d5dd9c551 Style badges on homepage 2025-12-15 16:07:38 +00:00
Bruno Alla
38f55132ca Add logo 2025-12-15 16:07:38 +00:00
Bruno Alla
3f5399b2b4 Switch to mkdocs material theme 2025-12-15 16:07:38 +00:00
Shrikant Sudam Giri
055c422b34
Add copy button to code blocks in documentation (#9830)
* Add copy button to code blocks for improved documentation usability

* Add copy button to code blocks for improved documentation usability

* Add copy button to code blocks for improved documentation usability

* Make "Copy" button smaller

---------

Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
2025-12-15 16:01:37 +00:00
Bruno Alla
fbe8731b4c Add background grid back 2025-12-13 12:01:20 +00:00
Bruno Alla
cd2ee60f54 CSS tweaks 2025-12-13 12:01:03 +00:00
Bruno Alla
0b98599fcf Customise large logo for dark theme 2025-12-13 12:00:19 +00:00
Bruno Alla
a8af6a7a0f Enable a few theme features 2025-12-13 11:59:19 +00:00
Bruno Alla
68203cb9db Basic dark theme 2025-12-12 18:09:52 +00:00
Bruno Alla
e277940558 Style badges on homepage 2025-12-12 16:31:28 +00:00
Bruno Alla
319dbcd580 Add logo 2025-12-12 16:31:15 +00:00
Bruno Alla
2c7c1b3e23 Switch to mkdocs material theme 2025-12-12 16:24:22 +00:00
Rodrigo
d0a5d5e7ca
Fix broken link and formatting in documentation (#9848) 2025-12-12 11:54:09 +00:00
Bruno Alla
e221d9a1d6
Style notes using admonition in the documentation (#9846) 2025-12-12 11:53:09 +00:00
therealjozbert
78db4dd543
Add tests for .data access before .is_valid() in relation serializers (#9845)
- Add test_data_cannot_be_accessed_prior_to_is_valid to HyperlinkedManyToManyTests
- Add test_data_cannot_be_accessed_prior_to_is_valid to PKManyToManyTests
- Remove TODO comments that were addressed
- Ensures AssertionError is raised when accessing .data before validation

Fixes TODO items in:
- tests/test_relations_hyperlink.py (line 71)
- tests/test_relations_pk.py (line 97)

Co-authored-by: therealjozbert <info@therealjozbert.com>
Co-authored-by: Asif Saif Uddin {"Auvi":"অভি"} <auvipy@gmail.com>
2025-12-09 23:27:42 +06:00
Bruno Alla
3a70eb2ff6
Style warnings using admonition (#9844)
https://python-markdown.github.io/extensions/admonition/
2025-12-09 13:08:06 +00:00
Mahdi
cfc067be30
Add warning regarding .as_view() with ViewSet action in the documentation (#9823) 2025-12-09 08:59:11 +00:00
Daniel Nigusse
af32103283
Add django-lisan to third-party packages documentation page (#9767)
* Add django-lisan to third-party packages

* Update django-lisan entry in third-party packages documentation to include a reference link

* Remove inline link

* Replace NBSP by actual spaces

---------

Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
2025-12-08 08:34:09 +00:00
Manolis Stamatogiannakis
d6ffc95532
Updates for TokenAdmin. (#9836)
- Respect USERNAME_FIELD of the user model.
- Default ordering by username.
- Filter by creation date.

Co-authored-by: Asif Saif Uddin {"Auvi":"অভি"} <auvipy@gmail.com>
2025-12-08 09:06:33 +06:00
Rodrigo
40172399af
Fix Documentation (#9832) 2025-12-05 12:01:25 +00:00