forked from wechaty/jekyll
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move jekyll to its own folder (#502)
* move jekyll related files to jekyll/ folder * seperate gitignore to jekyll * fix script to use new jekyll folder * add sitemap index * fix names * 0.6.0 * 0.6.1 * add make install * 0.6.2
- Loading branch information
Showing
1,138 changed files
with
85 additions
and
1,020 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,19 @@ | ||
{ | ||
"rules": { | ||
"_posts": [ | ||
"^_posts/", | ||
"jekyll/_posts": [ | ||
"/[0-9\\-a-z]+\\.", | ||
"\\.md$" | ||
], | ||
"assets": [ | ||
"^assets/", | ||
"jekyll/assets": [ | ||
"/[0-9\\-a-z]+\\.", | ||
"\\.(jpg|jpeg|png|gif|webp|zip|pdf|docx|doc|txt)$" | ||
] | ||
}, | ||
"ignore": [ | ||
"assets/js", | ||
"assets/css", | ||
"assets/images", | ||
"assets/developers/wechaty", | ||
"jekyll/assets/js", | ||
"jekyll/assets/css", | ||
"jekyll/assets/images", | ||
"jekyll/assets/developers/wechaty", | ||
"tests/fixtures" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,29 @@ | ||
# Makefile for awesome-chatboot | ||
# Author: Huan LI <[email protected]> github.com/huan | ||
# Makefile for wechaty.js.org | ||
# Author: Huan LI <[email protected]> https://github.com/huan | ||
|
||
.PHONY: all | ||
all: serve | ||
all: install | ||
|
||
.PHONY: install | ||
install: | ||
gem install bundler | ||
bundle install && bundle update | ||
cd jekyll && sudo make install | ||
npm install | ||
|
||
.PHONY: test | ||
test: | ||
npm run test | ||
|
||
.PHONY: code | ||
code: | ||
code . | ||
|
||
.PHONY: clean | ||
clean: | ||
rm -fr _site | ||
rm -fr jekyll/_site/ | ||
rm -fr docusaurus/build/ | ||
rm -fr new-gh-pages/ | ||
|
||
.PHONY: build | ||
build: | ||
bundle exec jekyll build | ||
|
||
.PHONY: serve | ||
serve: | ||
bundle exec jekyll serve --incremental | ||
|
||
.PHONY: docker | ||
docker: | ||
docker-compose -f config/docker-compose.yml up | ||
cd jekyll && make build | ||
cd docusaurus && npm run build | ||
|
||
.PHONY: fit-image | ||
fit-image: | ||
./scripts/fit-image.sh assets/ | ||
./scripts/fit-image.sh jekyll/assets/ |
Oops, something went wrong.