sphinx-doc / sphinx

The Sphinx documentation generator
https://www.sphinx-doc.org/
Other
6.48k stars 2.11k forks source link

Getting "ERROR: Unknown target name:" for valid section headings #800

Closed shimizukawa closed 9 years ago

shimizukawa commented 9 years ago

The unknown target name error is generated for implicit ReST targets, even though they build correctly, and the output links correctly as well.

Example:

#!rest
Some text that refers to `$this->foo->bar()`_ generates the following error
when building: *ERROR: Unknown target name: "$this->foo->bar()"*

$this->foo->bar()
=================

Lorem ipsum...

shimizukawa commented 9 years ago

From Georg Brandl on 2011-11-01 14:08:29+00:00

Reproduced with plain docutils: this is not a Sphinx issue.

shimizukawa commented 9 years ago

From Georg Brandl on 2014-10-18 07:33:11+00:00

Removing version: 1.1 (automated comment)