mirror of
https://github.com/wavetermdev/wails.git
synced 2026-04-22 15:26:15 -07:00
Compare commits
2 Commits
v3-alpha
...
v3/website
| Author | SHA1 | Date | |
|---|---|---|---|
| 7670273d43 | |||
| a15c0a5441 |
@@ -6,3 +6,4 @@ cmd/wails/wails
|
||||
/examples/menu/menu
|
||||
/examples/clipboard/clipboard
|
||||
/examples/plain/plain
|
||||
/website/venv/
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
.hugo_build.lock
|
||||
@@ -0,0 +1,2 @@
|
||||
archetypes
|
||||
content/zh-Hans
|
||||
@@ -0,0 +1,6 @@
|
||||
overrides:
|
||||
- files:
|
||||
- "**/*.md"
|
||||
options:
|
||||
printWidth: 80
|
||||
proseWrap: always
|
||||
@@ -0,0 +1 @@
|
||||
# Website
|
||||
@@ -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
|
||||
@@ -0,0 +1,6 @@
|
||||
---
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
draft: true
|
||||
---
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
---
|
||||
title: ""
|
||||
date: 2023-05-26T18:16:37+08:00
|
||||
draft: true
|
||||
---
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
---
|
||||
title: "Blog"
|
||||
date: 2023-05-26T18:53:21+08:00
|
||||
draft: true
|
||||
---
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
---
|
||||
title: "Changelog"
|
||||
date: 2023-05-26T18:48:47+08:00
|
||||
draft: true
|
||||
---
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
title: "Code Of Conduct"
|
||||
date: 2023-05-26T19:20:28+08:00
|
||||
draft: true
|
||||
---
|
||||
@@ -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
|
||||
---
|
||||
@@ -0,0 +1,6 @@
|
||||
---
|
||||
title: "FAQ"
|
||||
date: 2023-05-26T18:51:29+08:00
|
||||
draft: true
|
||||
---
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
---
|
||||
title: "Showcase"
|
||||
date: 2023-05-26T18:52:18+08:00
|
||||
draft: true
|
||||
---
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
---
|
||||
title: "Sponsor"
|
||||
date: 2023-05-26T19:19:24+08:00
|
||||
draft: true
|
||||
---
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
---
|
||||
title: "Team"
|
||||
date: 2023-05-26T19:19:02+08:00
|
||||
draft: true
|
||||
---
|
||||
|
||||
@@ -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
Reference in New Issue
Block a user