Skip to content

Commit

Permalink
build: update pagic config
Browse files Browse the repository at this point in the history
  • Loading branch information
doodlewind committed Sep 29, 2020
1 parent d33bdeb commit 3bc435f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
curl -fsSL https://deno.land/x/install/install.sh | sh
export PATH="$DENO_INSTALL/bin:$PATH"
deno --version
deno upgrade --version 1.3.3
deno install --unstable --allow-env --allow-read --allow-write --allow-net -n pagic https://deno.land/x/[email protected].1/mod.ts
deno upgrade --version 1.4.2
deno install --unstable --allow-env --allow-read --allow-write --allow-net -n pagic https://deno.land/x/[email protected].3/mod.ts
pagic build
- name: Deploy
Expand Down
6 changes: 2 additions & 4 deletions pagic.config.tsx → pagic.config.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
// 使用方式:安装 Deno v1.3.3, Pagic v0.9.1
// curl -fsSL https://deno.land/x/install/install.sh | sh
// deno upgrade --version 1.3.3
// deno install --unstable --allow-read --allow-write --allow-net --name=pagic https://deno.land/x/pagic/mod.ts
// ~/.deno/bin/pagic build --serve --watch

export default {
srcDir: './',
exclude: [/\/demos\//, /\/public\//, /\/\./, /\/LICENSE/, /\/pagic\.config\.tsx/],
theme: 'docs',
plugins: ['sidebar', 'prev_next', 'script'],
plugins: ['sidebar', 'prev_next'],
title: 'JavaScript 20 年',
description: '由 JavaScript 之父 Brendan Eich 与 ES6 规范首席作者 Allen Wirfs-Brock 联合编写。',
description: '自 1995 年语言诞生到 2015 年 ES6 规范制定为止,共计 20 年的 JavaScript 语言演化经历。',
github: 'https://github.com/doodlewind/jshistory-cn',
nav: [
// { text: '阅读', link: '/' },
Expand Down

0 comments on commit 3bc435f

Please sign in to comment.