File tree Expand file tree Collapse file tree 10 files changed +22
-0
lines changed
Expand file tree Collapse file tree 10 files changed +22
-0
lines changed Original file line number Diff line number Diff line change 1+ # Keep GitHub Actions up to date with GitHub's Dependabot...
2+ # https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
3+ # https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#package-ecosystem
4+ version : 2
5+ updates :
6+ - package-ecosystem : github-actions
7+ directory : /
8+ groups :
9+ github-actions :
10+ patterns :
11+ - " *" # Group all Actions updates into a single larger pull request
12+ schedule :
13+ interval : weekly
Original file line number Diff line number Diff line change 1414* Fix the intersphinx mappings to the Django documentation
1515 (see :mod:`~sphinxcontrib_django.docstrings.patches`)
1616"""
17+
1718from __future__ import annotations
1819
1920import importlib
Original file line number Diff line number Diff line change 11"""
22This module contains all functions which are used to improve the documentation of attributes.
33"""
4+
45from __future__ import annotations
56
67from django .db import models
Original file line number Diff line number Diff line change 11"""
22This module contains all functions which are used to improve the documentation of classes.
33"""
4+
45from __future__ import annotations
56
67from typing import TYPE_CHECKING
Original file line number Diff line number Diff line change 22This module contains configuration of the members which should in-/excluded in sphinx
33(see :event:`autodoc-skip-member`)
44"""
5+
56#: Ensure that the __init__ method gets documented (also see :confval:`autoclass_content` setting)
67INCLUDE_MEMBERS = {"__init__" }
78
Original file line number Diff line number Diff line change 33:mod:`~sphinxcontrib_django.docstrings.attributes` and
44:mod:`~sphinxcontrib_django.docstrings.classes` modules.
55"""
6+
67from __future__ import annotations
78
89from typing import TYPE_CHECKING
Original file line number Diff line number Diff line change 11"""
22This module contains all functions which are used to improve the documentation of methods.
33"""
4+
45import re
56
67RE_GET_FOO_DISPLAY = re .compile (r"\.get_(?P<field>[a-zA-Z0-9_]+)_display$" )
Original file line number Diff line number Diff line change 11"""
22This module contains patches for Django to improve its interaction with Sphinx.
33"""
4+
45import contextlib
56
67from django import apps , forms , test
Original file line number Diff line number Diff line change 2121 "sphinxcontrib_django.roles",
2222 ]
2323"""
24+
2425from __future__ import annotations
2526
2627import logging
Original file line number Diff line number Diff line change 33https://github.com/sphinx-doc/sphinx/issues/7008), so this setup was created using the given code
44snippets and the existing test cases for the autodoc extension.
55"""
6+
67from unittest .mock import Mock
78
89import pytest
You can’t perform that action at this time.
0 commit comments