Skip to main content

sphinxcontrib-screenshot

A Sphinx extension to embed website screenshots and screencasts.

.. screenshot:: http://www.example.com
  :browser: chromium
  :viewport-width: 1280
  :viewport-height: 960
  :color-scheme: dark
  :status-code: 200,302
.. screencast:: http://www.example.com
  :viewport-width: 1280
  :viewport-height: 960
  :controls:
  :muted:

  document.querySelector('button').click();
  await new Promise(r => setTimeout(r, 1000));

Read more in the documentation.

Notes

This extension uses Playwright to capture a screenshot of the specified website only. No data is sent to any other external server; the request is limited to the specified website. Be cautious: avoid including sensitive information (such as authentication data) in the directive content.

Contributing

See CONTRIBUTING.md for details.

License

Apache 2.0; see LICENSE for details.

Disclaimer

This project is not an official Google project. It is not supported by Google and Google specifically disclaims all warranties as to its quality, merchantability, or fitness for a particular purpose.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sphinxcontrib_screenshot-2.1.0.tar.gz (34.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sphinxcontrib_screenshot-2.1.0-py3-none-any.whl (31.8 kB view details)

Uploaded Python 3

File details

Details for the file sphinxcontrib_screenshot-2.1.0.tar.gz.

File metadata

  • Download URL: sphinxcontrib_screenshot-2.1.0.tar.gz
  • Upload date:
  • Size: 34.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for sphinxcontrib_screenshot-2.1.0.tar.gz
Algorithm Hash digest
SHA256 7c4fdc181af6198bfc48a374d3ac8ce8982d5c818161c8bf7ebd163285dbcf62
MD5 95f5b1be1f813bbbb8e1a131572a91dd
BLAKE2b-256 736e114671087edba62a18b87051334964a1c2f6ed130a060e30c9ced4c045c7

See more details on using hashes here.

Provenance

The following attestation bundles were made for sphinxcontrib_screenshot-2.1.0.tar.gz:

Publisher: publish.yml on tushuhei/sphinxcontrib-screenshot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sphinxcontrib_screenshot-2.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sphinxcontrib_screenshot-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1a6813c65d2a7a424fcfd2efcc8866eea4d2ec9fc02b3d78638faae3af3b855a
MD5 39e74a2190d8aea9812b803d29c077ef
BLAKE2b-256 a3d43e25db7f32260681a5a67730592b8f3372874b1b2a88a12b9c6d4de517c1

See more details on using hashes here.

Provenance

The following attestation bundles were made for sphinxcontrib_screenshot-2.1.0-py3-none-any.whl:

Publisher: publish.yml on tushuhei/sphinxcontrib-screenshot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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