Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to insert metadata in Python-sphinx ( the documentation tool)

I want to insert some metadata (i.e. keywords, description, author) inside my web pages created by Sphinx.

I found

:fieldname: Field content

in the documentation of Sphinx, but I have no idea how to use it.

like image 547
xxks-kkk Avatar asked Jan 10 '13 06:01

xxks-kkk


1 Answers

I already figure out. There is a directive called "meta", which perfectly meets my desire.

You can find it here: http://docutils.sourceforge.net/docs/ref/rst/directives.html#meta

like image 146
xxks-kkk Avatar answered Oct 15 '22 12:10

xxks-kkk