[New-bugs-announce] [issue40245] Add description meta tags to docs.python.org

Andrew Zhou report at bugs.python.org
Fri Apr 10 12:38:25 EDT 2020


New submission from Andrew Zhou <andrewfzhou at gmail.com>:

This isn't a particularly high priority, but it would be nice to have the first paragraph of docs pages show up when searched or posted in Slack, Discord, Twitter, etc. This is done through the description meta tag, as well as Open Graph, etc. As the description meta tag covers most of the potential use cases, the others can wait.

What implementing this would entail is either manual addition of meta tags, or an automatic transform step that grabs the first paragraph of the relevant RST source. [1]

http://www.sphinx-doc.org/en/master/extdev/appapi.html#sphinx.application.Sphinx.add_transform

----------
assignee: docs at python
components: Documentation
messages: 366138
nosy: 0az, docs at python
priority: normal
severity: normal
status: open
title: Add description meta tags to docs.python.org
type: enhancement

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40245>
_______________________________________


More information about the New-bugs-announce mailing list