Skip to content

Commit

Permalink
Bump version, update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterWone committed May 11, 2024
1 parent 024d7c4 commit 61f2fe8
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 211 deletions.
20 changes: 19 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,18 @@ on:
type: boolean
required: true
default: false
publishOVSX:
description: 'Publish to OpenVSX'
type: boolean
required: true
default: false
publishGH:
description: 'Publish to GitHub releases'
type: boolean
required: true
default: true
translateDoc:
description: 'Translate the manual and readme.'
description: 'Translate documentation'
type: boolean
required: true
default: false
Expand Down Expand Up @@ -95,6 +100,19 @@ jobs:
- name: Publish to MS marketplace
run: vsce publish --packagePath ./${{ needs.packageVSIX.outputs.packageName }} -p ${{ secrets.AZUREDEVOPS_PRINT_RELEASE }}

publishOVSX:
name: Publish to OpenVSX
runs-on: ubuntu-latest
needs: packageVSIX
if: github.event.inputs.publishOVSX == 'true'
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: ${{ needs.packageVSIX.outputs.packageName }}
- name: Publish to OpenVSX
run: npx ovsx publish ./${{ needs.packageVSIX.outputs.packageName }} -p ${{ secrets.OVSX_PAT }}

translateDoc:
name: Translate documentation
runs-on: ubuntu-latest
Expand Down
5 changes: 0 additions & 5 deletions .vscode/extensions.json

This file was deleted.

49 changes: 14 additions & 35 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,37 +1,16 @@
// A launch configuration that compiles the extension and then opens it inside a new window
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
{
"version": "0.2.0",
"configurations": [
{
"name": "Run Extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
],
"outFiles": [
"${workspaceFolder}/dist/**/*.js"
],
"preLaunchTask": "npm: compile"
},
{
"name": "Extension Tests",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"${workspaceFolder}/src/test/test-docs",
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/out/test/suite/index"
],
"outFiles": [
"${workspaceFolder}/out/test/**/*.js"
],
"preLaunchTask": "gulp-build"
}
]
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Translate",
"program": "${workspaceFolder}/app.js",
"args": [],
"skipFiles": [
"<node_internals>/**",
"node_modules/**"
] // Skip node internals during debugging
}
]
}
16 changes: 0 additions & 16 deletions .vscode/settings.json

This file was deleted.

9 changes: 0 additions & 9 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,6 @@
"kind": "build",
"isDefault": true
}
},
{
// requires environment variables AZURE_TRANSLATOR_KEY and AZURE_TRANSLATOR_REGION
"label": "Localise application strings",
"type": "npm",
"script": "localise",
"problemMatcher": [
"$tsc"
]
}
]
}
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Change Log

### 0.11.23
### 0.11.27

- [#297 Update unit test support](https://github.com/PDConSec/vsc-print/issues/297)
- [#298 Update localisation support](https://github.com/PDConSec/vsc-print/issues/298)
Expand Down
16 changes: 4 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Or you can right-click on a file in the file explorer pane and choose Print from

## Highly configurable

There are a number of settings. Most of them you just need to read the descriptions on the settings page, but we're old school and [we wrote a manual.](doc/manual.eng.md) If things aren't going your way, maybe you should read it. If you have first-use problems, the manual contains a [troubleshooting guide](doc/manual.eng.md#troubleshooting).
There are a number of settings. Most of them you just need to read the descriptions on the settings page, but we're old school and [we wrote a manual.](doc/manual.eng.md) If things aren't going well, consider reading it. If you have first-use problems, the manual contains a [troubleshooting guide](doc/manual.eng.md#troubleshooting).

Some things you can configure:

Expand All @@ -39,16 +39,8 @@ Some things you can configure:
- alternate browser for printing
- line spacing (leave yourself more room for handwritten annotation of code)

## Extensible
## Planned changes

As of version 1.0.0 Print exports an API that allows another extension to register for print and preview services.
Machine translation to support major languages.
This has already been applied to the extension and its settings but high quality automated translation of documentation is proving more difficult.

The Print SDK includes a complete worked example that demonstrates how to
* Register for preview and print services for SVG files
* Embed resources (like CSS and image files) in the extension's Webpack bundle
* Extract those resources from your extension's Webpack bundle into cache ready to service requests for them.
* Use bundled resources in generated HTML
* Register a "Preview" command forwarding the request to the Print extension
* Handle rendering of SVG into styled HTML

The sample is annotated with `// todo` comments to help you use it as the basis of your own extension. Webpack bundling is already set up including the customisation required for you to embed textual and binary resources and demonstrations of how to load them from the bundle into your cache for delivery.
132 changes: 0 additions & 132 deletions translate.mjs

This file was deleted.

0 comments on commit 61f2fe8

Please sign in to comment.