Skip to main content

Support article tpye's properties of Open Graph for Sphinx.

Project description

Stable version on PyPI "Continuous Integration" status for main branch Documentation status

Support article tpye’s properties of Open Graph for Sphinx.

Overview

This is Sphinx extension to handle properties of article typeof Open Graph.

You can add og-article directive with some options.

.. og-article::
   :published_time: 2023-05-07
   :modified_time: 2023-05-07 12:00:00

When it runs builder with this directive, your html file is generated included <meta property=”article:published_time”> and more properties.

Getting started

Install from PyPI.

Configure your conf.py.

Append og-article directive into your document.

Important note

This extension renders only article:* properties, and does not render og:* properties.

I recommend to install sphinxext-opengraph too.

Ref

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

atsphinx-og-article-0.2.1.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

atsphinx_og_article-0.2.1-py2.py3-none-any.whl (7.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file atsphinx-og-article-0.2.1.tar.gz.

File metadata

  • Download URL: atsphinx-og-article-0.2.1.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for atsphinx-og-article-0.2.1.tar.gz
Algorithm Hash digest
SHA256 0dc9f24b2c2112cb7c7e2abee2fc82c64d11a947050013c549d9dfd0298676d9
MD5 526a1bbfb06e5ac2d3f3a56479afdf86
BLAKE2b-256 9078b3ef10597958d1ae313cc52f026be72e3e8840c435a5898d9f427ca76c3e

See more details on using hashes here.

File details

Details for the file atsphinx_og_article-0.2.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for atsphinx_og_article-0.2.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 21d8d64b0d9c3918cc896f2b3edf542a11fc3a8954494b8c8568c0f034f2e1a2
MD5 7b7bb35850a86d999705071b47c5d640
BLAKE2b-256 d16e44bc101904e7fc13c419dada3a5c0b26f7fb566f65b8457db11a1fd083d9

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