Skip to content
This repository was archived by the owner on Nov 29, 2023. It is now read-only.

Commit 439e0b8

Browse files
DX-2855 SDK Migration Docs (#780)
* DX-2855 SDK Migration Guides Messaging and MFA Complete * Add TN Lookup * Calls API * Conferences * Recordings + Cleanup * Add `BXML` * Fix Conference Verb It cant have nested verbs * Add links to migration guides on SDK page * Make sdkpage migration guide title lowercase causes 404 otherwise * Typo in function name and add test file * Add Migration Guide Sidebar Test * Only test dropdowns * Add content to Migration Guides landing page * Typo in test context * Delete migration_guides.cy.js * Update site/src/components/SdkPage.js Co-authored-by: Brian <[email protected]> * Fix CSS that broke due to merging in main * Use `v15-beta` instead of `v15` * Fix broken link Co-authored-by: Brian <[email protected]>
1 parent 41921bf commit 439e0b8

File tree

9 files changed

+2081
-15
lines changed

9 files changed

+2081
-15
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
import {testSidebar} from '../../utils/utils'
3+
4+
context('Testing the Migration Guides Sidebar Tabs', () => {
5+
beforeEach(() => {
6+
cy.visit('/migration-guides')
7+
})
8+
9+
it('Should verify that the Python tab and subtabs opens and closes properly', () => {
10+
testSidebar('Python')
11+
})
12+
})

site/docusaurus.config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,15 @@ module.exports = {
178178
},
179179
plugins: [
180180
path.resolve(__dirname, 'redoc-plugin'),
181+
[
182+
'@docusaurus/plugin-content-docs',
183+
{
184+
id: 'miration-guides',
185+
path: 'migration-guides',
186+
routeBasePath: 'migration-guides',
187+
sidebarPath: require.resolve('./sidebarsMigrationGuides.js'),
188+
},
189+
],
181190
'docusaurus-plugin-sass',
182191
],
183192
};

site/migration-guides/intro.mdx

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
id: migration-guides
3+
title: Migration Guides
4+
slug: /
5+
description: Bandwidth's Developer Docs
6+
sidebar_label: Introduction
7+
hide_table_of_contents: true
8+
keywords:
9+
- bandwidth
10+
- docs
11+
- documentation
12+
- api
13+
hide_title: false
14+
image: '@site/static/img/bw-icon.svg'
15+
---
16+
17+
Home of migration guides between major versions of each SDK language
18+
19+
* [Python](/migration-guides/python)

site/migration-guides/python/intro.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
id: python-migration-guides
3+
title: Python
4+
slug: /python
5+
description: Python SDK Migration Guides
6+
sidebar_label: About
7+
image: '@site/static/img/bw-icon.svg'
8+
---
9+
10+
See our releases on [GitHub](https://github.com/Bandwidth/python-sdk/releases) for more detailed changelogs
11+
12+
## [v15-beta](/migration-guides/python/v14->v15-beta)
13+
14+
### What's Changed
15+
16+
* Generated an entirely new SDK using the open-source [OpenAPI Generator Library](https://openapi-generator.tech/)
17+
* Rewrote the [BXML library](/migration-guides/python/v14->v15-beta#bxml)

0 commit comments

Comments
 (0)