📝 udpate caution msg

main
zztkm 2 years ago
parent 700a4dfbec
commit 9612ccfb2d

@ -1,7 +1,7 @@
# vss # vss
vss is an easy to use static site generator. vss is an easy to use static site generator. With `layout/index.html`, Markdown
With `layout/index.html`, Markdown content, and a little configuration, you can easily build your website! content, and a little configuration, you can easily build your website!
- **Easy** to use - **Easy** to use
- Create site content with **Markdown** - Create site content with **Markdown**
@ -14,13 +14,13 @@ With `layout/index.html`, Markdown content, and a little configuration, you can
## Caution ## Caution
vss is still under development and the API is not stable. vss is still under development and the API is not stable. Be aware that
Be aware that destructive changes will be made if you use it! disruptive changes may be made!
## Installation ## Installation
### Get the binary ### Get the binary
Download from [Releases](https://github.com/zztkm/vss/releases) Download from [Releases](https://github.com/zztkm/vss/releases)
### Build from source ### Build from source
@ -53,10 +53,10 @@ Currently, be sure to configure the following
│ └── main.css │ └── main.css
└── js └── js
└── main.js └── main.js
``` ```
cat index.md cat index.md
```markdown ```markdown
# Open Sea # Open Sea
@ -67,14 +67,16 @@ A static site generator
[about page](./about.md) [about page](./about.md)
``` ```
cat config.toml cat config.toml
```toml ```toml
title = "Open Sea" title = "Open Sea"
description = "Takumi Tsuruta's home page" description = "Takumi Tsuruta's home page"
baseUrl = 'https://zztkm.github.io/vss/' baseUrl = 'https://zztkm.github.io/vss/'
``` ```
cat layouts/index.html cat layouts/index.html
```html ```html
<!DOCTYPE html> <!DOCTYPE html>
@ -91,11 +93,13 @@ baseUrl = 'https://zztkm.github.io/vss/'
``` ```
Build your site Build your site
``` ```
vss build vss build
``` ```
Output Output
``` ```
tree dist tree dist
dist dist
@ -107,7 +111,8 @@ dist
└── main.js └── main.js
``` ```
cat dist/index.html cat dist/index.html
```html ```html
<!DOCTYPE html> <!DOCTYPE html>
@ -130,4 +135,5 @@ dist
## Example ## Example
Examples can be found at the [example](https://github.com/zztkm/vss/tree/main/example) directory. Examples can be found at the
[example](https://github.com/zztkm/vss/tree/main/example) directory.

Loading…
Cancel
Save