sphinxcontrib.asciinema-0.4.3


توضیحات

Embed asciinema casts in your Sphinx docs
ویژگی مقدار
سیستم عامل -
نام فایل sphinxcontrib.asciinema-0.4.3
نام sphinxcontrib.asciinema
نسخه کتابخانه 0.4.3
نگهدارنده []
ایمیل نگهدارنده []
نویسنده -
ایمیل نویسنده -
آدرس صفحه اصلی https://github.com/divi255/sphinxcontrib.asciinema
آدرس اینترنتی https://pypi.org/project/sphinxcontrib.asciinema/
مجوز MIT
# sphinxcontrib-asciinema Easily embed [asciinema](https://asciinema.org/) videos into Sphinx rst docs. ## Installation Clone and cd into this repository, then: ```shell pip install . ``` or install from PyPI: ```shell pip install sphinxcontrib.asciinema ``` ## Usage Append extension to sphinx `conf.py`: ```python extensions = ['sphinxcontrib.asciinema'] ``` Insert videos into `.rst` docs by embedding them from asciinema.org: ```rst .. asciinema:: 261648 ``` or for a local file with a self-hosted web player: ```rst .. asciinema:: local_file.cast ``` It is possible to give options as well: ```rst .. asciinema:: local_file.cast :preload: 1 :theme: solarized-dark ``` You can enter all options from the [asciinema Player Options](https://docs.asciinema.org/manual/player/options/). Default options can be set in `conf.py`: ```python sphinxcontrib_asciinema_defaults = { 'theme': 'solarized-dark', 'preload': 1, 'font-size': '15px', # 'path': 'path/to/castdir' } ``` The "path" option can be specified to set the default cast file directory. If a local file path starts with "./", the option is ignored.


نیازمندی

مقدار نام
- sphinx


نحوه نصب


نصب پکیج whl sphinxcontrib.asciinema-0.4.3:

    pip install sphinxcontrib.asciinema-0.4.3.whl


نصب پکیج tar.gz sphinxcontrib.asciinema-0.4.3:

    pip install sphinxcontrib.asciinema-0.4.3.tar.gz