Skip to content

Commit

Permalink
fix: update edit on github links to point to main (#1341)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe authored Mar 14, 2021
1 parent b78f539 commit b178a16
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
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

0 comments on commit b178a16

Please sign in to comment.