Skip to main content

embedding twitter's tweet in sphinx

Project description

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

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

sphinxcontrib.twitter-0.5.0.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file sphinxcontrib.twitter-0.5.0.tar.gz.

File metadata

File hashes

Hashes for sphinxcontrib.twitter-0.5.0.tar.gz
Algorithm Hash digest
SHA256 74c41bb54f8a05528ca419abae1ad8548ec960b51aef5edd4989b9893ed4761b
MD5 f3dbeb676060c07c6cf040e2a032e463
BLAKE2b-256 574504aefba8bf65f9cfa3e02ef5d670f6abf1d1c2b0061b6b760e0dc7ca4d08

See more details on using hashes here.

Supported by

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