sphinx-nekochan
A Sphinx extension for adding the Nekochan(cat) emoji to documents.
See the sphinx-nekochan documantation for more details.
Installation
You can install sphinx-nekochan with pip:
pip install sphinx-nekochan
Enable extension
In your conf.py configuration file, add sphinx_nekochan to your extensions list:
extensions = [
...
"sphinx_nekochan",
...
]
Use nekochan role or directive
When you use the nekochan roll or directive, you will see any nekochan emoji.
- markdown
Welcome to nekochan emoji {nekochan}`banzai` world!!
* Enjoy nekochan emoji {nekochan}`choo-choo-train`
* I love {nekochan}`beer`
```{nekochan} melty
```
- reStructuredText
Welcome to nekochan emoji :nekochan:`banzai` world!!
* Enjoy nekochan emoji :nekochan:`choo-choo-train`
* I love :nekochan:`beer`
.. nekochan:: melty
Customize emoji height and alt text
You can specify height and alt text with a semicolon(;) after the name of the nekochan role.
- markdown
* Big bear nekochan {nekochan}`kuma-nya;2em`
* Huge hot-spring nekochan {nekochan}`hot-spring;128px`
* Customize alt text for emoji {nekochan}`gohan-taberu;3em;Nekochan eating rice ball`
```{nekochan} lgtm
:alt: Looks Good To Me
:height: 3em
```
- reStructuredText
* Big bear nekochan :nekochan:`kuma-nya;2em`
* Huge hot-spring nekochan :nekochan:`hot-spring;128px`
* Customize alt text for emoji :nekochan:`gohan-taberu;3em;Nekochan eating rice ball`
.. nekochan:: lgtm
:alt: Looks Good To Me
:height: 3em
Transform emoji
Also, you can specify transform option with a semicolon(;) after the alt text of the nekochan role.
- markdown
* Skip {nekochan}`skip-nya;2em` rotated 90 degrees clockwise {nekochan}`skip-nya;2em;;rotate-90`
* Flip the left and right side of the {nekochan}`yoshi;2em` Yoshi emoji {nekochan}`yoshi;2em;;flip-horizontal`
```{nekochan} snake
:transform: flip-vertical
:height: 2em
```
- reStructuredText
* Skip :nekochan:`skip-nya;2em` rotated 90 degrees clockwise :nekochan:`skip-nya;2em;;rotate-90`
* Flip the left and right side of the :nekochan:`yoshi;2em` Yoshi emoji :nekochan:`yoshi;2em;;flip-horizontal`
.. nekochan:: snake
:transform: flip-vertical
:height: 2em
License
- sphinx-nekochan is licensed under the MIT License.
- Please refer to the following guidelines for using Nekochan emojis.
Metadata
Release files for sphinx-nekochan 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sphinx_nekochan-0.4.0.tar.gz | 6.3 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sphinx_nekochan-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.7 MB
Release files / sphinx_nekochan-0.4.0.tar.gz
| Download URL | sphinx_nekochan-0.4.0.tar.gz |
|---|---|
| Size | 6.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6348ccad006e6918a8d26167c8e56918d62f43d285efd2524f74a0176704b9c0
|
|
BLAKE2b-256 checksum How to use checksums |
02ae0c8865056e05fc3365836aade1a16566d68f7613f446367de2dcc02064c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 5, 2025.
Transparency logRelease files / sphinx_nekochan-0.4.0-py3-none-any.whl
| Download URL | sphinx_nekochan-0.4.0-py3-none-any.whl |
|---|---|
| Size | 6.3 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1b78382bcd2c80c11f9ba397b2fba986b0581395bbb3c6cc97b6718615e0b854
|
|
BLAKE2b-256 checksum How to use checksums |
596b7009442170c4e086cf8daed1383ad3c2ef28ad6efd4acbda3a2f94bfe8b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 5, 2025.
Transparency log