Dokumentasi Offline Semantic UI

Instalasi dokumentasi offline Semantic Ui, agar bisa dibaca tanpa perlu koneksi internet.

Sebelumnya pastikan PC sudah tersedia NodeJs dan npm.

Kemudian clone repository Semantic UI dan Semantic UI Docs

mkdir semantic-ui
cd semantic-ui
git clone https://github.com/Semantic-Org/Semantic-UI.git
git clone https://github.com/Semantic-Org/Semantic-UI-Docs.git
mv Semantic-UI-Docs docs

Jika ingin merubah folder docs ganti konfigurasi pada file Semantic-UI/tasks/config/docs.js

output: {
examples : ‘../docs/out/examples/’,
less : ‘../docs/out/src/’,
metadata : ‘../docs/out/’,
packaged : ‘../docs/out/dist/’,
uncompressed : ‘../docs/out/dist/components/’,
compressed : ‘../docs/out/dist/components/’,
themes : ‘../docs/out/dist/themes/’
},

Masuk ke folder docs, dan install docpad. Jika menggunakan linux, tambahkan sudo npm install -g docpad.

npm install -g docpad
docpad install eco;
docpad update; docpad upgrade;

Kembali ke folder Semantic-UI, jalankan

npm install
gulp build-docs

gulp build-docs akan menambahkan file ke folder ./docs/out

Setelah proses selesai, jalankan server docs. Masuk ke folder ./docs, dan jalankan

docpad run

Update.

Menghindari error saat kompilasi Semantic UI v2.2.13 repositary gulp-prompt pada package.json,

"gulp-prompt": "https://github.com/Semantic-Org/gulp-prompt""
One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.