Skip to content

Commit 13a7ef6

Browse files
committed
Merge branch 'release/4.42.0' into master
2 parents 2c998b8 + 7a88a8e commit 13a7ef6

27 files changed

+69
-21
lines changed

.github/workflows/publishing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ jobs:
115115
- uses: actions/setup-python@v4
116116
with:
117117
python-version: 3.12
118-
- run: pip install -r requirements-doc.txt
119118
- run: pip install awscli
119+
- run: pip install -r requirements-doc.txt
120120
- run: pip install -e .
121121
- run: (cd docs && make clean html)
122122
- run: |

docs/_static/custom.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.no-border {
2+
border: 0 !important;
3+
box-shadow: none !important;
4+
-webkit-box-shadow: none !important;
5+
}
6+
.no-border td {
7+
border: 0px !important;
8+
padding: 0px 10px 0px 0px !important;
9+
}

docs/_static/disqus.js

Lines changed: 0 additions & 11 deletions
This file was deleted.

docs/_static/sponsor.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<iframe src="https://github.com/sponsors/rmk135/button" title="Sponsor Dependency Injector" height="32" width="114" style="border: 0; border-radius: 6px;"></iframe>

docs/conf.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
extensions = [
3434
"alabaster",
3535
"sphinx.ext.autodoc",
36-
"sphinxcontrib.disqus",
36+
"sphinx_disqus.disqus",
3737
]
3838

3939
# Add any paths that contain templates here, relative to this directory.
@@ -52,7 +52,7 @@
5252

5353
# General information about the project.
5454
project = "Dependency Injector"
55-
copyright = "2022, Roman Mogylatov"
55+
copyright = "2024, Roman Mogylatov"
5656
author = "Roman Mogylatov"
5757

5858
# The version info for the project you"re documenting, acts as replacement for
@@ -147,6 +147,9 @@
147147
# relative to this directory. They are copied after the builtin static files,
148148
# so a file named "default.css" will overwrite the builtin "default.css".
149149
html_static_path = ["_static"]
150+
html_css_files = [
151+
"custom.css",
152+
]
150153

151154
# Add any extra paths that contain custom files (such as robots.txt or
152155
# .htaccess) here, relative to this directory. These files are copied
@@ -306,4 +309,5 @@
306309
"description": "Dependency injection framework for Python by Roman Mogylatov",
307310
"code_font_size": "10pt",
308311
"analytics_id": "UA-67012059-1",
312+
"donate_url": "https://github.com/sponsors/rmk135",
309313
}

docs/examples/aiohttp.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,6 @@ Sources
7878

7979
Explore the sources on the `Github <https://github.com/ets-labs/python-dependency-injector/tree/master/examples/miniapps/aiohttp>`_.
8080

81+
.. include:: ../sponsor.rst
82+
8183
.. disqus::

docs/examples/application-multiple-containers.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,4 +84,6 @@ Run the application
8484

8585
You can find the source code and instructions for running on the `Github <https://github.com/ets-labs/python-dependency-injector/tree/master/examples/miniapps/application-multiple-containers>`_.
8686

87+
.. include:: ../sponsor.rst
88+
8789
.. disqus::

docs/examples/application-single-container.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,6 @@ Run the application
9090

9191
You can find the source code and instructions for running on the `Github <https://github.com/ets-labs/python-dependency-injector/tree/master/examples/miniapps/application-single-container>`_.
9292

93+
.. include:: ../sponsor.rst
94+
9395
.. disqus::

docs/examples/boto3.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,6 @@ Listing of ``boto3_session_example.py``:
1717
.. literalinclude:: ../../examples/miniapps/boto3-session/boto3_session_example.py
1818
:language: python
1919

20+
.. include:: ../sponsor.rst
21+
2022
.. disqus::

docs/examples/decoupled-packages.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,4 +129,6 @@ Run the application
129129

130130
You can find the source code and instructions for running on the `Github <https://github.com/ets-labs/python-dependency-injector/tree/master/examples/miniapps/decoupled-packages>`_.
131131

132+
.. include:: ../sponsor.rst
133+
132134
.. disqus::

0 commit comments

Comments
 (0)