why linux make html different from mac?

33 views
Skip to first unread message

haojie shu

unread,
Dec 8, 2020, 11:14:25 PM12/8/20
to sphinx-users
    Hello everyone,today I met a problem. I found I have the same rst file on my mac and on my ubuntu. But after make html, I  found the html have big difference. Below is the rst file. I don't know why, anyone help me?


dilated_unet
=========================================================

----------

model
--------------------------------------------------------------

.. automodule:: tensorgraph.models_zoo.echocardiac.dilated_unet.model
   :members:
   :undoc-members:
   :show-inheritance:

Komiya Takeshi

unread,
Dec 11, 2020, 10:49:55 PM12/11/20
to sphinx...@googlegroups.com
Hi,

It seems the document you pasted is a document for "tensorgraph"
module. Sphinx tries to build it using the module itself. Could you
check that the module is available in your Linux environment?
Additionally, please check the console output of sphinx build. Are
there any warnings?

Thanks,
Takeshi KOMIYA

2020年12月9日(水) 13:14 haojie shu <shuha...@gmail.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 sphinx-users...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sphinx-users/97bac378-9294-402d-8316-358b3516b2d1n%40googlegroups.com.

haojie shu

unread,
Dec 27, 2020, 8:50:11 PM12/27/20
to sphinx...@googlegroups.com
What do you mean by "check that the module is available in your Linux environment"?

Komiya Takeshi <i.tk...@gmail.com> 于2020年12月12日周六 上午11:49写道:

Komiya Takeshi

unread,
Dec 27, 2020, 9:15:51 PM12/27/20
to sphinx...@googlegroups.com
Hi,

It seems your document uses "automodule" directive to document for
tensorgraph.models_zoo.echocardiac.dilated_unet.model. It generates
docs from the installed module. So I guess the difference you said
came from the absence of the tensorgraph module. What I meant is check
the tensorgraph module is installed into your Ubuntu environment.

Thanks,
Takeshi KOMIYA

2020年12月28日(月) 10:50 haojie shu <shuha...@gmail.com>:
> To view this discussion on the web visit https://groups.google.com/d/msgid/sphinx-users/CAG_%2Brw%2BYb28dSHE3PEbaBO-hMXk9paWSpFDjUbcKHS-Tu2ja5g%40mail.gmail.com.

haojie shu

unread,
Dec 27, 2020, 9:53:29 PM12/27/20
to sphinx...@googlegroups.com
Thanks for the patience, Takeshi. I see what you mean. I have checked my files, the tensorgraph module exists. Here is the folder like.The rst file is in 'source' folder. WX20201228-104932.png

Komiya Takeshi <i.tk...@gmail.com> 于2020年12月28日周一 上午10:15写道:

Komiya Takeshi

unread,
Dec 29, 2020, 9:28:11 AM12/29/20
to sphinx...@googlegroups.com
Okay, it seems modules are correctly installed. Are there any warnings or outputs on building a document?
If none, I don't have idea to fix your trouble...
Reply all
Reply to author
Forward
0 new messages