docs: add instructions for dealing with disabled repos (#644)

This commit is contained in:
bd_ 2024-02-02 22:33:22 +09:00 committed by GitHub
parent 13023d1f24
commit c3d71958ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
12 changed files with 80 additions and 6 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

View File

@ -0,0 +1,18 @@
---
sidebar_position: 1
---
# Installation issues
Here's some common issues you might encounter when trying to install Modular Avatar.
## "Failed to add Repo"
![Failed to add Repo error](failed-to-add-repo.png)
Due to a bug in the VCC, you might sometimes get this error when trying to add the Modular Avatar repository.
Usually this means the repository has already been added. If you can't see the Modular Avatar package in the package
list, the repository might be disabled. Click "Cancel", then look in the "Community Repositories" list for the "bd_"
repository. Make sure the checkbox is checked.
![Check this box](repo-disabled.png)

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

View File

@ -287,9 +287,6 @@
"VPM installation": {
"message": "VPM installation"
},
"You should have seen a prompt to add Modular Avatar to VCC. If you didn't, upgrade your copy of the VRChat Creator Companion and try again. Once you've added the repository, you can install Modular Avatar in your project by clicking the button shown here:": {
"message": "You should have seen a prompt to add Modular Avatar to VCC. If you didn't, upgrade your copy of the VRChat Creator Companion and try again. Once you've added the repository, you can install Modular Avatar in your project by clicking the button shown here:"
},
"Click the plus button to install": {
"message": "Click the plus button to install"
},
@ -317,5 +314,31 @@
"theme.docs.sidebar.toggleSidebarButtonAriaLabel": {
"message": "Toggle navigation bar",
"description": "The ARIA label for hamburger menu button of mobile navigation"
},
"You should have seen a prompt to add Modular Avatar to VCC. If you didn't, upgrade your copy of the VRChat Creator Companion and try again. Once you've added the repository, you can install Modular Avatar in your project by clicking the button shown below.": {
"message": "You should have seen a prompt to add Modular Avatar to VCC. If you didn't, upgrade your copy of the VRChat Creator Companion and try again. Once you've added the repository, you can install Modular Avatar in your project by clicking the button shown below."
},
"Something went wrong? Click here.": {
"message": "Something went wrong? Click here."
},
"theme.admonition.warning": {
"message": "warning",
"description": "The default label used for the Warning admonition (:::warning)"
},
"theme.DocSidebarItem.expandCategoryAriaLabel": {
"message": "Expand sidebar category '{label}'",
"description": "The ARIA label to expand the sidebar category"
},
"theme.DocSidebarItem.collapseCategoryAriaLabel": {
"message": "Collapse sidebar category '{label}'",
"description": "The ARIA label to collapse the sidebar category"
},
"theme.unlistedContent.title": {
"message": "Unlisted page",
"description": "The unlisted content banner title"
},
"theme.unlistedContent.message": {
"message": "This page is unlisted. Search engines will not index it, and only users having a direct link can access it.",
"description": "The unlisted content banner message"
}
}

View File

@ -14,5 +14,9 @@
"sidebar.tutorialSidebar.category.Distributing Prefabs": {
"message": "Distributing Prefabs",
"description": "The label for category Distributing Prefabs in sidebar tutorialSidebar"
},
"sidebar.tutorialSidebar.category.Dealing with problems": {
"message": "Dealing with problems",
"description": "The label for category Dealing with problems in sidebar tutorialSidebar"
}
}

View File

@ -260,9 +260,12 @@
"VPM installation": {
"message": "VPMでインストール"
},
"You should have seen a prompt to add Modular Avatar to VCC. If you didn't, upgrade your copy of the VRChat Creator Companion and try again. Once you've added the repository, you can install Modular Avatar in your project by clicking the button shown here:": {
"You should have seen a prompt to add Modular Avatar to VCC. If you didn't, upgrade your copy of the VRChat Creator Companion and try again. Once you've added the repository, you can install Modular Avatar in your project by clicking the button shown below.": {
"message": "VCCでインストールする確認画面が出たはずです。もし出てない場合は、VRChat Creator Companionを更新してもう一度やり直してみてください。設定したあとは、下記のボタンを押すことでプロジェクトにModular Avatarを追加できます。"
},
"Something went wrong? Click here.": {
"message": "問題があったらここをクリック"
},
"Click the plus button to install": {
"message": "プラスボタンを押してインストール"
},

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

View File

@ -0,0 +1,18 @@
---
sidebar_position: 1
---
# インストール時の問題
Modular Avatarをインストールするときによくある問題と対処法です。
## "Failed to add Repo"
![Failed to add Repo error](failed-to-add-repo.png)
VCCのバグの影響で、Modular Avatarリポジトリを追加しようとすると、このようなエラーが発生することがあります。
リポジトリが既に追加されていることを意味することが多いです。パッケージリストにModular Avatarパッケージが表示されない場合は、
リポジトリが無効になっている可能性があります。いったん"Cancel"をクリックして、"Community Repositories"リストから"bd_"リポジトリを
探してみてください。チェックボックスがオフになっている場合はチェックを入れてください。
![Check this box](repo-disabled.png)

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

View File

@ -22,9 +22,16 @@ function ModalContent({closeModal}) {
<Translate>
You should have seen a prompt to add Modular Avatar to VCC. If you didn't, upgrade your copy of the VRChat Creator Companion
and try again. Once you've added the repository, you can install Modular Avatar in your project by clicking
the button shown here:
the button shown below.
</Translate>
</p>
<p>
<a href="docs/problems/install">
<Translate>
Something went wrong? Click here.
</Translate>
</a>
</p>
<img src={install_help} alt={translate({message: "Click the plus button to install"})}/>
</div>
<div className={"card__footer"}>

View File

@ -2,6 +2,7 @@
// This file is not used in compilation. It is here just for a nice editor experience.
"extends": "@tsconfig/docusaurus/tsconfig.json",
"compilerOptions": {
"baseUrl": "."
"baseUrl": ".",
"jsx": "react"
}
}