Skip to content

Commit

Permalink
Merge pull request #659 from crishellco/cm/maint-test
Browse files Browse the repository at this point in the history
fix(docs): urls
  • Loading branch information
crishellco committed Apr 22, 2023
2 parents 8c603ca + 7f00c14 commit f259e6f
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 33 deletions.
1 change: 1 addition & 0 deletions .github/workflows/node-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ name: Node.js CI
- master
- alpha
- beta
- 3.x
pull_request:
types:
- opened
Expand Down
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<p align="center"><a href="https://vue-hubble.crishell.co/" target="_blank" rel="noopener noreferrer"><img src="docs/src/.vuepress/public/assets/img/logo.png"></a><br></p>
<p align="center"><a href="https://vue-hubble-3x.crishell.co/" target="_blank" rel="noopener noreferrer"><img src="docs/src/.vuepress/public/assets/img/logo.png"></a><br></p>

<p align="center">
<img src="https://github.com/crishellco/vue-hubble/workflows/Build/badge.svg" alt="Build">
Expand All @@ -15,7 +15,14 @@ Vue Hubble makes it simple to add selectors (only in your testing environment)
and target component elements in tests without worrying
about collisions, extraneous classes, etc.

Check out the [demo](http://vue-hubble-demo.crishell.co)
Check out the [demo](http://vue-hubble-demo-3x.crishell.co)

---
**NOTE**

This version works with Vue 2.x only.

---

## Table of Contents

Expand All @@ -26,7 +33,7 @@ Check out the [demo](http://vue-hubble-demo.crishell.co)

## Documentation

Please visit <https://vue-hubble.crishell.co/>.
Please visit <https://vue-hubble-3x.crishell.co/>.

## How to Contribute

Expand Down
45 changes: 16 additions & 29 deletions docs/src/.vuepress/config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
const { description } = require('../../package')
const { description } = require('../../package');

module.exports = {
base: "/",
base: '/',
/**
* Ref:https://v1.vuepress.vuejs.org/config/#title
*/
title: 'Vue Hubble',
title: 'Vue Hubble 3.x',
/**
* Ref:https://v1.vuepress.vuejs.org/config/#description
*/
Expand All @@ -20,7 +20,7 @@ module.exports = {
['link', { rel: 'icon', href: '/favicon.png' }],
['meta', { name: 'theme-color', content: '#3eaf7c' }],
['meta', { name: 'apple-mobile-web-app-capable', content: 'yes' }],
['meta', { name: 'apple-mobile-web-app-status-bar-style', content: 'black' }]
['meta', { name: 'apple-mobile-web-app-status-bar-style', content: 'black' }],
],

/**
Expand All @@ -30,7 +30,7 @@ module.exports = {
*/
themeConfig: {
logo: '/assets/img/logo.png',
repo: 'https://github.com/crishellco/vue-hubble',
repo: 'https://github.com/crishellco/vue-hubble/tree/3.x',
editLinks: false,
docsDir: '',
editLinkText: '',
Expand All @@ -50,47 +50,34 @@ module.exports = {
},
{
text: 'Demo',
link: 'http://vue-hubble-demo.crishell.co/',
link: 'http://vue-hubble-demo-3x.crishell.co/',
},
],
sidebar: {
'/guide/': [
{
title: 'Guide',
collapsable: false,
children: [
'getting-started',
'plugin-options',
'usage',
'selector-picker',
]
},{
children: ['getting-started', 'plugin-options', 'usage', 'selector-picker'],
},
{
title: 'Advanced',
collapsable: false,
children: [
'namespacing',
]
}
children: ['namespacing'],
},
],
'/api/': [
{
title: 'API',
collapsable: false,
children: [
'methods',
'properties',
]
}
children: ['methods', 'properties'],
},
],
}
},
},

/**
* Apply plugins,ref:https://v1.vuepress.vuejs.org/zh/plugin/
*/
plugins: [
'@vuepress/plugin-back-to-top',
'@vuepress/plugin-medium-zoom',
'dehydrate'
]
}
plugins: ['@vuepress/plugin-back-to-top', '@vuepress/plugin-medium-zoom', 'dehydrate'],
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"bugs": {
"url": "https://github.com/crishellco/vue-hubble/issues"
},
"homepage": "https://vue-hubble.crishell.co/",
"homepage": "https://vue-hubble-3x.crishell.co/",
"publishConfig": {
"access": "public"
},
Expand Down

0 comments on commit f259e6f

Please sign in to comment.