diff --git a/README.md b/README.md
index 879e04b..2f84bc7 100644
--- a/README.md
+++ b/README.md
@@ -17,11 +17,52 @@ cd vss
v vss.v
```
-## Use
+## Usage
+
+Setup contents
+```
+❯ tree
+.
+├── index.md
+└── vss (executable)
+
+❯ cat index.md
+# Open Sea
+
+A static site generator
+
+- [GitHub](https://github.com/zztkm)
+
+```
Build your site
```
vss
```
-Output
\ No newline at end of file
+Output
+```
+❯ tree
+.
+├── dist
+│ └── index.html
+├── index.md
+└── vss
+
+1 directory, 3 files
+
+❯ cat dist/index.html
+
+
+
+
+ tsurutatakumi.info
+
+
+ Open Sea
+A static site generator
+
+
+```
\ No newline at end of file
diff --git a/index.md b/example/index.md
similarity index 50%
rename from index.md
rename to example/index.md
index 1d2e85d..74b2f0b 100644
--- a/index.md
+++ b/example/index.md
@@ -2,4 +2,4 @@
A static site generator
-- [GitHub](https://github.com/zztkm)
\ No newline at end of file
+- [GitHub](https://github.com/zztkm)
diff --git a/template/template.v b/template/template.v
index 94e9817..8267d56 100644
--- a/template/template.v
+++ b/template/template.v
@@ -1,3 +1,7 @@
+/*
+何も作ってない
+*/
+
module template
struct Template {
diff --git a/v.mod b/v.mod
index d179f26..c306434 100644
--- a/v.mod
+++ b/v.mod
@@ -1,7 +1,7 @@
Module {
name: 'vss'
description: 'static site generator'
- version: '0.0.0'
+ version: '0.0.1'
license: 'MIT'
dependencies: [markdown]
}
diff --git a/vss.v b/vss.v
index 3b0fb50..9fe5e1f 100644
--- a/vss.v
+++ b/vss.v
@@ -11,7 +11,7 @@ const default_dist = 'dist'
fn main() {
mut app := cli.Command{
name: 'vss'
- version: '0.0.0'
+ version: '0.0.1'
description: 'static site generator'
execute: fn (cmd cli.Command) ? {
generate_index_page()?
@@ -28,15 +28,6 @@ fn get_paths(path string) []string {
}
fn generate_index_page() ? {
- paths := get_paths('testfiles')
- if paths.len == 0 {
- println('Cloud not retrieve path')
- return
- }
- for path in paths {
- println(path)
- }
-
index_md := os.read_file(default_index)?
// for $tmpl value