Sphinx Extension to grab top contributors
Project description
sphinxext-toptranslators
Sphinx extension to grab top contributors from a PO directory that Sphinx generates.
Installation
pip install sphinxext-toptranslators
Usage
Directive Configuration
Directive is .. toptranslators:: GITHUB_REPO_NAME
with the following options:
-
:locale: name of the locale, examples are (fr, es). Please note that this flag is mandatory
-
:limit: limit the number of shown contributors
-
:order: default is
alphabetical
, but can be set tonumerical
-
:hide_contributions: Whether or not to hide how many contributions each contributor as made. default is
false
Example
.. toptranslators:: wpilibsuite/frc-docs-translations
:locale: fr
:limit: 10
:order: alphabetical
:hide_contributions: true
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
File details
Details for the file sphinxext-toptranslators-0.1.1.tar.gz
.
File metadata
- Download URL: sphinxext-toptranslators-0.1.1.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34d2c65a6b732957ab085c9b54caa41a1809f954926ddea48698ec702e9f09c5 |
|
MD5 | 004f79258fe937fe9aaf40c87a0e6bff |
|
BLAKE2b-256 | 6d819d132046b02a5561f1a9bc1c01c4381b61d63d57c1b0e412f4b0447dbdf4 |
File details
Details for the file sphinxext_toptranslators-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: sphinxext_toptranslators-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f59e6171bf352e6e5f5dd3dd588516c46df2e43095337d46f030a3be5d88b56 |
|
MD5 | 1a158537403c0e387627d16352dd1a8a |
|
BLAKE2b-256 | 44f0e4e2dccfd93a936b65dd42a733fa7bd9b0f57bfc1ff2a2e0a20ac4f06f10 |