Skip to content

Commit

Permalink
chore: use idoc build website.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed May 10, 2022
1 parent 3899f86 commit c7ac0f2
Show file tree
Hide file tree
Showing 11 changed files with 59 additions and 171 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
node-version: 14

- run: npm install
- run: npm run create:html
- run: npm run build
- run: npm run create:ast

- name: Deploy
Expand All @@ -26,14 +26,13 @@ jobs:

- name: Create Tag
id: create_tag
uses: jaywcjlove/create-tag-action@v1.2.1
uses: jaywcjlove/create-tag-action@v1.3.6
with:
token: ${{ secrets.GITHUB_TOKEN }}
package-path: ./package.json

- name: Generate Changelog
id: changelog
uses: jaywcjlove/changelog-generator@v1.4.8
uses: jaywcjlove/changelog-generator@v1.5.3
with:
token: ${{ secrets.GITHUB_TOKEN }}
head-ref: ${{steps.create_tag.outputs.version}}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
node_modules/
dist/*.html
dist/*.json
dist
npm-debug.log*
package-lock.json

Expand Down
9 changes: 9 additions & 0 deletions README-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ Awesome Mac
![App Store][app-store Icon] 表示 **App store** 连接地址;\
![Awesome List][awesome-list Icon] 表示项目的相应 **Awesome list** 的超链接;

<!--idoc:ignore:start-->

## 目录

- [Awesome Mac](#awesome-mac)
Expand Down Expand Up @@ -81,6 +83,7 @@ Awesome Mac
- [License](#license)

<!--start-->
<!--idoc:ignore:end-->

## 开发者工具

Expand Down Expand Up @@ -1054,3 +1057,9 @@ Support this project by becoming a sponsor. Your logo will show up here with a l
[![Creative Commons License](http://i.creativecommons.org/l/by/4.0/88x31.png)](https://creativecommons.org/licenses/by/4.0/)

This work is licensed under a [Creative Commons Attribution 4.0 International License](http://creativecommons.org/licenses/by/4.0/).Ax


<!--idoc:config:
title: Awesome Mac 应用分享推荐 -
description: 收集分享大量非常好用的Mac应用程序、软件以及工具,主要面向开发者和设计师。 - Awesome Mac
-->
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ Any comments, suggestions? [Let us know!](https://github.com/jaywcjlove/awesome-

[![Get it on macOS](http://jaywcjlove.github.io/sb/download/macos.svg)](https://github.com/jaywcjlove/amac/releases)

<!--idoc:ignore:start-->

## Contents

- [Awesome Mac](#awesome-mac)
Expand Down Expand Up @@ -96,6 +98,7 @@ Any comments, suggestions? [Let us know!](https://github.com/jaywcjlove/awesome-
- [License](#license)

<!--start-->
<!--idoc:ignore:end-->

## Reading and Writing Tools

Expand Down Expand Up @@ -1100,3 +1103,9 @@ This work is licensed under a [Creative Commons Attribution 4.0 International Li
[Freeware Icon]: https://jaywcjlove.github.io/sb/ico/min-free.svg "Freeware"
[app-store Icon]: https://jaywcjlove.github.io/sb/ico/min-app-store.svg "App Store Software"
[awesome-list Icon]: https://jaywcjlove.github.io/sb/ico/min-awesome.svg "Awesome List"


<!--idoc:config:
title: Awesome Mac application sharing recommendation -
description: A curated list of awesome applications, softwares, tools and shiny things for Mac osx. - Awesome Mac
-->
2 changes: 1 addition & 1 deletion build/ast.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { toVFile } from 'to-vfile'
import remark from 'remark'
import { remark } from 'remark'
import gfm from 'remark-gfm'
import FS from 'fs-extra'

Expand Down
154 changes: 0 additions & 154 deletions build/create.mjs

This file was deleted.

11 changes: 6 additions & 5 deletions editor-plugin-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Editors Plugin
## Atom Plugin

* 通用

* [relative-numbers](https://atom.io/packages/relative-numbers) - 显示相对行号。
* [trailing-spaces](https://atom.io/packages/trailing-spaces) - 高亮多余的空格。
* [terminal-plus](https://atom.io/packages/terminal-plus) - 内嵌式全功能控制台。
Expand All @@ -29,9 +28,7 @@ Editors Plugin
* [project-plus](https://atom.io/packages/project-plus) - 项目管理, 可以快速切换不同项目,多项目同时工作利器。
* [regex-railroad-diagram](https://atom.io/packages/regex-railroad-diagram) - 可以图形化显示正则表达式。
* [tree-view-search-bar](https://atom.io/packages/tree-view-search-bar/) - 文件列表快速查找工具。

* 前端

* [Nuclide](http://nuclide.io) - 用于编写 React Native,代码提示各种很厉害的样子。[![Open-Source Software][OSS Icon]](https://github.com/facebook/nuclide)
* [TypeScript](https://github.com/TypeStrong/atom-typescript) - 支持TypeScript编译。
* [Emmet](https://atom.io/packages/emmet) - 快速编写HTML。
Expand All @@ -42,9 +39,7 @@ Editors Plugin
* [pigments](https://atom.io/packages/pigments) - 把你文件中的颜色代码展示出来。
* [atom-html-preview](https://atom.io/packages/atom-html-preview) - 内置Chrome浏览器写移动端非常棒。
* [tree-view-copy-relative-path](https://atom.io/packages/tree-view-copy-relative-path) - 可以跟当前文件输出目标文件的相对路径,适合多文件相互调用。

* Python

* [autocomplete-python](https://atom.io/packages/autocomplete-python) - 对Python提示进行增强。
* [linter-flake8](https://atom.io/packages/linter-flake8) - Python 语法检查。
* [python-tools](https://atom.io/packages/python-tools) - 一些有用的 Python 开发工具集。
Expand Down Expand Up @@ -138,3 +133,9 @@ Editors Plugin
[OSS Icon]: https://jaywcjlove.github.io/sb/ico/min-oss.svg
[Freeware Icon]: https://jaywcjlove.github.io/sb/ico/min-free.svg
[app-store Icon]: https://jaywcjlove.github.io/sb/ico/min-app-store.svg


<!--idoc:config:
title: Editors Plugin 分享推荐 -
description: Editors Plugin 分享推荐 - Awesome Mac
-->
5 changes: 5 additions & 0 deletions editor-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,8 @@ Editors Plugin
[OSS Icon]: https://jaywcjlove.github.io/sb/ico/min-oss.svg
[Freeware Icon]: https://jaywcjlove.github.io/sb/ico/min-free.svg
[app-store Icon]: https://jaywcjlove.github.io/sb/ico/min-app-store.svg

<!--idoc:config:
title: Editors Plugin Sharing Recommendation -
description: Editors Plugin Sharing Recommendation - Awesome Mac
-->
14 changes: 14 additions & 0 deletions idoc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
site: Awesome Mac

description:  This repo is a collection of awesome Mac applications and tools for developers and designers.
keywords: mac,osx,app,softwares,applications,mac softwares,awesome mac,free softwares,Freeware

favicon: ./logo.svg
logo: ./logo.svg

dir: ./doc

sideEffectFiles:
- README-zh.md
- editor-plugin.md
- editor-plugin-zh.md
3 changes: 3 additions & 0 deletions logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
"homepage": "https://jaywcjlove.github.io/awesome-mac",
"main": "dist/awesome-mac.json",
"scripts": {
"start": "npm run create:html && npm run create:ast",
"create:html": "node build/create.mjs",
"start": "npm run build && npm run create:ast",
"doc": "idoc --watch",
"build": "idoc",
"create:ast": "node build/ast.mjs"
},
"repository": {
Expand All @@ -30,10 +31,10 @@
"url": "https://github.com/jaywcjlove/awesome-mac/issues"
},
"devDependencies": {
"fs-extra": "10.0.0",
"remark": "13.0.0",
"remark-gfm": "1.0.0",
"markdown-to-html-cli": "3.1.5",
"to-vfile": "7.0.0"
"fs-extra": "^10.1.0",
"idoc": "^1.18.0",
"remark": "^14.0.2",
"remark-gfm": "^3.0.1",
"to-vfile": "^7.2.3"
}
}

0 comments on commit c7ac0f2

Please sign in to comment.