fix: static build resources deletion and clean up
This commit is contained in:
parent
20d812971f
commit
6bb23a7b47
3 changed files with 2 additions and 66 deletions
|
@ -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
|
# 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" {} \+
|
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 ..
|
cd ..
|
||||||
done
|
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
|
sed -E -i "s%data-lang-switch=\"([a-z]{2})\".+href\=\".*\"%href\=\"/\1/$pathM\"%g" $path
|
||||||
done
|
done
|
||||||
|
|
||||||
# remove assets
|
|
||||||
rm -r *.woff dist imgs
|
|
||||||
find ./ -name '*.orig' -delete
|
find ./ -name '*.orig' -delete
|
||||||
|
|
||||||
# change the path of all assets
|
# change the path of all assets
|
||||||
|
|
33
wikidata.txt
33
wikidata.txt
|
@ -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
|
|
||||||
|
|
31
wow.css
31
wow.css
|
@ -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;
|
|
||||||
}
|
|
Loading…
Reference in a new issue