소스 검색

ignore swp files

root 1 년 전
부모
커밋
dbdc9f6c92
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      README.md
  2. 1 0
      dockerbuild/dot_vuepress/config.js

+ 1 - 1
README.md

@@ -33,5 +33,5 @@ If the markdowns folder is empty,  the image will insert the following into the
 
 ## Building
 
-run.sh - build docker image kinisi/vuepress and push to docker,io
+dockerbuild/build.sh - build docker image kinisi/vuepress and push to docker,io
 

+ 1 - 0
dockerbuild/dot_vuepress/config.js

@@ -51,6 +51,7 @@ let sidebar = [];
 tree.children.forEach(child => {
 	if (child.name == ".vuepress") return;
 	if (child.name == ".npmignore") return;
+	if (child.name.endsWith(".swp") ) return;
 	sidebar.push(transform_sidebar(child));
 });