Skip to content

Commit 3897b6b

Browse files
committed
Rename plugin
1 parent 6c84adb commit 3897b6b

File tree

6 files changed

+13
-14
lines changed

6 files changed

+13
-14
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ node_modules/
33
lib/.tsbuildinfo-client
44
lib/.tsbuildinfo
55
package
6-
devbookhq-docusaurus-video-plugin-*
6+
devbookhq-docusaurus-code-video-plugin-*

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Business Source License 1.1
33
Parameters
44

55
Licensor: FoundryLabs, Inc.
6-
Licensed Work: Devbook Docusaurus Video Plugin
6+
Licensed Work: Devbook Docusaurus Code Video Plugin
77
The Licensed Work is (c) 2022 FoundryLabs, Inc.
88
Additional Use Grant: You may make use of the Licensed Work, provided that you do
99
not use the Licensed Work for an Application Monitoring

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
# Devbook Docusaurus Video Plugin
2-
The Devbook Docusaurus Video Plugin allows you to [add a video to a code block](#add-video-to-a-code-snippet) in your docs and [highlight code lines](#highlight-code-lines-as-the-video-plays) as the video plays.
1+
# Devbook Docusaurus Code Video Plugin
2+
The Devbook Docusaurus code video plugin allows you to [add a video to a code block](#add-video-to-a-code-snippet) in your docs and [highlight code lines](#highlight-code-lines-as-the-video-plays) as the video plays.
33

44
## Supported video sources
55
- YouTube
66

77
## Usage
88
Install plugin:
99
```sh
10-
npm install @devbookhq/docusaurus-video-plugin
10+
npm install @devbookhq/docusaurus-code-video-plugin
1111
```
1212

1313
Add plugin to `docusaurus.config.js`:
1414
```js
1515
module.exports = {
16-
plugins: ['@devbookhq/docusaurus-video-plugin'],
16+
plugins: ['@devbookhq/docusaurus-code-video-plugin'],
1717
}
1818
```
1919

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"name": "@devbookhq/docusaurus-video-plugin",
2+
"name": "@devbookhq/docusaurus-code-video-plugin",
33
"version": "1.1.0",
44
"main": "lib/index.js",
5-
"description": "Video plugin for Docusaurus",
5+
"description": "Add a video to a Docusaurus code block and highlight code lines as the video plays.",
66
"types": "lib/types.d.ts",
77
"license": "SEE LICENSE IN LICENSE",
88
"homepage": "https://usedevbook.com",
@@ -11,10 +11,10 @@
1111
"email": "[email protected]",
1212
"url": "https://usedevbook.com"
1313
},
14-
"bugs": "https://github.com/devbookhq/docusaurus-video-plugin/issues",
14+
"bugs": "https://github.com/devbookhq/docusaurus-code-video-plugin/issues",
1515
"repository": {
1616
"type": "git",
17-
"url": "https://github.com/devbookhq/docusaurus-video-plugin"
17+
"url": "https://github.com/devbookhq/docusaurus-code-video-plugin"
1818
},
1919
"sideEffects": [
2020
"lib/theme/CodeBlock/*"

src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import path from 'path'
33

44
export default function themeLiveCodeblock(): Plugin {
55
return {
6-
name: 'devbook-video-plugin',
6+
name: 'devbook-code-video-plugin',
77

88
getThemePath() {
99
return path.resolve(__dirname, './theme');
@@ -14,4 +14,3 @@ export default function themeLiveCodeblock(): Plugin {
1414
},
1515
};
1616
}
17-

0 commit comments

Comments
 (0)