Hi, thanks for help, but the sphinx-build man page says it should be a lower case "-c":
-c path Don't look for the conf.py in the source directory, but use the given configuration directory instead. Note that various other files and paths given by configuration values are expected to be relative to the configuration directory, so they will have to be present at this location too. New in version 0.3. -C Don't look for a configuration file; only take options via the -D option. New in version 0.5. I tried with capital "-C" but that doesn't work :( /Emil tisdag 19 mars 2024 kl. 08:14:24 UTC+1 skrev Steevie: > On Fri, 15 Mar 2024 17:54:25 -0700 (PDT), Emil Karlén wrote: > > > Hello! > > > > I want the Sphinx source root to be the root directory of the project, > > but have Sphinx conf.py in a subdirectory "sphinx". > > The Sphinx Makefile is in the project root dir, and I have added > > arguments > > -c sphinx > > to the Makefile. > It should be -C sphinx, with capital "C" > > HTH, > Stefano > > > -- 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 on the web visit https://groups.google.com/d/msgid/sphinx-users/3cafe9ec-c2ad-4413-a46b-db90b6532b56n%40googlegroups.com.