"sage -docbuild" has been broken for some time. "make doc-html" will build all the html documentation.
On December 23, 2025 9:05:39 AM CST, 'OHappyDay' via sage-support <[email protected]> wrote: >Hi, > >I tried to run tutorial() from sage command prompt and got an error message > >OSError: The document 'tutorial' does not exist. Please build it >with 'sage -docbuild tutorial html' and try again. > >Then I tried to build it via the recommended way above but I got another >error message > >'tutorial' is not a recognized document. Type 'sage --docbuild -D' for a >list >of documents, or 'sage --docbuild --help' for more help. > >Running sage --docbuild -D resulted in yet another error message >Traceback (most recent call last): > File "<frozen runpy>", line 198, in _run_module_as_main > File "<frozen runpy>", line 88, in _run_code > File "/datadisk/apps/sage-10.8/src/sage_docbuild/__main__.py", line 552, >in <module> > sys.exit(main()) > ^^^^^^ > File "/datadisk/apps/sage-10.8/src/sage_docbuild/__main__.py", line 454, >in main > args: BuildOptions = parser.parse_args() # type: ignore > ^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.12/argparse.py", line 1908, in parse_args > args, argv = self.parse_known_args(args, namespace) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.12/argparse.py", line 1941, in parse_known_args > namespace, args = self._parse_known_args(args, namespace) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.12/argparse.py", line 2162, in _parse_known_args > start_index = consume_optional(start_index) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.12/argparse.py", line 2102, in consume_optional > take_action(action, args, option_string) > File "/usr/lib/python3.12/argparse.py", line 2017, in take_action > action(self, namespace, argument_values, option_string) > File "/datadisk/apps/sage-10.8/src/sage_docbuild/__main__.py", line 256, >in __call__ > print(help_documents(), end="") > ^^^^^^^^^^^^^^^^ > File "/datadisk/apps/sage-10.8/src/sage_docbuild/__main__.py", line 165, >in help_documents > docs = get_documents() > ^^^^^^^^^^^^^ >NameError: name 'get_documents' is not defined. Did you mean: >'help_documents'? > > >What is wrong? > >I built sage 10.8 from the sources and sage works just fine (the same >happens in 10.7) > >Thanks for any hints > >-- >You received this message because you are subscribed to the Google Groups >"sage-support" group. >To unsubscribe from this group and stop receiving emails from it, send an >email to [email protected]. >To view this discussion visit >https://groups.google.com/d/msgid/sage-support/385b96c2-636c-4e10-b48b-bcb77b5676e1n%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/sage-support/3982D02C-BFE4-4DD3-BACE-5C5433FA3B95%40gmail.com.
