We recently noticed that for every module of ours that we document with the automodule directive, Sphinx picks up a copyright string if it's in the same file.
For example, consider a module named whatever.py: """ Copyright (C) 2023 My Company, Inc. """ . . class MyWorstNightmare: """ This class contains test facilities to avoid serious problems: *"""* Automodule will pick up the docstring "This class..." but also will stick the copyright notice at the top of the generated document. That isn't a behavior we want, because the code being documented may have a copyright notice a couple of years old, and we don't want readers to confuse it with the copyright of the book that includes the automodule text. Is there a way to stop or work around this behavior? Thanks, Tom -- 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+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/sphinx-users/cef15a19-6c0f-4146-ae1c-3caea6e7b383n%40googlegroups.com.