| 1 |
=================== |
| 2 |
sphinxext-opengraph |
| 3 |
=================== |
| 4 |
|
| 5 |
.. image:: https://img.shields.io/pypi/v/sphinxext-opengraph.svg |
| 6 |
:target: https://pypi.org/project/sphinxext-opengraph/ |
| 7 |
:alt: Package on PyPI |
| 8 |
|
| 9 |
.. image:: https://github.com/sphinx-doc/sphinxext-opengraph/actions/workflows/test.yml/badge.svg |
| 10 |
:target: https://github.com/sphinx-doc/sphinxext-opengraph/actions |
| 11 |
:alt: Build Status |
| 12 |
|
| 13 |
.. image:: https://img.shields.io/badge/License-BSD%203--Clause-blue.svg |
| 14 |
:target: https://opensource.org/licenses/BSD-3-Clause |
| 15 |
:alt: BSD 3 Clause |
| 16 |
|
| 17 |
Sphinx extension to generate `Open Graph metadata`_ |
| 18 |
for each page of your documentation. |
| 19 |
|
| 20 |
Installation |
| 21 |
============ |
| 22 |
|
| 23 |
.. code-block:: sh |
| 24 |
|
| 25 |
python -m pip install sphinxext-opengraph[social-cards] |
| 26 |
# or |
| 27 |
uv pip install sphinxext-opengraph[social-cards] |
| 28 |
|
| 29 |
Usage |
| 30 |
===== |
| 31 |
|
| 32 |
See the `documentation`_. |
| 33 |
|
| 34 |
.. _Open Graph metadata: https://ogp.me/ |
| 35 |
.. _documentation: https://sphinxext-opengraph.readthedocs.io/ |