On Mon, Jan 19, 2009 at 19:50, Raymond Hettinger <pyt...@rcn.com> wrote: > I have another question about doc formatting. > > What controls whether section headers get urls with a custom named jump > target instead of a default name like "id1"? > > In particular, look at the urls for: > http://docs.python.org/dev/library/collections.html#id1 versus > > http://docs.python.org/dev/library/collections.html#abcs-abstract-base-classes > I would like all of the targets to have meaningful names.
Not sure from a sphinx perspective, but Docutils does this automatically. You can also always specify the anchor point manually:: .. _abcs-abstract-base-classes Abstract Base Classes ------------------------------ to get what you want. -Brett _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com