diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 23d3004..9d914f1 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -36,14 +36,14 @@ jobs: with: # Includes history for MkDocs plugin fetch-depth: 0 + + - name: Setup Pages + uses: actions/configure-pages@v5 - name: Hide redundant pages run: | sudo rm -f TEMPLATE.md sudo rm -f categories.md - - - name: Setup Pages - uses: actions/configure-pages@v5 - name: Generate HTML from Markdown uses: ldeluigi/markdown-docs@latest @@ -57,7 +57,7 @@ jobs: run: sudo find ./html -name "*.html" -type f -exec sed -i -r "s:\.md:\.html:g" {} \; - name: Remove hex names from Tokens dropdown - run: sudo find ./html -name "*.html" -type f -exec perl -0777pe "s/
  • \s*/ /s" {} \; + run: sudo find ./html -name "*.html" -type f -exec sed -e '1h;2,$H;$!d;g' -e 's:\s::g' -r -e 's:::g' test.txt {} \; - name: Upload artifact uses: actions/upload-pages-artifact@v3