Thanks. I am not completely certain of my problem, but I think it is related to having classes defined in one module and then including those classes in the __all__ list of a different module for namespace reasons. Only using autodoc in one of the modules seems to have fixed the problem.
On Thursday, December 28, 2017 at 7:09:24 PM UTC-6, Komiya Takeshi wrote: > > Hi, > > The message says many `DataQuickFrame` class are found at > > * dataquick.structures.dataquickframe.DataQuickFrame > * dataquick.structures.DataQuickFrame > > So referencing `DataQuickFrame` is ambiguity. > > I guess it will be resolved with adding namespace to references like > :class:`dataquick.structures.DataQuickFrame`. > > Thanks, > Takeshi KOMIYA > > 2017-12-29 5:59 GMT+09:00 Vince West <[email protected] <javascript:>>: > > I am pretty new to sphinx, but I am trying to set up documentation for a > > project I am working on. > > > > I am using the napoleon extension with numpy docstrings and I am getting > > many errors that look like this; > > > > C:\Coding\Python\PythonPackageLinks\dataquick\loaders.py:docstring of > > dataquick.loaders.load_dqftxt:: WARNING: more than one target found for > > cross-reference 'DataQuickFrame': > > dataquick.structures.dataquickframe.DataQuickFrame, > > dataquick.structures.DataQuickFrame > > C:\Coding\Python\PythonPackageLinks\dataquick\loaders.py:docstring of > > dataquick.loaders.load_file:: WARNING: more than one target found for > > cross-reference 'DataQuickFrame': > > dataquick.structures.dataquickframe.DataQuickFrame, > > dataquick.structures.DataQuickFrame > > > > I tried to construct a simple setup as per this question on > StackOverflow > > > https://stackoverflow.com/questions/47993145/sphinx-cross-reference-multiple-target-warnings-with-classes-of-the-same-name?noredirect=1#comment82983261_47993145 > > > > > However, I was not able to reproduce the problem this way. As such, I > am > > not sure what is causing the Warning and I am looking for guidance as to > how > > I might figure it out > > > > Thank you > > Vince > > > > -- > > You received this message because you are subscribed to the Google > Groups > > "sphinx-users" group. > > To unsubscribe from this group and stop receiving emails from it, send > an > > email to [email protected] <javascript:>. > > To post to this group, send email to [email protected] > <javascript:>. > > Visit this group at https://groups.google.com/group/sphinx-users. > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sphinx-users. For more options, visit https://groups.google.com/d/optout.
