phykhmer
On Nov 9, 2019 1:32 AM, "phy Khmer" <[email protected]> wrote:
>
> On Tuesday, August 13, 2019 at 10:47:10 AM UTC+7, Alicia wrote:
> > During using sphinx to generate autodoc for out project, it comes out a
problem that it will generate the doc for python instead of my own defined
module when they have the same names.
> > For details, i have a module named "array.py" and when i am using
"sphinx-apidoc -o XXX ../src/", the generated array.rst is as follows:
> >
> >
> >
> > array module
> > ============
> >
> >
> > .. automodule:: array
> >    :members:
> >    :undoc-members:
> >    :show-inheritance:
> >
> >
> > And when i using the command " make html " to generate the html files
for all the modules, the contents of array.html is not based on my own
module, but the module in python3.6.
> >
> >
> > I have tried some solutions like remove the python package in sys.path
defined in config.py which throws another error as sphinx depends on some
modules in python. The only solution that worked is to change the module
name.
> >
> >
> > I want to know that is there any different solution to this problem?
like adding some constrains in some config files, instead of changing my
modules' name.
>
> --
> 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 view this discussion on the web visit
https://groups.google.com/d/msgid/sphinx-users/6787688e-8358-4144-94e5-5ce29939f925%40googlegroups.com
.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/CABCm9B_hqTeT8MnBU4pZy3O%3D7E1A6ofQUtt-2NZxiP25UiiAFA%40mail.gmail.com.

Reply via email to