5a64b67d93192dcbe037dec6f9e606b7c72e3363
run-wiki.sh
| ... | ... | @@ -1 +1,5 @@ |
| 1 | +#!/bin/bash |
|
| 2 | + |
|
| 3 | +npx tailwindcss -i theme/css/tailwind.css -o uploads/tailwind.css -c tailwind.config.js |
|
| 4 | + |
|
| 1 | 5 | gollum --allow-uploads=dir --template-dir=templates --h1-title --css --adapter rugged |
tailwind.config.js
| ... | ... | @@ -0,0 +1,17 @@ |
| 1 | +module.exports = { |
|
| 2 | + purge: { |
|
| 3 | + enabled: true, |
|
| 4 | + content: ['./theme/*.hbs', './templates/*.mustache','./*.md', './chapters/*.md', './wiki/*.html', './book/*.html'], |
|
| 5 | + }, |
|
| 6 | + theme: { |
|
| 7 | + fontFamily: { |
|
| 8 | + spoqa: ["Spoqa Han Sans", 'sans-serif'] |
|
| 9 | + }, |
|
| 10 | + extend: {}, |
|
| 11 | + }, |
|
| 12 | + variants: {}, |
|
| 13 | + plugins: [], |
|
| 14 | + corePlugins: { |
|
| 15 | + preflight: false, |
|
| 16 | + } |
|
| 17 | +} |