sphinxcontrib_github_alt-1.2
توضیحات
Link to GitHub issues, pull requests, commits and users from Sphinx docs.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | sphinxcontrib_github_alt-1.2 |
| نام | sphinxcontrib_github_alt |
| نسخه کتابخانه | 1.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Jupyter Development Team |
| ایمیل نویسنده | jupyter@googlegroups.com |
| آدرس صفحه اصلی | https://github.com/jupyter/sphinxcontrib_github_alt |
| آدرس اینترنتی | https://pypi.org/project/sphinxcontrib_github_alt/ |
| مجوز | - |
Link to GitHub issues, pull requests, commits and users for a particular project.
To use this extension, add it to the ``extensions`` list in ``conf.py``,
and set the variable ``github_project_url``:
.. code-block:: python
extensions = [...
'sphinxcontrib_github_alt',
]
github_project_url = "https://github.com/ipython/ipython"
Then use these roles in your documentation:
.. code-block:: rst
* :ghissue:`12` - link to issue #12
* :ghpull:`35` - link to pull request #35
* :ghcommit:`3a1cb54` - link to commit
* :ghuser:`ipython` - link to a user or organisation
It's called 'alt' because `sphinxcontrib-github
<https://pypi.python.org/pypi/sphinxcontrib-github/>`__ already exists. IPython
& Jupyter projects have been using the syntax defined in this extension for some
time before we made it into its own package, so we didn't want to switch to
``sphinxcontrib-github``.
نیازمندی
| مقدار | نام |
|---|---|
| - | docutils |
| - | sphinx |
نحوه نصب
نصب پکیج whl sphinxcontrib_github_alt-1.2:
pip install sphinxcontrib_github_alt-1.2.whl
نصب پکیج tar.gz sphinxcontrib_github_alt-1.2:
pip install sphinxcontrib_github_alt-1.2.tar.gz