Sphinx Minecraft
Add different Minecraft-oriented components to Sphinx.
Installation
pip install sphinx-minecraft
Add the extension to your Sphinx conf.py:
extensions = [
'sphinx_minecraft'
]
Available components
Tree views
These components are based on sphinx-treeview.
Minecraft directory tree
Usage:
:::{treeview}
- {mcdir}`folder` folder
- {mcdir}`mcfunction` function.mcfunction
- {mcdir}`mcmeta` pack.mcmeta
- {mcdir}`nbt` structure.nbt
- {mcdir}`folder` folder2
- {mcdir}`file` file.txt
- {mcdir}`audio` sound.ogg
- {mcdir}`image` texture.png
- {mcdir}`json` advancement.json
- {mcdir}`yml` config.yml
:::
Result:
NBT tree
Usage:
:::{treeview}
- {nbt}`compound` A compound tag
- {nbt}`bool` A boolean tag
- {nbt}`byte` A byte tag
- {nbt}`short` A short tag
- {nbt}`int` An integer tag
- {nbt}`long` A long tag
- {nbt}`float` A float tag
- {nbt}`double` A double tag
- {nbt}`string` A string tag
- {nbt}`list` A list tag
- {nbt}`number` A number tag
- {nbt}`any` A tag to represent any type
- {nbt}`compound` A compound tag
- {nbt}`long-array` A long array tag
- {nbt}`byte-array` A byte array tag
- {nbt}`int-array` An integer array tag
:::
Result:
License
This project is licensed under the MPL-2.0 License. See the LICENSE file for details. File and folder icons came from pictogrammers and are under Apache-2.0 License. Other icons of the Minecraft directory tree view are from Material Icon Theme and are under MIT License.
Metadata
Release files for sphinx-minecraft 1.0.5
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_minecraft-1.0.5.tar.gz | 21.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sphinx_minecraft-1.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 62.8 kB
Release files / sphinx_minecraft-1.0.5.tar.gz
| Download URL | sphinx_minecraft-1.0.5.tar.gz |
|---|---|
| Size | 21.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
92f856776a5ea02f2cdcbc95cee16035abd57131752d523a372e646449900987
|
|
BLAKE2b-256 checksum How to use checksums |
e57534440b490b4ac3252dfbafc0f1c53fb0eb31165d69b33e4e27301e4bf0b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.25.3 CPython/3.13.3 Linux/6.11.0-1015-azure
|
Release files / sphinx_minecraft-1.0.5-py3-none-any.whl
| Download URL | sphinx_minecraft-1.0.5-py3-none-any.whl |
|---|---|
| Size | 41.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
afba1d03b9d5942cf41f5d2b2240f3bf1d2848f2decf45022bc0758682b7f727
|
|
BLAKE2b-256 checksum How to use checksums |
708787b2d561ea685da50f0cefe1e03ba583261fa5385ca4845df9974e85d768
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.25.3 CPython/3.13.3 Linux/6.11.0-1015-azure
|