From 6bb23a7b47b0b1b5a18f9889e50930eb8a76354c Mon Sep 17 00:00:00 2001 From: Matthieu Bessat Date: Thu, 14 Jul 2022 18:51:00 +0200 Subject: [PATCH] fix: static build resources deletion and clean up --- static_build.sh | 4 ++-- wikidata.txt | 33 --------------------------------- wow.css | 31 ------------------------------- 3 files changed, 2 insertions(+), 66 deletions(-) delete mode 100644 wikidata.txt delete mode 100755 wow.css diff --git a/static_build.sh b/static_build.sh index 3e9ee5d..1ec09cb 100755 --- a/static_build.sh +++ b/static_build.sh @@ -32,6 +32,8 @@ for locale in "${locales[@]}"; do # for each file other than index.html, put a proper link back to the main page find ./ -not -name "index.html" -name "*.html" -exec sed -E -i "s/\"(\.\.\/)?$locale\.html/\"\1index.html/g" {} \+ + # remove assets + rm -rv *.woff dist imgs cd .. done @@ -45,8 +47,6 @@ for path in $(find ./ -name "*.html"); do sed -E -i "s%data-lang-switch=\"([a-z]{2})\".+href\=\".*\"%href\=\"/\1/$pathM\"%g" $path done -# remove assets -rm -r *.woff dist imgs find ./ -name '*.orig' -delete # change the path of all assets diff --git a/wikidata.txt b/wikidata.txt deleted file mode 100644 index 8956140..0000000 --- a/wikidata.txt +++ /dev/null @@ -1,33 +0,0 @@ -Q11707176 Cascading Style Sheets Level 3 style sheet language -Q2053 HTML5 fifth and current version of the hypertext markup language for structuring and presenting content for the World Wide Web -Q230036 jQuery JavaScript library -Q756100 Node.js JavaScript runtime environment -Q49007 yarn long continuous length of interlocked fibers -Q22909730 webpack open-source JavaScript module bundler -Q1572865 Sass Syntactically Awesome StyleSheets stylesheet language -no result -Q2225 electron subatomic particle with negative electric charge -Q28865 Python general-purpose programming language -Q5618801 Gunicorn web server -Q1537445 stevedore occupation of loading and unloading ships -Q411840 cadmium chloride chemical compound -Q306144 nginx open source web server and a reverse proxy server -Q81683 varnish transparent, hard, protective finish or film used in painting -Q4778915 Cloudflare Web infrastructure and website security company -Q787177 MariaDB Database management system, relational, open source, community developed fork of MySQL -Q1165204 MongoDB cross-platform document-oriented database -Q105097049 Curator tool to tend Elasticsearch indices -Q2136322 Redis NoSQL database management software -Q17193 Philippine peso official currency of the Philippines -Q108740058 API Platform -Q36834 composer musician who is an author of music in any form; person who creates music, either by musical notation or oral tradition -no result -Q13634357 Laravel open source web application framework, written in PHP -Q1322933 Symfony PHP web application framework for MVC applications -no result -Q24589705 Vue.js JavaScript framework -Q55641291 Nuxt.js JavaScript framework -no result -Q11413 go board game for two players that originated in China more than 2,500 years ago -Q16878131 Express.js JavaScript framework - diff --git a/wow.css b/wow.css deleted file mode 100755 index 5dd28fc..0000000 --- a/wow.css +++ /dev/null @@ -1,31 +0,0 @@ -.leftsidebar .level1 { - margin-left: 0.35rem; -} -.leftsidebar .level1 .li { - display: flex; - align-items: center; -} -.leftsidebar .level1 .li .material-icons { - margin-right: .75rem; -} -#dw__login .simple { - display: flex; - justify-content: center; - align-items: center; - margin-top: 4em; - width: 10em; - margin-bottom: 1em !important; -} -#dw__login #remember__me { - margin-top: 0 !important; - margin-left: 0.5em; -} -#dw__login #remember__me { - width: 4em; -} -#dw__login .block span { - margin-left: 0.5rem; -} -#dw__login label:nth-of-type(2) { - margin-top: 2.9rem; -}