Output
======================================== stdout ========================================
[01mRunning Sphinx v8.2.3[39;49;00m
[01mloading translations [en]... [39;49;00mlocale_dir /home/runner/work/sphinx-themes.org/sphinx-themes.org/sample-docs/locales/en/LC_MESSAGES does not exist
locale_dir /home/runner/work/sphinx-themes.org/sphinx-themes.org/sample-docs/locales/en/LC_MESSAGES does not exist
done
[01mmaking output directory... [39;49;00mdone
locale_dir /home/runner/work/sphinx-themes.org/sphinx-themes.org/sample-docs/locales/en/LC_MESSAGES does not exist
loading intersphinx inventory 'sphinx' from https://www.sphinx-doc.org/objects.inv ...
intersphinx inventory has moved: https://www.sphinx-doc.org/objects.inv -> https://www.sphinx-doc.org/en/master/objects.inv
locale_dir /home/runner/work/sphinx-themes.org/sphinx-themes.org/sample-docs/locales/en/LC_MESSAGES does not exist
[01mbuilding [mo]: [39;49;00mtargets for 0 po files that are out of date
[01mwriting output... [39;49;00m
[01mbuilding [dirhtml]: [39;49;00mtargets for 23 source files that are out of date
[01mupdating environment: [39;49;00mlocale_dir /home/runner/work/sphinx-themes.org/sphinx-themes.org/sample-docs/locales/en/LC_MESSAGES does not exist
[new config] 23 added, 0 changed, 0 removed
[01mreading sources... [39;49;00m[ 4%] [35mindex[39;49;00m
[01mreading sources... [39;49;00m[ 9%] [35mkitchen-sink/admonitions[39;49;00m
[01mreading sources... [39;49;00m[ 13%] [35mkitchen-sink/api[39;49;00m
[01mreading sources... [39;49;00m[ 17%] [35mkitchen-sink/blocks[39;49;00m
[01mreading sources... [39;49;00m[ 22%] [35mkitchen-sink/domains/api_c_domain[39;49;00m
[01mreading sources... [39;49;00m[ 26%] [35mkitchen-sink/domains/api_cpp_domain[39;49;00m
[01mreading sources... [39;49;00m[ 30%] [35mkitchen-sink/domains/api_javascript_domain[39;49;00m
[01mreading sources... [39;49;00m[ 35%] [35mkitchen-sink/domains/api_python_domain[39;49;00m
[01mreading sources... [39;49;00m[ 39%] [35mkitchen-sink/domains/api_restructuredtext_domain[39;49;00m
[01mreading sources... [39;49;00m[ 43%] [35mkitchen-sink/generic[39;49;00m
[01mreading sources... [39;49;00m[ 48%] [35mkitchen-sink/images[39;49;00m
[01mreading sources... [39;49;00m[ 52%] [35mkitchen-sink/index[39;49;00m
[01mreading sources... [39;49;00m[ 57%] [35mkitchen-sink/lists[39;49;00m
[01mreading sources... [39;49;00m[ 61%] [35mkitchen-sink/really-long[39;49;00m
[01mreading sources... [39;49;00m[ 65%] [35mkitchen-sink/structure[39;49;00m
[01mreading sources... [39;49;00m[ 70%] [35mkitchen-sink/tables[39;49;00m
[01mreading sources... [39;49;00m[ 74%] [35mkitchen-sink/typography[39;49;00m
[01mreading sources... [39;49;00m[ 78%] [35mlong-page[39;49;00m
[01mreading sources... [39;49;00m[ 83%] [35mplaceholder-four[39;49;00m
[01mreading sources... [39;49;00m[ 87%] [35mplaceholder-one[39;49;00m
[01mreading sources... [39;49;00m[ 91%] [35mplaceholder-three[39;49;00m
[01mreading sources... [39;49;00m[ 96%] [35mplaceholder-two[39;49;00m
[01mreading sources... [39;49;00m[100%] [35mreally-long-title[39;49;00m
[01mlooking for now-outdated files... [39;49;00mnone found
[01mpickling environment... [39;49;00mdone
[01mchecking consistency... [39;49;00mdone
[01mpreparing documents... [39;49;00mdone
[01mcopying assets... [39;49;00m
[01mcopying static files... [39;49;00m
Writing evaluated template result to /home/runner/work/sphinx-themes.org/sphinx-themes.org/public/sample-sites/sphinx-bernard-theme/_static/documentation_options.js
Writing evaluated template result to /home/runner/work/sphinx-themes.org/sphinx-themes.org/public/sample-sites/sphinx-bernard-theme/_static/language_data.js
Writing evaluated template result to /home/runner/work/sphinx-themes.org/sphinx-themes.org/public/sample-sites/sphinx-bernard-theme/_static/basic.css
Writing evaluated template result to /home/runner/work/sphinx-themes.org/sphinx-themes.org/public/sample-sites/sphinx-bernard-theme/_static/bernard.css
[01mcopying static files: [39;49;00mdone
[01mcopying extra files... [39;49;00m
[01mcopying extra files: [39;49;00mdone
[01mcopying assets: [39;49;00mdone
[01mwriting output... [39;49;00m[ 4%] [32mindex[39;49;00m
======================================== stderr ========================================
[91mWARNING: autodoc: failed to import module 'all_in_one_restructuredtext'; the following exception was raised:
['Traceback (most recent call last):\n', ' File "/home/runner/work/sphinx-themes.org/sphinx-themes.org/.nox/publish/lib/python3.12/site-packages/sphinx/ext/autodoc/importer.py", line 269, in import_object\n module = import_module(modname, try_reload=True)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/home/runner/work/sphinx-themes.org/sphinx-themes.org/.nox/publish/lib/python3.12/site-packages/sphinx/ext/autodoc/importer.py", line 172, in import_module\n raise ModuleNotFoundError(msg, name=modname) # NoQA: TRY301\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', "ModuleNotFoundError: No module named 'all_in_one_restructuredtext'\n"] [autodoc.import_object][39;49;00m
[91m/home/runner/work/sphinx-themes.org/sphinx-themes.org/sample-docs/kitchen-sink/blocks.rst:138: WARNING: Include file '/home/runner/work/sphinx-themes.org/src/furo/__init__.py' not found or reading it failed [docutils][39;49;00m
[91m/home/runner/work/sphinx-themes.org/sphinx-themes.org/sample-docs/kitchen-sink/lists.rst:202: WARNING: Include file '/home/runner/work/sphinx-themes.org/src/furo/__init__.py' not found or reading it failed [docutils][39;49;00m
[91mTheme error![39;49;00m
Versions
========
* Platform: linux; (Linux-6.11.0-1018-azure-x86_64-with-glibc2.39)
* Python version: 3.12.3 (CPython)
* Sphinx version: 8.2.3
* Docutils version: 0.21.2
* Jinja2 version: 3.1.6
* Pygments version: 2.19.1
Last Messages
=============
Writing evaluated template result to /home/runner/work/sphinx-themes.org/sphinx-themes.org/public/sample-sites/sphinx-bernard-theme/_static/language_data.js
Writing evaluated template result to /home/runner/work/sphinx-themes.org/sphinx-themes.org/public/sample-sites/sphinx-bernard-theme/_static/basic.css
Writing evaluated template result to /home/runner/work/sphinx-themes.org/sphinx-themes.org/public/sample-sites/sphinx-bernard-theme/_static/bernard.css
copying static files: done
copying extra files...
copying extra files: done
copying assets: done
writing output... [ 4%]
index
Loaded Extensions
=================
* sphinx.ext.mathjax (8.2.3)
* alabaster (1.0.0)
* sphinxcontrib.applehelp (2.0.0)
* sphinxcontrib.devhelp (2.0.0)
* sphinxcontrib.htmlhelp (2.1.0)
* sphinxcontrib.serializinghtml (2.0.0)
* sphinxcontrib.qthelp (2.0.0)
* sphinx.ext.autodoc.preserve_defaults (8.2.3)
* sphinx.ext.autodoc.type_comment (8.2.3)
* sphinx.ext.autodoc.typehints (8.2.3)
* sphinx.ext.autodoc (8.2.3)
* sphinx.ext.extlinks (8.2.3)
* sphinx.ext.intersphinx (8.2.3)
* sphinx.ext.napoleon (8.2.3)
* sphinx.ext.todo (8.2.3)
* sphinx.ext.viewcode (8.2.3)
Traceback
=========
Traceback (most recent call last):
File "/home/runner/work/sphinx-themes.org/sphinx-themes.org/.nox/publish/lib/python3.12/site-packages/sphinx/builders/html/__init__.py", line 1212, in handle_page
output = self.templates.render(templatename, ctx)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/work/sphinx-themes.org/sphinx-themes.org/.nox/publish/lib/python3.12/site-packages/sphinx/jinja2glue.py", line 217, in render
return self.environment.get_template(template).render(context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/work/sphinx-themes.org/sphinx-themes.org/.nox/publish/lib/python3.12/site-packages/jinja2/environment.py", line 1295, in render
self.environment.handle_exception()
File "/home/runner/work/sphinx-themes.org/sphinx-themes.org/.nox/publish/lib/python3.12/site-packages/jinja2/environment.py", line 942, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/home/runner/work/sphinx-themes.org/sphinx-themes.org/.nox/publish/lib/python3.12/site-packages/sphinx/themes/basic/page.html", line 2, in top-level template code
{%- extends "layout.html" %}
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/work/sphinx-themes.org/sphinx-themes.org/.nox/publish/lib/python3.12/site-packages/sphinx_bernard_theme/layout.html", line 25, in top-level template code
<link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" />
^^^^^^^^^^^^^^^^^^^^^^^^^
jinja2.exceptions.UndefinedError: 'style' is undefined
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/runner/work/sphinx-themes.org/sphinx-themes.org/.nox/publish/lib/python3.12/site-packages/sphinx/cmd/build.py", line 432, in build_main
app.build(args.force_all, args.filenames)
File "/home/runner/work/sphinx-themes.org/sphinx-themes.org/.nox/publish/lib/python3.12/site-packages/sphinx/application.py", line 426, in build
self.builder.build_update()
File "/home/runner/work/sphinx-themes.org/sphinx-themes.org/.nox/publish/lib/python3.12/site-packages/sphinx/builders/__init__.py", line 375, in build_update
self.build(
File "/home/runner/work/sphinx-themes.org/sphinx-themes.org/.nox/publish/lib/python3.12/site-packages/sphinx/builders/__init__.py", line 454, in build
self.write(docnames, updated_docnames, method)
File "/home/runner/work/sphinx-themes.org/sphinx-themes.org/.nox/publish/lib/python3.12/site-packages/sphinx/builders/__init__.py", line 735, in write
self.write_documents(docnames)
File "/home/runner/work/sphinx-themes.org/sphinx-themes.org/.nox/publish/lib/python3.12/site-packages/sphinx/builders/__init__.py", line 749, in write_documents
self._write_serial(sorted_docnames)
File "/home/runner/work/sphinx-themes.org/sphinx-themes.org/.nox/publish/lib/python3.12/site-packages/sphinx/builders/__init__.py", line 768, in _write_serial
self.write_doc(docname, doctree)
File "/home/runner/work/sphinx-themes.org/sphinx-themes.org/.nox/publish/lib/python3.12/site-packages/sphinx/builders/html/__init__.py", line 677, in write_doc
self.handle_page(docname, ctx, event_arg=doctree)
File "/home/runner/work/sphinx-themes.org/sphinx-themes.org/.nox/publish/lib/python3.12/site-packages/sphinx/builders/html/__init__.py", line 1228, in handle_page
raise ThemeError(msg) from exc
sphinx.errors.ThemeError: An error happened in rendering the page index.
Reason: UndefinedError("'style' is undefined")
The full traceback has been saved in:
/tmp/sphinx-err-i2f2gptm.log
To report this error to the developers, please open an issue at <https://github.com/sphinx-doc/sphinx/issues/>. Thanks!
Please also report this if it was a user error, so that a better error message can be provided next time.