update name and repo everywhere
This commit is contained in:
parent
a9cf3f9bfd
commit
cca6e61578
4 changed files with 8 additions and 8 deletions
2
.github/workflows/static.yml
vendored
2
.github/workflows/static.yml
vendored
|
|
@ -61,7 +61,7 @@ jobs:
|
||||||
branchPrefix: ${{ matrix.branch != 'main' && matrix.branch || '' }}
|
branchPrefix: ${{ matrix.branch != 'main' && matrix.branch || '' }}
|
||||||
run: |
|
run: |
|
||||||
npm ci
|
npm ci
|
||||||
npm run build -- --base /blockly-tool/${branchPrefix}
|
npm run build -- --base /io-actions/${branchPrefix}
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ import { defineConfig } from 'vitepress'
|
||||||
import blocksSidebar from '../blocks/_blocks_sidebar.json'
|
import blocksSidebar from '../blocks/_blocks_sidebar.json'
|
||||||
|
|
||||||
|
|
||||||
const REPO = 'https://github.com/lorennorman/blockly-tool'
|
const REPO = 'https://github.com/adafruit/io-actions'
|
||||||
|
|
||||||
// https://vitepress.dev/reference/site-config
|
// https://vitepress.dev/reference/site-config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
|
|
@ -13,7 +13,7 @@ export default defineConfig({
|
||||||
['link', { rel: 'icon', href: "data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🧩</text></svg>" }]
|
['link', { rel: 'icon', href: "data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🧩</text></svg>" }]
|
||||||
],
|
],
|
||||||
|
|
||||||
base: "/blockly-tool/",
|
base: "/io-actions/",
|
||||||
|
|
||||||
lastUpdated: true,
|
lastUpdated: true,
|
||||||
|
|
||||||
|
|
@ -31,10 +31,10 @@ export default defineConfig({
|
||||||
// docs come from the js, md is not the true source
|
// docs come from the js, md is not the true source
|
||||||
const jsPath = filePath.replace(/.md$/, '.js')
|
const jsPath = filePath.replace(/.md$/, '.js')
|
||||||
// and we want to link to the main branch, not docs
|
// and we want to link to the main branch, not docs
|
||||||
return `https://github.com/lorennorman/blockly-tool/edit/main/app/${jsPath}`
|
return `https://github.com/adafruit/io-actions/edit/main/app/${jsPath}`
|
||||||
}
|
}
|
||||||
|
|
||||||
return `https://github.com/lorennorman/blockly-tool/edit/docs/docs/${filePath}`
|
return `https://github.com/adafruit/io-actions/edit/docs/docs/${filePath}`
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
4
package-lock.json
generated
4
package-lock.json
generated
|
|
@ -1,11 +1,11 @@
|
||||||
{
|
{
|
||||||
"name": "blockly-tool",
|
"name": "io-actions",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "blockly-tool",
|
"name": "io-actions",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@blockly/theme-modern": "^5.0.5",
|
"@blockly/theme-modern": "^5.0.5",
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "blockly-tool",
|
"name": "io-actions",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "A Blockly tooling project",
|
"description": "A Blockly tooling project",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue