Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/assets/release-body.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Includes:

- Extension template
- Interlinearizer

Tested on Platform.Bible vX.Y.Z. Expected to be compatible with at least vX.Y.\*.

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<!-- Attention template README maintainers: The content in the portion of this README following the Template Info section roughly parallels that of the paranext-multi-extension-template. When editing one, please consider whether similar changes should also be made in the other.-->

# paranext-extension-template
# Interlinearizer

Basic extension template for Platform.Bible
Interlinearizer extension for Platform.Bible

<!-- <!-- Opening comment tag for Template Info Section. Ignore this for now. More info in [Hide Template Info](#hide-template-info). -->
<!-- Opening comment tag for Template Info Section. Ignore this for now. More info in [Hide Template Info](#hide-template-info).

## Template Info

Expand Down Expand Up @@ -94,7 +94,7 @@ The general file structure for an extension is as follows:
- `manifest.json` is the manifest file that defines the extension and important properties for Platform.Bible. It is copied into the build folder
- `src/` contains the source code for the extension
- `src/main.ts` is the main entry file for the extension
- `src/types/paranext-extension-template.d.ts` is this extension's types file that defines how other extensions can use this extension through the `papi`. It is copied into the build folder
- `src/types/interlinearizer.d.ts` is this extension's types file that defines how other extensions can use this extension through the `papi`. It is copied into the build folder
- `*.web-view.tsx` files will be treated as React WebViews
- `*.web-view.html` files are a conventional way to provide HTML WebViews (no special functionality)
- `assets/` contains asset files the extension and its WebViews can retrieve using the `papi-extension:` protocol, as well as textual descriptions in various languages. It is copied into the build folder
Expand Down
4 changes: 2 additions & 2 deletions assets/descriptions/description-en.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Extension template for Platform.Bible. Powered by webpack.
Interlinearizer extension for Platform.Bible. Powered by webpack.

This is a webpack project template pre-configured to build a Platform.Bible extension. It contains the bare minimum of what an extension needs.
This Platform.Bible extension provides interlinear tools.
8 changes: 4 additions & 4 deletions assets/displayData.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"icon": "",
"moreInfoUrl": "",
"supportUrl": "",
"moreInfoUrl": "https://github.com/sillsdev/interlinearizer-extension",
"supportUrl": "https://github.com/sillsdev/interlinearizer-extension",
"localizedDisplayInfo": {
"en": {
"displayName": "Paranext Extension Template",
"shortSummary": "Base template for a Platform.Bible Extension",
"displayName": "Interlinearizer",
"shortSummary": "Interlinearizer extension for Platform.Bible",
"description": "assets/descriptions/description-en.md"
}
}
Expand Down
1 change: 1 addition & 0 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"guids",
"hopkinson",
"iframes",
"interlinearizer",
"localstorage",
"maximizable",
"networkable",
Expand Down
8 changes: 4 additions & 4 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "paranextExtensionTemplate",
"name": "interlinearizer",
"version": "0.0.1",
"publisher": "paranext",
"publisher": "LexicalTools",
"displayData": "assets/displayData.json",
"author": "Paranext",
"author": "SIL Global",
"license": "MIT",
"main": "src/main.ts",
"extensionDependencies": {},
"elevatedPrivileges": [],
"types": "src/types/paranext-extension-template.d.ts",
"types": "src/types/interlinearizer.d.ts",
"menus": "contributions/menus.json",
"settings": "contributions/settings.json",
"projectSettings": "contributions/projectSettings.json",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "paranext-extension-template",
"name": "interlinearizer",
"private": true,
"version": "0.0.1",
"main": "src/main.js",
"types": "src/types/paranext-extension-template.d.ts",
"author": "Paranext",
"types": "src/types/interlinearizer.d.ts",
"author": "SIL Global",
"license": "MIT",
"scripts": {
"build:web-view": "webpack --config ./webpack/webpack.config.web-view.ts",
Expand Down
4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { logger } from '@papi/backend';

export async function activate() {
logger.debug('Extension template is activating!');
logger.debug('Interlinearizer is activating!');
}

export async function deactivate() {
logger.debug('Extension template is deactivating!');
logger.debug('Interlinearizer is deactivating!');
return true;
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
declare module 'paranext-extension-template' {
declare module 'interlinearizer' {
// Add extension types exposed on the papi for other extensions to use here
// More instructions can be found in the README
}
Loading