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)
| 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 |