Skip to main content

embedding twitter’s tweet in sphinx

usage:

First of all, add sphinx_tweet_embed to sphinx extension list in conf.py

extensions = ['sphinxcontrib.twitter']

then use tweet directive and tw role.

.. tweet:: https://twitter.com/pypi/status/315214320826978305

You can use display-thread flag to display replyes.

.. tweet:: https://twitter.com/pypi/status/315214320826978305

:tw:`@shomah4a`

.. timeline:: 319830355039371264

finally, build your sphinx project.

$ make html

Release files for sphinxcontrib.twitter 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sphinxcontrib.twitter 0.5.0
File Size Uploaded
sphinxcontrib.twitter-0.5.0.tar.gz 2.8 kB Details

Release files / sphinxcontrib.twitter-0.5.0.tar.gz

Download URL sphinxcontrib.twitter-0.5.0.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
74c41bb54f8a05528ca419abae1ad8548ec960b51aef5edd4989b9893ed4761b
BLAKE2b-256 checksum
How to use checksums
574504aefba8bf65f9cfa3e02ef5d670f6abf1d1c2b0061b6b760e0dc7ca4d08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.5.0 This release

1 release file

0.4.0

1 release file

0.3.0

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page