From 79e6a8f22165158b3826c251db531ca06d180477 Mon Sep 17 00:00:00 2001 From: takana-v <44311840+takana-v@users.noreply.github.com> Date: Sat, 31 Dec 2022 19:09:39 +0900 Subject: [PATCH] =?UTF-8?q?generate=5Fapp=E9=96=A2=E6=95=B0=E3=81=AE?= =?UTF-8?q?=E5=BC=95=E6=95=B0=E5=A2=97=E5=8A=A0=E3=81=AB=E5=AF=BE=E5=BF=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- make_docs.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/make_docs.py b/make_docs.py index 28ee1d942..d10bd1aa4 100644 --- a/make_docs.py +++ b/make_docs.py @@ -2,6 +2,7 @@ from voicevox_engine.dev.core import mock as core from voicevox_engine.dev.synthesis_engine.mock import MockSynthesisEngine +from voicevox_engine.setting import USER_SETTING_PATH, SettingLoader if __name__ == "__main__": import run @@ -9,6 +10,7 @@ app = run.generate_app( synthesis_engines={"mock": MockSynthesisEngine(speakers=core.metas())}, latest_core_version="mock", + setting_loader=SettingLoader(USER_SETTING_PATH), ) with open("docs/api/index.html", "w") as f: f.write(