我的训示中提到我所定义的其他假课。 每当Sphinx碰到其中一个班级时,我想加上另一个班级的文件链接。 这在Sphinx是否可行?
具体地说,我有这样一句 :
This class contains a bunch of Foo objects
我可以写:
This class contains a bunch of :class:`~foo.Foo` objects
but I would prefer that Sphinx finds all text matching Foo
and makes it seem as though I had typed
:class:~foo.Foo