-
Notifications
You must be signed in to change notification settings - Fork 272
docs: Port docs to this repo (and move to vitepress) #295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
5d5947f
Port all docs
afontcu c8143da
Format docs
afontcu 849d0cd
Cleanup vue router text
afontcu 02631ab
Fix titles
afontcu 6ecf7f6
Add base
afontcu 92d4c82
Remove old node
afontcu f53bc90
Create folders
afontcu ad93c34
Remove unnecessary script
afontcu c936f14
Update repo readme
afontcu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
/** @typedef {import('vitepress').UserConfig} UserConfig */ | ||
|
||
/** @type {UserConfig} */ | ||
const config = { | ||
// base: '/v2/', | ||
title: 'Vue Test Utils for Vue 3', | ||
description: 'The documentation for the official Vue Test Utils', | ||
locales: { | ||
'/': { | ||
lang: 'en-US', | ||
title: 'Vue Test Utils (2.0.0-beta.14)' | ||
} | ||
}, | ||
head: [['link', { rel: 'icon', href: `/logo.png` }]], | ||
themeConfig: { | ||
repo: 'vuejs/vue-test-utils-next', | ||
docsRepo: 'vuejs/vue-test-utils-next', | ||
docsDir: 'docs', | ||
docsBranch: 'master', | ||
editLinks: true, | ||
nav: [ | ||
{ text: 'Guide', link: '/introduction/' }, | ||
{ text: 'API Reference', link: '/api/' }, | ||
{ text: 'Migrating from Vue 2', link: '/migration/' }, | ||
{ | ||
text: 'Changelog', | ||
link: 'https://github.com/vuejs/vue-test-utils-next/releases' | ||
} | ||
], | ||
sidebar: [ | ||
{ | ||
text: 'Introduction', | ||
link: '/introduction/' | ||
}, | ||
{ | ||
text: 'Installation', | ||
link: '/installation/' | ||
}, | ||
{ | ||
text: 'Essentials', | ||
collapsable: false, | ||
children: [ | ||
{ text: 'A Crash Course', link: '/guide/essentials/a-crash-course' }, | ||
{ | ||
text: 'Conditional Rendering', | ||
link: '/guide/essentials/conditional-rendering' | ||
}, | ||
{ | ||
text: 'Testing Emitted Events', | ||
link: '/guide/essentials/event-handling' | ||
}, | ||
{ text: 'Testing Forms', link: '/guide/essentials/forms' }, | ||
{ | ||
text: 'Passing Data to Components', | ||
link: '/guide/essentials/passing-data' | ||
} | ||
] | ||
}, | ||
{ | ||
text: 'Vue Test Utils in depth', | ||
collapsable: false, | ||
children: [ | ||
{ text: 'Slots', link: '/guide/advanced/slots' }, | ||
{ | ||
text: 'Asynchronous Behavior', | ||
link: '/guide/advanced/async-suspense' | ||
}, | ||
{ | ||
text: 'Making HTTP Requests', | ||
link: '/guide/advanced/http-requests' | ||
}, | ||
{ text: 'Transitions', link: '/guide/advanced/transitions' }, | ||
{ | ||
text: 'Component Instance', | ||
link: '/guide/advanced/component-instance' | ||
}, | ||
{ | ||
text: 'Reusability and Composition', | ||
link: '/guide/advanced/reusability-composition' | ||
}, | ||
{ text: 'Testing Vuex', link: '/guide/advanced/vuex' }, | ||
{ text: 'Testing Vue Router', link: '/guide/advanced/vue-router' }, | ||
{ | ||
text: 'Third-party integration', | ||
link: '/guide/advanced/third-party' | ||
}, | ||
{ | ||
text: 'Stubs and Shallow Mount', | ||
link: '/guide/advanced/stubs-shallow-mount' | ||
} | ||
] | ||
}, | ||
{ | ||
text: 'Extending Vue Test Utils', | ||
collapsable: false, | ||
children: [ | ||
{ text: 'Plugins', link: '/guide/extending-vtu/plugins' }, | ||
{ | ||
text: 'Community and Learning', | ||
link: '/guide/extending-vtu/community-learning' | ||
} | ||
] | ||
}, | ||
{ | ||
text: 'Migrating from Vue 2', | ||
link: '/migration/' | ||
}, | ||
{ | ||
text: 'API Reference', | ||
link: '/api/' | ||
} | ||
] | ||
} | ||
} | ||
|
||
module.exports = config |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pending to figure out where will docs get deployed