Skip to content

Commit

Permalink
chore: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
saturday06 committed Aug 31, 2024
1 parent 614a49c commit c3936c2
Show file tree
Hide file tree
Showing 30 changed files with 202 additions and 146 deletions.
8 changes: 1 addition & 7 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,7 @@
"customizations": {
"vscode": {
"settings": {
"python.testing.unittestArgs": [
"-v",
"-s",
".",
"-p",
"test_*.py"
],
"python.testing.unittestArgs": ["-v", "-s", ".", "-p", "test_*.py"],
"python.defaultInterpreterPath": "./.venv/bin/python",
"python.testing.pytestEnabled": false,
"python.testing.unittestEnabled": true
Expand Down
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/bug-report-ja_JP.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
name: バグ報告
about: バグ報告向けテンプレ
title: 'バグ報告: '
labels: ''
assignees: ''
title: "バグ報告: "
labels: ""
assignees: ""
---

## バグについて
Expand Down
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
name: Bug report
about: Create a report to help us improve
title: 'Bug report: '
labels: ''
assignees: ''
title: "Bug report: "
labels: ""
assignees: ""
---

## Describe the bug
Expand Down
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/feature-request-ja_JP.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
name: 新機能等の要望
about: 要望向けテンプレ
title: '要望: '
labels: ''
assignees: ''
title: "要望: "
labels: ""
assignees: ""
---

## バグじゃないけどアドオンの動作でなにか困ってることがあれば
Expand Down
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/feature-request.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
name: Feature request
about: Suggest an idea for this project
title: 'Feature request: '
labels: ''
assignees: ''
title: "Feature request: "
labels: ""
assignees: ""
---

## Is your feature request related to a problem? Please describe
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ permissions:
on:
push:
tags:
- '*_*_*'
- "*_*_*"

jobs:
release:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ permissions: {}
on:
push:
branches:
- '**'
- "**"
tags-ignore:
- '*_*_*'
- "*_*_*"
pull_request:
types: [opened, synchronize, reopened]

Expand Down Expand Up @@ -235,7 +235,7 @@ jobs:
VALIDATE_GO: false
VALIDATE_GO_MODULES: false
VALIDATE_HTML: false
VALIDATE_HTML_PRETTIER: false
VALIDATE_JAVASCRIPT_STANDARD: false
VALIDATE_JSCPD: false
VALIDATE_PYTHON_BLACK: false
VALIDATE_PYTHON_ISORT: false
Expand Down
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
!/.gitignore
!/.gitmodules
!/.markdownlint.yaml
!/.node-version
!/package.json
!/package-lock.json
!/.prettierrc
!/.prettierignore
!/LICENSE
!/LICENSE.*
!/Notice.txt
Expand Down Expand Up @@ -56,4 +61,5 @@ __pycache__/
/docs/website/.hugo_build.lock
/docs/website/public/
/docs/website/resources/_gen/
/node_modules/
/tests/test_generated_*
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/docs/website/layouts/**/*.html
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ VRM Add-on for Blender is an add-on to add VRM-related functions into Blender.

## Tutorials

| [Installation](https://vrm-addon-for-blender.info/en/installation?locale_redirection) | [Create Simple VRM](https://vrm-addon-for-blender.info/en/create-simple-vrm-from-scratch?locale_redirection) | [Create Humanoid VRM](https://vrm-addon-for-blender.info/en/create-humanoid-vrm-from-scratch?locale_redirection) |
| :---: | :---: | :---: |
| [Installation](https://vrm-addon-for-blender.info/en/installation?locale_redirection) | [Create Simple VRM](https://vrm-addon-for-blender.info/en/create-simple-vrm-from-scratch?locale_redirection) | [Create Humanoid VRM](https://vrm-addon-for-blender.info/en/create-humanoid-vrm-from-scratch?locale_redirection) |
| :--------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| <a href="https://vrm-addon-for-blender.info/en/installation?locale_redirection"><img width="200" src="https://vrm-addon-for-blender.info/images/installation.gif"></a> | <a href="https://vrm-addon-for-blender.info/en/create-simple-vrm-from-scratch?locale_redirection"><img width="200" src="https://vrm-addon-for-blender.info/images/simple.gif"></a> | <a href="https://vrm-addon-for-blender.info/en/create-humanoid-vrm-from-scratch?locale_redirection"><img width="200" src="https://vrm-addon-for-blender.info/images/humanoid.gif"></a> |
| **[Create Physics Based Material](https://vrm-addon-for-blender.info/en/material-pbr?locale_redirection)** | **[Create Anime Style Material](https://vrm-addon-for-blender.info/en/material-mtoon?locale_redirection)** | **[Automation with Python Scripts](https://vrm-addon-for-blender.info/en/scripting-api?locale_redirection)** |
| <a href="https://vrm-addon-for-blender.info/en/material-pbr?locale_redirection"><img width="200" src="https://vrm-addon-for-blender.info/images/material_pbr.gif"></a> | <a href="https://vrm-addon-for-blender.info/en/material-mtoon?locale_redirection"><img width="200" src="https://vrm-addon-for-blender.info/images/material_mtoon.gif"></a> | <a href="https://vrm-addon-for-blender.info/en/scripting-api?locale_redirection"><img width="200" src="https://vrm-addon-for-blender.info/images/scripting_api.gif"></a> |
| **[VRM Animation](https://vrm-addon-for-blender.info/en/animation?locale_redirection)** | **[Development How-To](https://vrm-addon-for-blender.info/en/development?locale_redirection)** | |
| <a href="https://vrm-addon-for-blender.info/en/animation?locale_redirection"><img width="200" src="https://vrm-addon-for-blender.info/images/animation.gif"></a> | <a href="https://vrm-addon-for-blender.info/en/development?locale_redirection"><img width="200" src="https://vrm-addon-for-blender.info/images/animation.gif"></a> | |
| **[Create Physics Based Material](https://vrm-addon-for-blender.info/en/material-pbr?locale_redirection)** | **[Create Anime Style Material](https://vrm-addon-for-blender.info/en/material-mtoon?locale_redirection)** | **[Automation with Python Scripts](https://vrm-addon-for-blender.info/en/scripting-api?locale_redirection)** |
| <a href="https://vrm-addon-for-blender.info/en/material-pbr?locale_redirection"><img width="200" src="https://vrm-addon-for-blender.info/images/material_pbr.gif"></a> | <a href="https://vrm-addon-for-blender.info/en/material-mtoon?locale_redirection"><img width="200" src="https://vrm-addon-for-blender.info/images/material_mtoon.gif"></a> | <a href="https://vrm-addon-for-blender.info/en/scripting-api?locale_redirection"><img width="200" src="https://vrm-addon-for-blender.info/images/scripting_api.gif"></a> |
| **[VRM Animation](https://vrm-addon-for-blender.info/en/animation?locale_redirection)** | **[Development How-To](https://vrm-addon-for-blender.info/en/development?locale_redirection)** | |
| <a href="https://vrm-addon-for-blender.info/en/animation?locale_redirection"><img width="200" src="https://vrm-addon-for-blender.info/images/animation.gif"></a> | <a href="https://vrm-addon-for-blender.info/en/development?locale_redirection"><img width="200" src="https://vrm-addon-for-blender.info/images/animation.gif"></a> | |

## Overview

Expand Down Expand Up @@ -58,7 +58,7 @@ New-Item -ItemType Junction -Path "$Env:APPDATA\Blender Foundation\Blender\BLEND
mklink /j "%APPDATA%\Blender Foundation\Blender\BLENDER_VERSION\scripts\addons\io_scene_vrm" src\io_scene_vrm
```

-----
---

<a name="ja_JP" />

Expand All @@ -75,13 +75,13 @@ BlenderにVRM関連機能を追加するアドオンです。

## チュートリアル

| [インストール方法](https://vrm-addon-for-blender.info/en/installation?locale_redirection) | [シンプルなVRMを作る](https://vrm-addon-for-blender.info/en/create-simple-vrm-from-scratch?locale_redirection) | [人型のVRMを作る](https://vrm-addon-for-blender.info/en/create-humanoid-vrm-from-scratch?locale_redirection) |
| :---: | :---: | :---: |
| [インストール方法](https://vrm-addon-for-blender.info/en/installation?locale_redirection) | [シンプルなVRMを作る](https://vrm-addon-for-blender.info/en/create-simple-vrm-from-scratch?locale_redirection) | [人型のVRMを作る](https://vrm-addon-for-blender.info/en/create-humanoid-vrm-from-scratch?locale_redirection) |
| :--------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| <a href="https://vrm-addon-for-blender.info/en/installation?locale_redirection"><img width="200" src="https://vrm-addon-for-blender.info/images/installation.gif"></a> | <a href="https://vrm-addon-for-blender.info/en/create-simple-vrm-from-scratch?locale_redirection"><img width="200" src="https://vrm-addon-for-blender.info/images/simple.gif"></a> | <a href="https://vrm-addon-for-blender.info/en/create-humanoid-vrm-from-scratch?locale_redirection"><img width="200" src="https://vrm-addon-for-blender.info/images/humanoid.gif"></a> |
| **[物理ベースのマテリアル設定](https://vrm-addon-for-blender.info/ja/material-pbr?locale_redirection)** | **[アニメ風のマテリアル設定](https://vrm-addon-for-blender.info/ja/material-mtoon?locale_redirection)** | **[Pythonスクリプトによる自動化](https://vrm-addon-for-blender.info/en/scripting-api?locale_redirection)** |
| <a href="https://vrm-addon-for-blender.info/en/material-pbr?locale_redirection"><img width="200" src="https://vrm-addon-for-blender.info/images/material_pbr.gif"></a> | <a href="https://vrm-addon-for-blender.info/en/material-mtoon?locale_redirection"><img width="200" src="https://vrm-addon-for-blender.info/images/material_mtoon.gif"></a> | <a href="https://vrm-addon-for-blender.info/en/scripting-api?locale_redirection"><img width="200" src="https://vrm-addon-for-blender.info/images/scripting_api.gif"></a> |
| **[VRMアニメーション](https://vrm-addon-for-blender.info/en/animation?locale_redirection)** | **[改造するには?](https://vrm-addon-for-blender.info/en/development?locale_redirection)** | |
| <a href="https://vrm-addon-for-blender.info/en/animation?locale_redirection"><img width="200" src="https://vrm-addon-for-blender.info/images/animation.gif"></a> | <a href="https://vrm-addon-for-blender.info/en/development?locale_redirection"><img width="200" src="https://vrm-addon-for-blender.info/images/animation.gif"></a> | |
| **[物理ベースのマテリアル設定](https://vrm-addon-for-blender.info/ja/material-pbr?locale_redirection)** | **[アニメ風のマテリアル設定](https://vrm-addon-for-blender.info/ja/material-mtoon?locale_redirection)** | **[Pythonスクリプトによる自動化](https://vrm-addon-for-blender.info/en/scripting-api?locale_redirection)** |
| <a href="https://vrm-addon-for-blender.info/en/material-pbr?locale_redirection"><img width="200" src="https://vrm-addon-for-blender.info/images/material_pbr.gif"></a> | <a href="https://vrm-addon-for-blender.info/en/material-mtoon?locale_redirection"><img width="200" src="https://vrm-addon-for-blender.info/images/material_mtoon.gif"></a> | <a href="https://vrm-addon-for-blender.info/en/scripting-api?locale_redirection"><img width="200" src="https://vrm-addon-for-blender.info/images/scripting_api.gif"></a> |
| **[VRMアニメーション](https://vrm-addon-for-blender.info/en/animation?locale_redirection)** | **[改造するには?](https://vrm-addon-for-blender.info/en/development?locale_redirection)** | |
| <a href="https://vrm-addon-for-blender.info/en/animation?locale_redirection"><img width="200" src="https://vrm-addon-for-blender.info/images/animation.gif"></a> | <a href="https://vrm-addon-for-blender.info/en/development?locale_redirection"><img width="200" src="https://vrm-addon-for-blender.info/images/animation.gif"></a> | |

## 概要

Expand Down
1 change: 0 additions & 1 deletion docs/website/archetypes/default.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

6 changes: 4 additions & 2 deletions docs/website/assets/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@ a {
word-break: break-all;
}

.prose th, td {
.prose th,
td {
vertical-align: baseline;
padding-top: 0;
padding-bottom: 0;
}

.prose th, td a {
.prose th,
td a {
font-size: 1.125rem;
font-weight: bold;
}
Expand Down
16 changes: 8 additions & 8 deletions docs/website/content/_index.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ For Blender 2.93 to 4.1: **[Download Latest Version {{< release_utc >}}](https:/

## Tutorials

| [Installation]({{< ref "installation" >}}) | [Create Simple VRM]({{< ref "create-simple-vrm-from-scratch" >}}) | [Create Humanoid VRM]({{< ref "create-humanoid-vrm-from-scratch" >}}) |
| --- | --- | --- |
| [![](installation.gif)]({{< ref "installation" >}}) | [![](simple.gif)]({{< ref "create-simple-vrm-from-scratch" >}}) | [![](humanoid.gif)]({{< ref "create-humanoid-vrm-from-scratch" >}}) |
| | | |
| [Create Physics Based Material]({{< ref "material-pbr" >}}) | [Create Anime Style Material]({{< ref "material-mtoon" >}}) | [Automation with Python scripts]({{< ref "scripting-api" >}}) |
| [![](material_pbr.gif)]({{< ref "material-pbr" >}}) | [![](material_mtoon.gif)]({{< ref "material-mtoon" >}}) | [![](scripting_api.gif)]({{< ref "scripting-api" >}}) |
| [VRM Animation]({{< ref "animation" >}}) | [Development How-To]({{< ref "development" >}}) | |
| [![](animation.gif)]({{< ref "animation" >}}) | [![](animation.gif)]({{< ref "development" >}}) | |
| [Installation]({{< ref "installation" >}}) | [Create Simple VRM]({{< ref "create-simple-vrm-from-scratch" >}}) | [Create Humanoid VRM]({{< ref "create-humanoid-vrm-from-scratch" >}}) |
| ----------------------------------------------------------- | ----------------------------------------------------------------- | --------------------------------------------------------------------- |
| [![](installation.gif)]({{< ref "installation" >}}) | [![](simple.gif)]({{< ref "create-simple-vrm-from-scratch" >}}) | [![](humanoid.gif)]({{< ref "create-humanoid-vrm-from-scratch" >}}) |
| | | |
| [Create Physics Based Material]({{< ref "material-pbr" >}}) | [Create Anime Style Material]({{< ref "material-mtoon" >}}) | [Automation with Python scripts]({{< ref "scripting-api" >}}) |
| [![](material_pbr.gif)]({{< ref "material-pbr" >}}) | [![](material_mtoon.gif)]({{< ref "material-mtoon" >}}) | [![](scripting_api.gif)]({{< ref "scripting-api" >}}) |
| [VRM Animation]({{< ref "animation" >}}) | [Development How-To]({{< ref "development" >}}) | |
| [![](animation.gif)]({{< ref "animation" >}}) | [![](animation.gif)]({{< ref "development" >}}) | |

## Overview

Expand Down
16 changes: 8 additions & 8 deletions docs/website/content/_index.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ Blender 2.93から4.1をお使いの場合はこちら: **[最新版のダウン

## 使い方

| [アドオンのインストール]({{< ref "installation" >}}) | [シンプルなVRMモデルを作る]({{< ref "create-simple-vrm-from-scratch" >}}) | [人型のVRMモデルを作る]({{< ref "create-humanoid-vrm-from-scratch" >}}) |
| --- | --- | --- |
| [![](installation.png)]({{< ref "installation" >}}) | [![](simple.gif)]({{< ref "create-simple-vrm-from-scratch" >}}) | [![](humanoid.gif)]({{< ref "create-humanoid-vrm-from-scratch" >}}) |
| | | |
| [物理ベースのマテリアル設定]({{< ref "material-pbr" >}}) | [アニメ風のマテリアル設定]({{< ref "material-mtoon" >}}) | [Pythonスクリプトによる自動化]({{< ref "scripting-api" >}}) |
| [![](material_pbr.gif)]({{< ref "material-pbr" >}}) | [![](material_mtoon.gif)]({{< ref "material-mtoon" >}}) | [![](scripting_api.png)]({{< ref "scripting-api" >}}) |
| [VRMアニメーション]({{< ref "animation" >}}) | [改造するには]({{< ref "development" >}}) | |
| [![](animation.gif)]({{< ref "animation" >}}) | [![](animation.gif)]({{< ref "development" >}}) | |
| [アドオンのインストール]({{< ref "installation" >}}) | [シンプルなVRMモデルを作る]({{< ref "create-simple-vrm-from-scratch" >}}) | [人型のVRMモデルを作る]({{< ref "create-humanoid-vrm-from-scratch" >}}) |
| -------------------------------------------------------- | ------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
| [![](installation.png)]({{< ref "installation" >}}) | [![](simple.gif)]({{< ref "create-simple-vrm-from-scratch" >}}) | [![](humanoid.gif)]({{< ref "create-humanoid-vrm-from-scratch" >}}) |
| | | |
| [物理ベースのマテリアル設定]({{< ref "material-pbr" >}}) | [アニメ風のマテリアル設定]({{< ref "material-mtoon" >}}) | [Pythonスクリプトによる自動化]({{< ref "scripting-api" >}}) |
| [![](material_pbr.gif)]({{< ref "material-pbr" >}}) | [![](material_mtoon.gif)]({{< ref "material-mtoon" >}}) | [![](scripting_api.png)]({{< ref "scripting-api" >}}) |
| [VRMアニメーション]({{< ref "animation" >}}) | [改造するには]({{< ref "development" >}}) | |
| [![](animation.gif)]({{< ref "animation" >}}) | [![](animation.gif)]({{< ref "development" >}}) | |

## 概要

Expand Down
Loading

0 comments on commit c3936c2

Please sign in to comment.