Skip to main content

Add different Minecraft-oriented components to Sphinx.

Project description

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:

Minecraft directory tree

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:

Minecraft NBT tree

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.

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

sphinx_minecraft-1.0.5.tar.gz (21.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sphinx_minecraft-1.0.5-py3-none-any.whl (41.2 kB view details)

Uploaded Python 3

File details

Details for the file sphinx_minecraft-1.0.5.tar.gz.

File metadata

  • Download URL: sphinx_minecraft-1.0.5.tar.gz
  • Upload date:
  • Size: 21.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.25.3 CPython/3.13.3 Linux/6.11.0-1015-azure

File hashes

Hashes for sphinx_minecraft-1.0.5.tar.gz
Algorithm Hash digest
SHA256 92f856776a5ea02f2cdcbc95cee16035abd57131752d523a372e646449900987
MD5 76b24b091fdf09597e90a44057e30330
BLAKE2b-256 e57534440b490b4ac3252dfbafc0f1c53fb0eb31165d69b33e4e27301e4bf0b4

See more details on using hashes here.

File details

Details for the file sphinx_minecraft-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: sphinx_minecraft-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 41.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.25.3 CPython/3.13.3 Linux/6.11.0-1015-azure

File hashes

Hashes for sphinx_minecraft-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 afba1d03b9d5942cf41f5d2b2240f3bf1d2848f2decf45022bc0758682b7f727
MD5 9ce3e33a41df49efba34713aecf08feb
BLAKE2b-256 708787b2d561ea685da50f0cefe1e03ba583261fa5385ca4845df9974e85d768

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page