We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48f871f commit 8abde45Copy full SHA for 8abde45
.gitignore
@@ -1 +1 @@
1
-/output
+/.output
make_site_md.sh
@@ -0,0 +1,20 @@
+#!/bin/bash
2
+#-----------------------------------------------------
3
+# 把目录下所有 README.md 内容转换为 page 格式内容
4
+#
5
+# https://github.com/zhengxiaopeng/android-dev-bookmarks/blob/master/make_site_md.sh
6
7
+# Rocko(rocko.xyz)
8
9
+
10
+fileList=`ls -d */|sed 's|[/]||g'`
11
+output=".output/"
12
+rm -rf ${output}
13
+mkdir ${output}
14
15
+for file in ${fileList}
16
+do
17
+ echo ${file}
18
+ mkdir ${output}${file}
19
+ cp ${file}"/README.md" ${output}${file}"/index.md"
20
+done
0 commit comments