diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9dc5f14..d278f5f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,27 +26,6 @@ jobs: - name: Setup Poetry uses: snok/install-poetry@v1 - - name: Update wheels in docs demo - run: | - # remove old wheels - rm -f docs/src/static/py/* - # build new wheels - poetry run pip wheel . -w docs/src/static/py - # rename wheels - cd docs/src/static/py - mv djlint* djlint-99-py3-none-any.whl - mv click* click-99-py3-none-any.whl - mv colorama* colorama-99-py3-none-any.whl - 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 - - name: Semantic Release uses: cycjimmy/semantic-release-action@v3 diff --git a/.releaserc b/.releaserc index 73937a5..ec9dc7d 100644 --- a/.releaserc +++ b/.releaserc @@ -6,7 +6,7 @@ "@semantic-release/changelog", "@semantic-release/npm", ["@semantic-release/exec", { - "prepareCmd" : "poetry version ${nextRelease.version}" + "prepareCmd" : "poetry version ${nextRelease.version}; ./build_demo.sh" }], ["@semantic-release/git", { "assets": ["package.json", "pyproject.toml", "docs"] diff --git a/build_demo.sh b/build_demo.sh new file mode 100755 index 0000000..9a892c0 --- /dev/null +++ b/build_demo.sh @@ -0,0 +1,18 @@ +# remove old wheels +rm -f docs/src/static/py/* +# build new wheels +poetry run pip wheel . -w docs/src/static/py +# rename wheels +cd docs/src/static/py +mv djlint* djlint-99-py3-none-any.whl +mv click* click-99-py3-none-any.whl +mv colorama* colorama-99-py3-none-any.whl +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/.eleventy.js b/docs/.eleventy.js index b4b4c35..7a43348 100644 --- a/docs/.eleventy.js +++ b/docs/.eleventy.js @@ -14,6 +14,8 @@ const i18n_func = require('eleventy-plugin-i18n/i18n.js'); const rollupper = require('./src/_utils/rollupper'); const { nodeResolve } = require('@rollup/plugin-node-resolve'); +process.setMaxListeners(0); + const slugifyCustom = (s) => slugify(s, { lower: true, remove: /[*+~.()'"!:@]/g }); diff --git a/docs/src/static/py/PyYAML-99-py3-none-any.whl b/docs/src/static/py/PyYAML-99-py3-none-any.whl index 6943b54..6537fb9 100644 Binary files a/docs/src/static/py/PyYAML-99-py3-none-any.whl and b/docs/src/static/py/PyYAML-99-py3-none-any.whl differ diff --git a/docs/src/static/py/cssbeautifier-99-py3-none-any.whl b/docs/src/static/py/cssbeautifier-99-py3-none-any.whl index 224dd9a..d7d2b5b 100644 Binary files a/docs/src/static/py/cssbeautifier-99-py3-none-any.whl and b/docs/src/static/py/cssbeautifier-99-py3-none-any.whl differ diff --git a/docs/src/static/py/djlint-99-py3-none-any.whl b/docs/src/static/py/djlint-99-py3-none-any.whl index 00e85f6..842f4d1 100644 Binary files a/docs/src/static/py/djlint-99-py3-none-any.whl and b/docs/src/static/py/djlint-99-py3-none-any.whl differ diff --git a/docs/src/static/py/jsbeautifier-99-py3-none-any.whl b/docs/src/static/py/jsbeautifier-99-py3-none-any.whl index 215025b..de7dd80 100644 Binary files a/docs/src/static/py/jsbeautifier-99-py3-none-any.whl and b/docs/src/static/py/jsbeautifier-99-py3-none-any.whl differ diff --git a/docs/src/static/py/regex-2022.10.31-cp310-cp310-macosx_10_9_x86_64.whl b/docs/src/static/py/regex-2022.10.31-cp310-cp310-macosx_10_9_x86_64.whl new file mode 100644 index 0000000..2a38392 Binary files /dev/null and b/docs/src/static/py/regex-2022.10.31-cp310-cp310-macosx_10_9_x86_64.whl differ diff --git a/docs/src/static/py/regex-2022.10.31-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl b/docs/src/static/py/regex-2022.10.31-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl deleted file mode 100644 index 59247dd..0000000 Binary files a/docs/src/static/py/regex-2022.10.31-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl and /dev/null differ