From 749ec05a03d673912b09e795b16628098dff71df Mon Sep 17 00:00:00 2001 From: Christopher Pickering Date: Thu, 19 Jan 2023 13:11:34 -0600 Subject: [PATCH] fix(docs): fixed doc build --- build_demo.sh | 2 -- docs/src/static/js/worker.js | 7 ++----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/build_demo.sh b/build_demo.sh index 9a892c0..7a6be35 100755 --- a/build_demo.sh +++ b/build_demo.sh @@ -11,8 +11,6 @@ mv cssbeautifier* cssbeautifier-99-py3-none-any.whl mv EditorConfig* EditorConfig-99-py3-none-any.whl mv html_tag_names* html_tag_names-99-py3-none-any.whl mv html_void_elements* html_void_elements-99-py3-none-any.whl -mv importlib_metadata* importlib_metadata-99-py3-none-any.whl mv jsbeautifier* jsbeautifier-99-py3-none-any.whl mv pathspec* pathspec-99-py3-none-any.whl mv PyYAML* PyYAML-99-py3-none-any.whl -mv zipp* zipp-99-py3-none-any.whl diff --git a/docs/src/static/js/worker.js b/docs/src/static/js/worker.js index 1b0f8f3..35ef40d 100644 --- a/docs/src/static/js/worker.js +++ b/docs/src/static/js/worker.js @@ -19,17 +19,15 @@ async function loadPyodideAndPackages() { `${origin}/static/py/EditorConfig-99-py3-none-any.whl`, `${origin}/static/py/html_tag_names-99-py3-none-any.whl`, `${origin}/static/py/html_void_elements-99-py3-none-any.whl`, - `${origin}/static/py/importlib_metadata-99-py3-none-any.whl`, `${origin}/static/py/jsbeautifier-99-py3-none-any.whl`, `${origin}/static/py/pathspec-99-py3-none-any.whl`, `${origin}/static/py/PyYAML-99-py3-none-any.whl`, - `${origin}/static/py/zipp-99-py3-none-any.whl`, ]); postMessage({ type: 'status', message: - 'Installing djlint, click, colorama, cssbeautifier, editorconfig, html_tag_names, html_void_elements, importlib_metadata, jsbeautifier, pathspec, pyyaml, zipp ..', + 'Installing djlint, click, colorama, cssbeautifier, editorconfig, html_tag_names, html_void_elements, jsbeautifier, pathspec, pyyaml ..', }); await self.pyodide.loadPackage('regex'); postMessage({ type: 'status', message: 'Installing regex..' }); @@ -42,8 +40,7 @@ async function loadPyodideAndPackages() { postMessage({ type: 'version', - message: - pyodide.runPython(` + message: pyodide.runPython(` import platform from importlib import metadata f"running with Python {platform.python_version()}; djLint {metadata.version('djlint')}"