Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation links #96

Merged
merged 1 commit into from
Jun 16, 2018
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
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The extension is designed with openHAB 2.x in mind - most snippets and design pa

## Features

* Syntax highlighting for the [openHAB DSL](http://docs.openhab.org/configuration/index.html) (rules, items, scripts and sitemaps).
* Syntax highlighting for the [openHAB DSL](https://www.openhab.org/docs/configuration/) (rules, items, scripts and sitemaps).
* Code snippets for openHAB, including [Design Patterns](https://community.openhab.org/tags/designpattern) by Rich Koshak
* Integrated quick search of [openHAB Docs page](http://docs.openhab.org) (`Alt + Shift + O`)
* Integrated quick search of [openHAB Community](https://community.openhab.org)
Expand All @@ -33,7 +33,7 @@ You are able to configure the hostname and port for the Sitemap preview.

*openhab.host* will also work with the IP address of your openHAB instance, instead of the hostname.

These settings should work fine on Windows machines and openHAB installations using the recommended [openHABian](http://docs.openhab.org/installation/openhabian.html) setup.
These settings should work fine on Windows machines and openHAB installations using the recommended [openHABian](https://www.openhab.org/docs/installation/openhabian.html) setup.
They should be edited if you use macOS or *NIX systems or manual openHAB installations.

To edit these settings, simply add overrides to either your user settings or your workspace settings in your Visual Studio Codes preferences.
Expand Down Expand Up @@ -114,7 +114,7 @@ The following configuration will allow you to access REST API remotely:

## Sitemap preview with Basic UI

openHAB VS Code Extension allows you to preview the [sitemap structure](http://docs.openhab.org/configuration/sitemaps.html) in the [Basic UI](http://docs.openhab.org/addons/uis/basic/readme.html) running on your openHAB server instance.
openHAB VS Code Extension allows you to preview the [sitemap structure](https://www.openhab.org/docs/configuration/sitemaps.html) in the [Basic UI](https://www.openhab.org/docs/configuration/ui/basic/) running on your openHAB server instance.

If you have a sitemap file active in your editor and open Basic UI (`Ctrl + Alt + O` or editor title icon), you'll land directly on the sitemap you're working on.

Expand Down Expand Up @@ -169,7 +169,7 @@ See [CHANGELOG.md](https://github.com/openhab/openhab-vscode/blob/master/CHANGEL

### For More Information

* [openHAB Documentation](http://docs.openhab.org)
* [openHAB Documentation](https://www.openhab.org/docs/)
* [openHAB Community](https://community.openhab.org)

**Enjoy!**
4 changes: 2 additions & 2 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ async function init(context: ExtensionContext, disposables: Disposable[], config
}))

disposables.push(commands.registerCommand('openhab.command.things.docs', (query: Thing) =>
openBrowser(`https://docs.openhab.org/addons/bindings/${query.binding}/readme.html`)))
openBrowser(`https://www.openhab.org/addons/bindings/${query.binding}/`)))

if (config.useRestApi) {
const itemsExplorer = new ItemsExplorer()
Expand Down Expand Up @@ -164,4 +164,4 @@ export function activate(context: ExtensionContext) {

// this method is called when your extension is deactivated
export function deactivate() {
}
}