Build Failed!

25 Mar 2024 00:51:09 UTC
Unless all site previews are broken, this is a problem with the hachibee-sphinx-theme package.
Configuration
{'html_theme': 'hachibee', 'html_theme_path': '[hachibee_sphinx_theme.get_html_themes_path()]'}
Output
======================================== stdout ========================================
Running Sphinx v7.2.6
making output directory... done
locale_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
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/sphinx-themes.org/sphinx-themes.org/sample-docs/locales/en/LC_MESSAGES 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
done
writing output... [  6%] index

======================================== stderr ========================================
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/urllib/parse.py:docstring of urllib.parse.quote:13: ERROR: Unexpected indentation.
/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
/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

Traceback (most recent call last):
  File "/home/runner/work/sphinx-themes.org/sphinx-themes.org/build/hachibee-sphinx-theme/lib/python3.10/site-packages/sphinx/builders/html/__init__.py", line 1127, in handle_page
    output = self.templates.render(templatename, ctx)
  File "/home/runner/work/sphinx-themes.org/sphinx-themes.org/build/hachibee-sphinx-theme/lib/python3.10/site-packages/sphinx/jinja2glue.py", line 200, in render
    return self.environment.get_template(template).render(context)
  File "/home/runner/work/sphinx-themes.org/sphinx-themes.org/build/hachibee-sphinx-theme/lib/python3.10/site-packages/jinja2/environment.py", line 1301, in render
    self.environment.handle_exception()
  File "/home/runner/work/sphinx-themes.org/sphinx-themes.org/build/hachibee-sphinx-theme/lib/python3.10/site-packages/jinja2/environment.py", line 936, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "/home/runner/work/sphinx-themes.org/sphinx-themes.org/build/hachibee-sphinx-theme/lib/python3.10/site-packages/hachibee_sphinx_theme/hachibee/page.html", line 1, in top-level template code
    {% extends "!layout.html" %}
  File "/home/runner/work/sphinx-themes.org/sphinx-themes.org/build/hachibee-sphinx-theme/lib/python3.10/site-packages/hachibee_sphinx_theme/hachibee/layout.html", line 134, in top-level template code
    {{ css() }}
  File "/home/runner/work/sphinx-themes.org/sphinx-themes.org/build/hachibee-sphinx-theme/lib/python3.10/site-packages/jinja2/sandbox.py", line 393, in call
    return __context.call(__obj, *args, **kwargs)
  File "/home/runner/work/sphinx-themes.org/sphinx-themes.org/build/hachibee-sphinx-theme/lib/python3.10/site-packages/jinja2/runtime.py", line 777, in _invoke
    rv = self._func(*arguments)
  File "/home/runner/work/sphinx-themes.org/sphinx-themes.org/build/hachibee-sphinx-theme/lib/python3.10/site-packages/hachibee_sphinx_theme/hachibee/layout.html", line 95, 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/sphinx-themes.org/sphinx-themes.org/build/hachibee-sphinx-theme/lib/python3.10/site-packages/sphinx/cmd/build.py", line 298, in build_main
    app.build(args.force_all, args.filenames)
  File "/home/runner/work/sphinx-themes.org/sphinx-themes.org/build/hachibee-sphinx-theme/lib/python3.10/site-packages/sphinx/application.py", line 355, in build
    self.builder.build_update()
  File "/home/runner/work/sphinx-themes.org/sphinx-themes.org/build/hachibee-sphinx-theme/lib/python3.10/site-packages/sphinx/builders/__init__.py", line 293, in build_update
    self.build(to_build,
  File "/home/runner/work/sphinx-themes.org/sphinx-themes.org/build/hachibee-sphinx-theme/lib/python3.10/site-packages/sphinx/builders/__init__.py", line 363, in build
    self.write(docnames, list(updated_docnames), method)
  File "/home/runner/work/sphinx-themes.org/sphinx-themes.org/build/hachibee-sphinx-theme/lib/python3.10/site-packages/sphinx/builders/__init__.py", line 571, in write
    self._write_serial(sorted(docnames))
  File "/home/runner/work/sphinx-themes.org/sphinx-themes.org/build/hachibee-sphinx-theme/lib/python3.10/site-packages/sphinx/builders/__init__.py", line 581, in _write_serial
    self.write_doc(docname, doctree)
  File "/home/runner/work/sphinx-themes.org/sphinx-themes.org/build/hachibee-sphinx-theme/lib/python3.10/site-packages/sphinx/builders/html/__init__.py", line 655, in write_doc
    self.handle_page(docname, ctx, event_arg=doctree)
  File "/home/runner/work/sphinx-themes.org/sphinx-themes.org/build/hachibee-sphinx-theme/lib/python3.10/site-packages/sphinx/builders/html/__init__.py", line 1134, 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")