Thanks, Georg! Perhaps this should be added to the documentation here: http://sphinx.pocoo.org/markup/misc.html#file-wide-metadata ?
Kevin Horn On Sat, Jun 12, 2010 at 11:19 AM, Georg Brandl <[email protected]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Am 08.06.2010 23:16, schrieb Kevin H: > > this page: > > http://sphinx.pocoo.org/markup/misc.html#file-wide-metadata > > > > describes a way to add "File-wide metadata" to a Sphinx/RST source > > file, but notes that it is not displayed in the output. > > > > I would like to display some of these fields in the output of my > > Sphinx project. How would I go about this? Is there a way to access > > these values from the template? > > > > Has anyone done this before? > > Yes, the metadata is available as a dictionary called "meta" in the > HTML templates. > > cheers, > Georg > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.15 (GNU/Linux) > > iEYEARECAAYFAkwTs40ACgkQN9GcIYhpnLA8UwCgqyB1kfKjFaVXF1qWNecHodFC > RkYAoJKCC56rKj3ir4S9pBcYNFl6IivS > =s658 > -----END PGP SIGNATURE----- > > -- > You received this message because you are subscribed to the Google Groups > "sphinx-dev" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<sphinx-dev%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/sphinx-dev?hl=en. > > -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.
