Skip to content
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

fix: update edit on github links to point to main #1341

Merged
merged 1 commit into from
Mar 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Contributing to Nuxt

Want to contribute to Nuxt? We provide a **[Contribution Guide](https://github.com/nuxt/nuxtjs.org/blob/master/content/en/_archives/guide/contribution-guide.md)** to help you get started.
Want to contribute to Nuxt? We provide a **[Contribution Guide](https://github.com/nuxt/nuxtjs.org/blob/main/content/en/_archives/guide/contribution-guide.md)** to help you get started.
2 changes: 1 addition & 1 deletion _redirects
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ https://www.nuxtjs.org/* https://nuxtjs.org/:splat 301!
# [LEGACY] Redirect GUIDE URLs
/guide/themes /themes 301!
/guide/typescript https://typescript.nuxtjs.org/ 301!
/guide/contribution-guide https://github.com/nuxt/nuxtjs.org/blob/master/content/en/_archives/guide/contribution-guide.md 301!
/guide/contribution-guide https://github.com/nuxt/nuxtjs.org/blob/main/content/en/_archives/guide/contribution-guide.md 301!
/guide /docs/2.x/concepts/nuxt-lifecycle 301!
/guide/assets /docs/2.x/directory-structure/assets 301!
/guide/async-data /docs/2.x/features/data-fetching#async-data 301!
Expand Down
2 changes: 1 addition & 1 deletion components/templates/TheFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export default {
{
key: this.$t('footer.links.support.contributionGuide'),
href:
'https://github.com/nuxt/nuxtjs.org/blob/master/content/en/_archives/guide/contribution-guide.md'
'https://github.com/nuxt/nuxtjs.org/blob/main/content/en/_archives/guide/contribution-guide.md'
}
],
support: [
Expand Down
2 changes: 1 addition & 1 deletion pages/blog/_slug.vue
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export default {
},
computed: {
docLink () {
return `https://github.com/nuxt/nuxtjs.org/blob/master/content${this.path}/${this.slug}.md`
return `https://github.com/nuxt/nuxtjs.org/blob/main/content${this.path}/${this.slug}.md`
},
...mapState({
host: state => state.host,
Expand Down
2 changes: 1 addition & 1 deletion pages/docs/2.x/_book/_slug.vue
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export default {
},
computed: {
docLink() {
return `https://github.com/nuxt/nuxtjs.org/blob/master/content${this.path}/${this.$route.params.slug}.md`
return `https://github.com/nuxt/nuxtjs.org/blob/main/content${this.path}/${this.$route.params.slug}.md`
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion pages/docs/release-notes.vue
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export default {
},
computed: {
docLink() {
return `https://github.com/nuxt/nuxtjs.org/blob/master/content${this.path}.md`
return `https://github.com/nuxt/nuxtjs.org/blob/main/content${this.path}.md`
},
codeSandBox() {
return 'https://codesandbox.io'
Expand Down
2 changes: 1 addition & 1 deletion pages/examples/_slug.vue
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export default {
},
computed: {
docLink() {
return `https://github.com/nuxt/nuxtjs.org/blob/master/content${this.path}/${this.$route.params.slug}.md`
return `https://github.com/nuxt/nuxtjs.org/blob/main/content${this.path}/${this.$route.params.slug}.md`
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion pages/faq/_slug.vue
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export default {
},
computed: {
docLink() {
return `https://github.com/nuxt/nuxtjs.org/blob/master/content${this.path}.md`
return `https://github.com/nuxt/nuxtjs.org/blob/main/content${this.path}.md`
}
}
}
Expand Down