Skip to content

Commit

Permalink
fix(docs): Add links to older documentation versions and replace dead…
Browse files Browse the repository at this point in the history
… badges on index page

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
  • Loading branch information
susnux committed Jun 27, 2023
1 parent 2b68600 commit 5909eed
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/index.md
@@ -1,8 +1,7 @@
[![npm last version](https://img.shields.io/npm/v/@nextcloud/vue.svg?style=flat-square)](https://www.npmjs.com/package/@nextcloud/vue)
[![travis build status](https://img.shields.io/travis/com/nextcloud/nextcloud-vue/master.svg?style=flat-square)](https://travis-ci.com/nextcloud/nextcloud-vue)
[![build status](https://img.shields.io/github/actions/workflow/status/nextcloud/nextcloud-vue/node.yml?style=flat-square)](https://github.com/nextcloud/nextcloud-vue/actions/workflows/node.yml?query=branch%3Amaster)
[![Dependabot status](https://img.shields.io/badge/Dependabot-enabled-brightgreen.svg?longCache=true&style=flat-square&logo=dependabot)](https://dependabot.com)
[![Codacy Badge](https://img.shields.io/codacy/grade/57e9764b68904cbf8f9e050c33340ab4.svg?style=flat-square)](https://app.codacy.com/app/nextcloud/nextcloud-vue)
[![Code coverage](https://img.shields.io/codecov/c/github/nextcloud/nextcloud-vue.svg?style=flat-square)](https://codecov.io/gh/nextcloud/nextcloud-vue/)
[![Test status](https://img.shields.io/github/actions/workflow/status/nextcloud/nextcloud-vue/npm-test.yml?style=flat-square&label=Test%20status)](https://github.com/nextcloud/nextcloud-vue/actions/workflows/npm-test.yml?query=branch%3Amaster)
[![irc](https://img.shields.io/badge/IRC-%23nextcloud--dev%20on%20freenode-blue.svg?style=flat-square)](https://webchat.freenode.net/?channels=nextcloud-dev)

This repo contains the various Vue.js components that Nextcloud uses for its internal design and structure.
Expand Down
14 changes: 14 additions & 0 deletions styleguide.config.js
Expand Up @@ -61,6 +61,20 @@ module.exports = async () => {
exampleMode: 'hide',
usageMode: 'hide',
},
{
name: 'Latest version',
href: 'https://nextcloud-vue-components.netlify.app',
sections: [
{
name: 'v7.x (Nextcloud 25 - 27)',
href: 'https://stable7--nextcloud-vue-components.netlify.app',
},
{
name: 'v6.x (Nextcloud 24 - 25)',
href: 'https://stable6--nextcloud-vue-components.netlify.app',
},
],
},
{
name: 'Directives',
content: 'docs/directives.md',
Expand Down

0 comments on commit 5909eed

Please sign in to comment.