The SiYuan community bazaar is divided into four parts:
- Theme bazaar
- Template bazaar
- Icon bazaar
- Widget bazaar
Please refer to the following methods for listing.
Please make sure that the root path of your theme repository contains at least the following files before listing (repo example):
- theme.css
- theme.json (please make sure the JSON format is correct)
- preview.png (please compress the image size within 512 KB)
- README.md (please note the case)
After confirmation, please create a pull request to the Community Bazaar repository and modify the themes.json file in it. This file is the index of all community theme repositories, the format is:
{
"repos": [
"username/reponame@commithash"
]
}
Among them, commithash
, please fill in the Git commit hash of the latest released version on your theme repository, please use the full hash value instead of the 7-digit short value.
If the theme you developed has an updated version, please remember:
- Update the version field in your theme.json
- Create a Pull Request to the community bazaar
Please make sure that the root path of your template repository contains at least the following files before listing (repo example):
- template.json (please make sure the JSON format is correct)
- preview.png (please compress the image size within 512 KB)
- README.md (please note the case)
After confirmation, please create a pull request to the Community Bazaar repository and modify the themes.json file in it. This file is the index file of all community template repositories, the format is:
{
"repos": [
"username/reponame@commithash"
]
}
Among them, commithash
, please fill in the Git commit hash of the latest released version on your template repository, please use the full hash value instead of the 7-digit short value.
If the template you developed has an updated version, please remember:
- Update the version field in your template.json
- Create a Pull Request to the community bazaar
Please make sure that the root path of your icon repository contains at least the following files before listing:
- icon.js
- icon.json (please make sure the JSON format is correct)
- preview.png (please compress the image size within 512 KB)
- README.md (please note the case)
After confirmation, please create a pull request to the Community Bazaar repository and modify the consi.json file in it. This file is the index of all community icon repositories, the format is:
{
"repos": [
"username/reponame@commithash"
]
}
Among them, commithash
, please fill in the Git commit hash of the latest released version on your icon repository, please use the full hash value instead of the 7-digit short value.
If the icon you developed has an updated version, please remember:
- Update the version field in your icon.json
- Create a Pull Request to the community bazaar
Please make sure that the root path of your widget repository contains at least the following files before listing:
- index.html
- widget.json (please make sure the JSON format is correct)
- preview.png (please compress the image size within 512 KB)
- README.md (please note the case)
After confirmation, please create a pull request to the Community Bazaar repository and modify the consi.json file in it. This file is the index of all community icon repositories, the format is:
{
"repos": [
"username/reponame@commithash"
]
}
Among them, commithash
, please fill in the Git commit hash of the latest released version on your icon repository, please use the full hash value instead of the 7-digit short value.
If the widget you developed has an updated version, please remember:
- Update the version field in your widget.json
- Create a Pull Request to the community bazaar