Build Failed!

17 Jun 2024 00:59:07 UTC
Unless all site previews are broken, this is a problem with the yummy-sphinx-theme package.
{'html_theme': 'yummy_sphinx_theme'}
======================================== stdout ========================================
Running Sphinx v7.3.7
making output directory... done
locale_dir /home/runner/work/ does not exist
loading intersphinx inventory from
intersphinx inventory has moved: ->
locale_dir /home/runner/work/ does not exist
building [mo]: targets for 0 po files that are out of date
writing output... 
building [dirhtml]: targets for 18 source files that are out of date
updating environment: locale_dir /home/runner/work/ does not exist
[new config] 18 added, 0 changed, 0 removed
reading sources... [  6%] index
reading sources... [ 11%] kitchen-sink/admonitions
reading sources... [ 17%] kitchen-sink/api
reading sources... [ 22%] kitchen-sink/blocks
reading sources... [ 28%] kitchen-sink/generic
reading sources... [ 33%] kitchen-sink/images
reading sources... [ 39%] kitchen-sink/index
reading sources... [ 44%] kitchen-sink/lists
reading sources... [ 50%] kitchen-sink/really-long
reading sources... [ 56%] kitchen-sink/structure
reading sources... [ 61%] kitchen-sink/tables
reading sources... [ 67%] kitchen-sink/typography
reading sources... [ 72%] long-page
reading sources... [ 78%] placeholder-four
reading sources... [ 83%] placeholder-one
reading sources... [ 89%] placeholder-three
reading sources... [ 94%] placeholder-two
reading sources... [100%] really-long-title

looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
copying assets... copying static files... done
copying extra files... done
writing output... [  6%] index

======================================== stderr ========================================
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/urllib/ of urllib.parse.quote:13: ERROR: Unexpected indentation.
/home/runner/work/ WARNING: Include file '/home/runner/work/' not found or reading it failed
/home/runner/work/ WARNING: Include file '/home/runner/work/' not found or reading it failed

Traceback (most recent call last):
  File "/home/runner/work/", line 1119, in handle_page
    output = self.templates.render(templatename, ctx)
  File "/home/runner/work/", line 200, in render
    return self.environment.get_template(template).render(context)
  File "/home/runner/work/", line 1304, in render
  File "/home/runner/work/", line 939, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "/home/runner/work/", line 10, in top-level template code
    {%- extends "layout.html" %}
  File "/home/runner/work/", line 176, in top-level template code
    {{ css() }}
  File "/home/runner/work/", line 394, in call
    return, *args, **kwargs)
  File "/home/runner/work/", line 782, in _invoke
    rv = self._func(*arguments)
  File "/home/runner/work/", line 53, in template
    <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/", line 337, in build_main, args.filenames)
  File "/home/runner/work/", line 351, in build
  File "/home/runner/work/", line 293, in build_update,
  File "/home/runner/work/", line 362, in build
    self.write(docnames, list(updated_docnames), method)
  File "/home/runner/work/", line 570, in write
  File "/home/runner/work/", line 580, in _write_serial
    self.write_doc(docname, doctree)
  File "/home/runner/work/", line 665, in write_doc
    self.handle_page(docname, ctx, event_arg=doctree)
  File "/home/runner/work/", line 1126, in handle_page
    raise ThemeError(__("An error happened in rendering the page %s.\nReason: %r") %
sphinx.errors.ThemeError: An error happened in rendering the page index.
Reason: UndefinedError("'style' is undefined")

Theme error:
An error happened in rendering the page index.
Reason: UndefinedError("'style' is undefined")