Compare commits

...

2 Commits

Author SHA1 Message Date
Misite Bao 7670273d43 feat(website): init the website 2023-05-30 16:57:54 +08:00
Lea Anthony a15c0a5441 [v3] Website skeleton 2023-05-30 16:56:35 +08:00
25 changed files with 365 additions and 0 deletions
+1
View File
@@ -6,3 +6,4 @@ cmd/wails/wails
/examples/menu/menu
/examples/clipboard/clipboard
/examples/plain/plain
/website/venv/
+1
View File
@@ -0,0 +1 @@
.hugo_build.lock
+2
View File
@@ -0,0 +1,2 @@
archetypes
content/zh-Hans
+6
View File
@@ -0,0 +1,6 @@
overrides:
- files:
- "**/*.md"
options:
printWidth: 80
proseWrap: always
+1
View File
@@ -0,0 +1 @@
# Website
+60
View File
@@ -0,0 +1,60 @@
# https://taskfile.dev
version: "3"
tasks:
install:
desc: Setup Hugo
cmds:
- go install github.com/gohugoio/hugo@latest
update-theme:
dir: ../../
cmds:
- git subtree pull --prefix v3/website/themes/hugo-theme-misidoc https://github.com/misix-themes/hugo-theme-misidoc.git main --squash
default:
desc: Preview Website
deps:
- install
- crowdin:update-translation-progress
aliases:
- start
- dev
cmds:
- hugo serve -D
build:
desc: Build Website
deps:
- install
- crowdin:update-translation-progress
cmds:
- hugo
format:md:
desc: Format Markdown files
cmds:
- npx prettier --write '**/*.md'
format:
desc: Format all files
cmds:
- task: format:md
crowdin:push:
desc: Upload source files to Crowdin
cmds:
- npx crowdin push -b v3
crowdin:pull:
desc: Download approved translation files from Crowdin to local
cmds:
- npx crowdin pull -b v3 --export-only-approved
crowdin:update-translation-progress:
desc: Get translation progress data
dir: tools/update-translation-progress
aliases:
- crowdin:utp
cmds:
- go run main.go
+6
View File
@@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---
+6
View File
@@ -0,0 +1,6 @@
---
title: ""
date: 2023-05-26T18:16:37+08:00
draft: true
---
+6
View File
@@ -0,0 +1,6 @@
---
title: "Blog"
date: 2023-05-26T18:53:21+08:00
draft: true
---
+6
View File
@@ -0,0 +1,6 @@
---
title: "Changelog"
date: 2023-05-26T18:48:47+08:00
draft: true
---
+5
View File
@@ -0,0 +1,5 @@
---
title: "Code Of Conduct"
date: 2023-05-26T19:20:28+08:00
draft: true
---
+6
View File
@@ -0,0 +1,6 @@
---
title: "Community Guide"
date: 2023-05-26T19:20:22+08:00
draft: true
---
@@ -0,0 +1,6 @@
---
title: "Community"
date: 2023-05-26T18:59:39+08:00
draft: true
---
@@ -0,0 +1,6 @@
---
title: "Guide"
date: 2023-05-26T18:58:19+08:00
draft: true
---
@@ -0,0 +1,5 @@
---
title: "Introduction"
date: 2023-05-26T18:15:57+08:00
draft: true
---
+6
View File
@@ -0,0 +1,6 @@
---
title: "FAQ"
date: 2023-05-26T18:51:29+08:00
draft: true
---
+6
View File
@@ -0,0 +1,6 @@
---
title: "Showcase"
date: 2023-05-26T18:52:18+08:00
draft: true
---
+6
View File
@@ -0,0 +1,6 @@
---
title: "Sponsor"
date: 2023-05-26T19:19:24+08:00
draft: true
---
+6
View File
@@ -0,0 +1,6 @@
---
title: "Team"
date: 2023-05-26T19:19:02+08:00
draft: true
---
+9
View File
@@ -0,0 +1,9 @@
project_id: "531392"
api_token_env: CROWDIN_PERSONAL_TOKEN
preserve_hierarchy: true
files:
- source: /content/en/**/*
translation: /content/%locale%/**/%original_file_name%
- source: /data/en/**/*
translation: /data/%locale%/**/%original_file_name%

Some files were not shown because too many files have changed in this diff Show More