No project description provided
Project description
sphinx-all-contributors
sphinx-all-contributors is a Sphinx extension that allows you to easily display a list of contributors from a .all-contributorsrc file in your Sphinx documentation. The list is generated in a simple, readable format like:
- Contributor Name 1 for ideas, docs
- Contributor Name 2 for code
Features
- Automatically reads the list of contributors from a
.all-contributorsrcfile. - Customizable relative path to the
.all-contributorsrcfile. - Outputs a list of contributors in a clean, human-readable format.
Installation
pip install sphinx-all-contributors
Usage
Add sphinx-all-contributors to the extensions list in your conf.py:
# conf.py
extensions = [
"sphinx_all_contributors",
# other extensions
]
Create a .all-contributorsrc file in your documentation source directory (or another location). You can create this file manually following the all-contributors format, or you can use the all-contributors bot to automate this process and ensure that your contributor data is accurate and up-to-date. An example .all-contributorsrc file looks like this:
{
"contributors": [
{
"name": "Contributor Name 1",
"contributions": ["ideas", "docs"]
},
{
"name": "Contributor Name 2",
"contributions": ["code"]
}
]
}
In your .rst file, use the all-contributors directive to display the list of contributors. You can specify the relative path to the .all-contributorsrc file or omit it to use the default path (.all-contributorsrc in the source directory).
Example 1: Using the default .all-contributorsrc path:
.. all-contributors::
Example 2: Specifying a relative path to the .all-contributorsrc file:
.. all-contributors:: config/.all-contributorsrc
Build your documentation:
make html
The generated HTML (or other formats) will contain a list of contributors in the format:
- Contributor Name 1 for ideas, docs
- Contributor Name 2 for code
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sphinx-all-contributors-0.2.0.tar.gz.
File metadata
- Download URL: sphinx-all-contributors-0.2.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
382c0c4b5bd5432db6868c1a258ed245f9da2d26ce79da981c788731189d754a
|
|
| MD5 |
98e960104d1e1605b08d1d99ba9b6397
|
|
| BLAKE2b-256 |
9e7fd0025c2d8d2ccf2985d94bbc3c758c8203939e121beea0fd045f60f9a512
|
Provenance
The following attestation bundles were made for sphinx-all-contributors-0.2.0.tar.gz:
Publisher:
publish-to-pypi.yml on tkoyama010/sphinx-all-contributors
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sphinx_all_contributors-0.2.0.tar.gz -
Subject digest:
382c0c4b5bd5432db6868c1a258ed245f9da2d26ce79da981c788731189d754a - Sigstore transparency entry: 186410230
- Sigstore integration time:
-
Permalink:
tkoyama010/sphinx-all-contributors@2814222559d4e3f1a0f638b2cd290c6b7b5c6e55 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/tkoyama010
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@2814222559d4e3f1a0f638b2cd290c6b7b5c6e55 -
Trigger Event:
release
-
Statement type:
File details
Details for the file sphinx_all_contributors-0.2.0-py3-none-any.whl.
File metadata
- Download URL: sphinx_all_contributors-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e228d0e669ee5b193c91becabd674c6831e5994aab3666870ccae636fcb4edcf
|
|
| MD5 |
d13d4ff1f7cbba2dc4eca9e3ec1de201
|
|
| BLAKE2b-256 |
c0c696be84b68dea9686a2d898830a315e2a9984b8dfe1363feee96e23df4bc6
|
Provenance
The following attestation bundles were made for sphinx_all_contributors-0.2.0-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on tkoyama010/sphinx-all-contributors
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sphinx_all_contributors-0.2.0-py3-none-any.whl -
Subject digest:
e228d0e669ee5b193c91becabd674c6831e5994aab3666870ccae636fcb4edcf - Sigstore transparency entry: 186410232
- Sigstore integration time:
-
Permalink:
tkoyama010/sphinx-all-contributors@2814222559d4e3f1a0f638b2cd290c6b7b5c6e55 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/tkoyama010
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@2814222559d4e3f1a0f638b2cd290c6b7b5c6e55 -
Trigger Event:
release
-
Statement type: