Event "-M" must be of the form "123" when doing make html

10 views
Skip to first unread message

Robert Greger

unread,
May 19, 2020, 9:38:07 AM5/19/20
to sphinx-users
I'm running the following command and I don't understand what I am doing wrong.
>make html
Running Sphinx v3.0.3
loading pickled environment... done
Usage: C:\Users\gregerr\AppData\Local\Continuum\anaconda3\envs\CommonPlatform\Scripts\sphinx-build [event1 [event2] ...]
Event "-M" must be of the form "123"

Komiya Takeshi

unread,
May 19, 2020, 12:39:28 PM5/19/20
to sphinx...@googlegroups.com
Hi,

I haven't seen the message from Sphinx. I guess it comes from your
script loaded by autodoc or conf.py. If your script are going to
something like argument parsing, please make sure your main routine is
protected by if __name__ == '__main__' condition.

Thanks,
Takeshi KOMIYA

2020年5月19日(火) 22:38 Robert Greger <robg...@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/cf4bec49-51f3-4028-b16b-998ce2372236%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages