Skip to content

Commit

Permalink
Merge pull request #1 from kioydiolabs/move-to-vitepress
Browse files Browse the repository at this point in the history
Move documentation to VitePress
  • Loading branch information
sthivaios authored Jun 1, 2024
2 parents cb9fbf2 + b7eb772 commit 276eb4e
Show file tree
Hide file tree
Showing 32 changed files with 1,896 additions and 167 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
docs/node_modules
docs/.vitepress/cache
64 changes: 0 additions & 64 deletions Documentation/.idea/workspace.xml

This file was deleted.

19 changes: 0 additions & 19 deletions Documentation/cd.tree

This file was deleted.

20 changes: 0 additions & 20 deletions Documentation/cfg/buildprofiles.xml

This file was deleted.

37 changes: 0 additions & 37 deletions Documentation/redirection-rules.xml

This file was deleted.

9 changes: 0 additions & 9 deletions Documentation/topics/Installation.md

This file was deleted.

8 changes: 0 additions & 8 deletions Documentation/writerside.cfg

This file was deleted.

6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ _rock paper scissors_ game for anyone who has a 79XX deskphone and wants to
experiment with it, or even for businesses who still use them.

## How to configure CISCAPPS

> [!CAUTION]
> **This guide is no longer being maintained. For the latest updated CISCAPPS documentation visit [https://ciscapps.kioydiolabs.org](https://ciscapps.kioydiolabs.org).**
Configuring CISCAPPS is really simple. Just use the **Docker Compose** to
pull the image from **Docker Hub** and deploy a container.

Expand Down Expand Up @@ -68,4 +72,4 @@ Finally, deploy the container by running this command

```
sudo docker-compose up -d
```
```
4 changes: 4 additions & 0 deletions deploy.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
> [!CAUTION]
> **This guide is no longer being maintained. For the latest updated CISCAPPS documentation visit [https://ciscapps.kioydiolabs.org](https://ciscapps.kioydiolabs.org).**

## How to configure CISCAPPS
Configuring CISCAPPS is really simple. Just use the **Docker Compose** to
pull the image from **Docker Hub** and deploy a container.
Expand Down
54 changes: 54 additions & 0 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
import { defineConfig } from 'vitepress'

// https://vitepress.dev/reference/site-config
export default defineConfig({
title: "CISCAPPS",
description: "OpenSource web apps for Cisco IP deskphones created by KioydioLabs.",
head: [
['link', { rel: 'icon', href: '/logo.jpg' }],
['meta', { name: 'theme-color', content: '#007bdf' }]
],
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
search: {
provider: 'local'
},
logo: '/logo.jpg',
nav: [
{ text: 'Home', link: '/' }
],
footer: {
message: 'Released under the BSD 3-Clause License',
copyright: 'KIOYDIOLABS © 2024'
},
sidebar: [
{
text: 'Introduction',
link: '/introduction',
},
{
text: 'Docker Installation',
link: '/docker-installation',
collapsed: true,
items: [
{ text: 'Installing requirements', link: '/installing-requirements' },
{ text: 'Modify the configuration file', link: '/modify-configuration-file' },
{ text: 'Deploy CISCAPPS', link: '/deploy-ciscapps' }
]
},
{
text: 'Deskphone Configuration',
link: '/deskphone-configuration',
collapsed: true,
items: [
{ text: 'FreePBX Configuration', link: '/free-pbx-configuration' },
{ text: 'XML File Configuration (Manual)', link: '/xml-file-manual-configuration' }
]
}
],

socialLinks: [
{ icon: 'github', link: 'https://github.com/kioydiolabs/ciscapps_suite' }
]
}
})
17 changes: 17 additions & 0 deletions docs/.vitepress/theme/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// https://vitepress.dev/guide/custom-theme
import { h } from 'vue'
import type { Theme } from 'vitepress'
import DefaultTheme from 'vitepress/theme'
import './style.css'

export default {
extends: DefaultTheme,
Layout: () => {
return h(DefaultTheme.Layout, null, {
// https://vitepress.dev/guide/extending-default-theme#layout-slots
})
},
enhanceApp({ app, router, siteData }) {
// ...
}
} satisfies Theme
Loading

0 comments on commit 276eb4e

Please sign in to comment.