fix(docs): fixed doc build

This commit is contained in:
Christopher Pickering 2023-01-19 13:11:34 -06:00
parent 70e4220c93
commit 749ec05a03
No known key found for this signature in database
GPG key ID: E14DB3B0A0FACF84
2 changed files with 2 additions and 7 deletions

View file

@ -11,8 +11,6 @@ mv cssbeautifier* cssbeautifier-99-py3-none-any.whl
mv EditorConfig* EditorConfig-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_tag_names* html_tag_names-99-py3-none-any.whl
mv html_void_elements* html_void_elements-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 jsbeautifier* jsbeautifier-99-py3-none-any.whl
mv pathspec* pathspec-99-py3-none-any.whl mv pathspec* pathspec-99-py3-none-any.whl
mv PyYAML* PyYAML-99-py3-none-any.whl mv PyYAML* PyYAML-99-py3-none-any.whl
mv zipp* zipp-99-py3-none-any.whl

View file

@ -19,17 +19,15 @@ async function loadPyodideAndPackages() {
`${origin}/static/py/EditorConfig-99-py3-none-any.whl`, `${origin}/static/py/EditorConfig-99-py3-none-any.whl`,
`${origin}/static/py/html_tag_names-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/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/jsbeautifier-99-py3-none-any.whl`,
`${origin}/static/py/pathspec-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/PyYAML-99-py3-none-any.whl`,
`${origin}/static/py/zipp-99-py3-none-any.whl`,
]); ]);
postMessage({ postMessage({
type: 'status', type: 'status',
message: 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'); await self.pyodide.loadPackage('regex');
postMessage({ type: 'status', message: 'Installing regex..' }); postMessage({ type: 'status', message: 'Installing regex..' });
@ -42,8 +40,7 @@ async function loadPyodideAndPackages() {
postMessage({ postMessage({
type: 'version', type: 'version',
message: message: pyodide.runPython(`
pyodide.runPython(`
import platform import platform
from importlib import metadata from importlib import metadata
f"running with Python {platform.python_version()}; djLint {metadata.version('djlint')}" f"running with Python {platform.python_version()}; djLint {metadata.version('djlint')}"