Skip to content

Commit be39fa0

Browse files
authored
Sphinx Hotfix (#162)
* Fixed docs/conf.py * Initial Changelog.rst * Initial docs/index.rst * Updated sphinx-celery to v2.1.1 * Fixed linting error
1 parent 47bd86b commit be39fa0

File tree

7 files changed

+48
-34
lines changed

7 files changed

+48
-34
lines changed

Changelog.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
Change history
55
================
66

7-
TBD
7+
No changes yet.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<iframe src="https://ghbtns.com/github-btn.html?user=celery&repo=pytest-celery&type=watch&count=true&size=large"
2+
allowtransparency="true" frameborder="0" scrolling="0" width="200px" height="35px"></iframe>
3+
<div id="donate">
4+
<h3>Donations</h3>
5+
<p>Please help support this community project with a donation.</p>
6+
<a href="https://opencollective.com/celery/donate" target="_blank">
7+
<img src="https://opencollective.com/celery/donate/[email protected]?color=blue" />
8+
</a>
9+
</div>

docs/conf.py

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,25 @@
55
"pytest_celery",
66
__file__,
77
project="Pytest Celery",
8-
version_dev="2.0",
8+
version_dev="1.1",
99
version_stable="1.0",
10-
canonical_url="https://docs.pytest-celery.dev", # Update with your documentation URL
11-
webdomain="pytest-celery.dev", # Update with your domain
10+
canonical_url="https://pytest-celery.readthedocs.io/",
11+
webdomain="pytest-celery.readthedocs.io",
1212
github_project="celery/pytest-celery",
1313
author="Tomer Nosrati",
1414
author_name="Tomer Nosrati",
15-
copyright="2023",
15+
copyright="2024",
1616
publisher="Celery Project",
17-
# html_logo='images/logo.png',
18-
# html_favicon='images/favicon.ico',
17+
html_logo="images/celery_512.png",
18+
html_favicon="images/favicon.ico",
19+
html_prepend_sidebars=["sidebardonations.html"],
1920
extra_extensions=[
2021
"sphinx_click",
2122
"sphinx.ext.napoleon",
22-
# ... other extensions ...
23+
"celery.contrib.sphinx",
24+
],
25+
apicheck_ignore_modules=[
26+
"celery.contrib",
2327
],
24-
extra_intersphinx_mapping={
25-
# ... other intersphinx mappings ...
26-
},
27-
apicheck_ignore_modules=[],
28-
linkcheck_ignore=[r"^http://localhost"],
2928
)
3029
)
31-
32-
settings = {}

docs/images/celery_512.png

8.46 KB
Loading

docs/images/favicon.ico

4.19 KB
Binary file not shown.

docs/index.rst

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,30 @@
11
===================================================
2-
pytest-celery - Testing Infrastructure for Celery
2+
pytest-celery - Official pytest plugin for Celery
33
===================================================
44

5-
TBD
5+
Welcome to pytest-celery, the official pytest plugin for Celery.
66

7-
pytest-celery has a growing community of users and contributors. Join us
8-
in making pytest-celery even better!
7+
Pytest Celery is Open Source and licensed under the `BSD License`_.
98

10-
pytest-celery is Open Source and licensed under the BSD License.
9+
.. _`BSD License`: http://www.opensource.org/licenses/BSD-3-Clause
1110

12-
Supporting pytest-celery
13-
========================
11+
Donations
12+
=========
1413

15-
Your contributions support the continued development of pytest-celery.
14+
This project relies on your generous donations.
1615

17-
If you find pytest-celery valuable, please consider supporting us to ensure its
18-
future growth and maintenance.
16+
If you are using Pytest Celery to test a commercial product, please consider becoming our `backer`_ or our `sponsor`_ to ensure Pytest Celery's future.
17+
18+
.. _`backer`: https://opencollective.com/celery#backer
19+
.. _`sponsor`: https://opencollective.com/celery#sponsor
1920

2021
Getting Started
2122
===============
2223

23-
- Begin your journey with pytest-celery by following the :ref:`getting-started`.
24-
- For common questions, you might want to check out the :ref:`faq`.
24+
- If you're new to Celery you can get started by following
25+
the :ref:`first-steps` tutorial.
26+
27+
- You can also check out the :ref:`FAQ <faq>`.
2528

2629
Contents
2730
========
@@ -34,7 +37,6 @@ Contents
3437
.. toctree::
3538
:maxdepth: 1
3639

37-
introduction
3840
getting-started/index
3941

4042
.. toctree::
@@ -48,3 +50,9 @@ Contents
4850
faq
4951
changelog
5052
contributing
53+
54+
Indices and tables
55+
==================
56+
57+
* :ref:`genindex`
58+
* :ref:`search`

poetry.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)