From adeb344a859146b07a0161bab551ee6ae859b043 Mon Sep 17 00:00:00 2001 From: Araozu Date: Wed, 25 Oct 2023 21:17:47 -0500 Subject: [PATCH] jenkins --- .gitignore | 2 +- Jenkinsfile.groovy | 4 +--- static/css/prism.min.css | 3 +++ 3 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 static/css/prism.min.css diff --git a/.gitignore b/.gitignore index a38adbe..597f9e4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ node_modules -static/css +static/css/out.css static/learn diff --git a/Jenkinsfile.groovy b/Jenkinsfile.groovy index 3010183..4312b93 100644 --- a/Jenkinsfile.groovy +++ b/Jenkinsfile.groovy @@ -21,9 +21,7 @@ pipeline { PATH = "${env.WORKSPACE}/node_modules/.bin:${env.PATH}" } steps { - sh 'echo $PATH' - sh 'ls /var/lib/jenkins/workspace/thp-docs/node_modules/.bin' - sh 'bun tailwind:build' + sh 'tailwindcss -i ./tailwind.css -o ./static/css/out.css --minify' sh 'md-docs' } } diff --git a/static/css/prism.min.css b/static/css/prism.min.css new file mode 100644 index 0000000..2e68022 --- /dev/null +++ b/static/css/prism.min.css @@ -0,0 +1,3 @@ +/* PrismJS 1.29.0 +https://prismjs.com/download.html#themes=prism */ +code[class*=language-],pre[class*=language-]{color:#000;background:0 0;text-shadow:0 1px #fff;font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}code[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection{text-shadow:none;background:#b3d4fc}code[class*=language-] ::selection,code[class*=language-]::selection,pre[class*=language-] ::selection,pre[class*=language-]::selection{text-shadow:none;background:#b3d4fc}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#f5f2f0}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#708090}.token.punctuation{color:#999}.token.namespace{opacity:.7}.token.boolean,.token.constant,.token.deleted,.token.number,.token.property,.token.symbol,.token.tag{color:#905}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#690}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url{color:#9a6e3a;background:hsla(0,0%,100%,.5)}.token.atrule,.token.attr-value,.token.keyword{color:#07a}.token.class-name,.token.function{color:#dd4a68}.token.important,.token.regex,.token.variable{color:#e90}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help} \ No newline at end of file