Skip to content

Commit 2de2e80

Browse files
committed
rename files
1 parent c6dcd7e commit 2de2e80

File tree

73 files changed

+121
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+121
-1
lines changed

docs/.nojekyll

Whitespace-only changes.

docs/README.md

Lines changed: 9 additions & 0 deletions

docs/_sidebar.md

Lines changed: 69 additions & 0 deletions

docs/index.html

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<title>LeetCode-Java</title>
6+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
7+
<meta name="description" content="Description">
8+
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
9+
<link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css">
10+
</head>
11+
<body>
12+
<div id="app"></div>
13+
<script>
14+
window.$docsify = {
15+
name: '',
16+
repo: ''
17+
}
18+
</script>
19+
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
20+
<script>
21+
window.$docsify = {
22+
loadSidebar: true,
23+
name: 'LeetCode-Java'
24+
};
25+
</script>
26+
<script src="//unpkg.com/docsify"></script>
27+
<script src="//unpkg.com/docsify"></script>
28+
</body>
29+
</html>

markdown/0071. Simplify Path.md renamed to docs/markdown/0071. Simplify Path.md

Lines changed: 1 addition & 1 deletion

print.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/bash
2+
# get all filename in specified path
3+
SAVEIFS=$IFS
4+
IFS=$'\n' # make newlines the only separator
5+
path=$1
6+
files=$(ls $path)
7+
echo "" >./docs/_sidebar.md
8+
for j in $files; do
9+
name=${j:0:$((${#j} - 0 - 3))}
10+
url=${name// /%20}
11+
printf "* [$name](markdown/%s)\n" "$url" >>./docs/_sidebar.md
12+
done
13+
IFS=$SAVEIFS

0 commit comments

Comments
 (0)