Move docs to root

This commit is contained in:
kitajchuk
2021-04-06 19:32:40 -07:00
parent 51b270cb80
commit cbfbfd6340
12 changed files with 2 additions and 3 deletions

View File

@@ -1,26 +0,0 @@
# Code Highlighting
`nextra-theme-docs` uses [Prism](https://prismjs.com) and [prism-react-renderer](https://github.com/FormidableLabs/prism-react-renderer)
to highlight the code blocks. This section covers how you can customze it.
## More Languages
To keep the bundle small, only a [subset of languages](https://github.com/FormidableLabs/prism-react-renderer/blob/master/src/vendor/prism/includeLangs.js)
are included in the syntax highlighter. If you want to add more languages, you can do the following:
1. Run `yarn add prismjs prism-react-renderer` to add dependencies to your Nextra project.
2. Add the following code to your `pages/_app.js`:
```jsx
import Prism from 'prism-react-renderer/prism'
(typeof global !== "undefined" ? global : window).Prism = Prism
require("prismjs/components/prism-kotlin")
require("prismjs/components/prism-csharp")
```
Restart your app and you will have Kotlin and C# code highlighting supported.
You can find the full list of available languages [here](https://github.com/PrismJS/prism/tree/master/components).
{/*## Custom Themes*/}

View File

@@ -1 +0,0 @@
# Webhooks

View File

@@ -1,3 +0,0 @@
# Add an Application
TODO

View File

@@ -1,3 +0,0 @@
# Add a Carrier
TODO

View File

@@ -1,3 +0,0 @@
# Add Phone Numbers
TODO

View File

@@ -1,3 +0,0 @@
# Add Speech Credentials
TODO

View File

@@ -1,3 +0,0 @@
# Register sip clients
TODO

View File

@@ -1,13 +0,0 @@
# jambonz
jambonz is a CPaaS that is designed for communications service providers. As an API-driven platform, you will primarily interface with it using [Webhooks]() and [REST APIs]().
jambonz is available for use both as cloud APIs, or as an open source platform that you can run on your own infrastructure. Either way, your applications are written in the same fashion, so you can start off by using the cloud APIs and later migrate to running your own platform if you like.
jambonz is also a "Bring Your Own Everything" (BYOE) CPaaS, meaning that you will [plug in your own SIP trunking providers](), and [use your own AWS or Google credentials]() for speech processing.
Follow the [Getting Started]() pages that follow to get yourself up and running on the cloud platform, or dive into the [API Reference]() or examine [client SDKs]() and [sample applications]() for inspiration.
```javascript
const foo = "bar";
```

View File

@@ -1 +0,0 @@
# Overview

View File

@@ -1 +0,0 @@
# Overview