From 0ce6c4708608a89351f52f001ce7032d3ce5065f Mon Sep 17 00:00:00 2001 From: Daeraxa <58074586+Daeraxa@users.noreply.github.com> Date: Sat, 31 Dec 2022 20:07:22 +0000 Subject: [PATCH] rebrand and relinking to new site --- dot-atom/init.js | 4 ++++ dot-atom/keymap.cson | 10 +++++----- dot-atom/snippets.cson | 4 ++-- dot-atom/styles.less | 4 ++-- packages/about/lib/update-manager.js | 2 +- packages/settings-view/lib/error-view.js | 6 ++---- packages/settings-view/lib/general-panel.js | 2 +- packages/settings-view/lib/install-panel.js | 2 +- packages/settings-view/lib/package-card.js | 10 +++++----- packages/settings-view/lib/package-detail-view.js | 2 +- packages/settings-view/lib/themes-panel.js | 4 ++-- packages/settings-view/lib/uri-handler-panel.js | 6 +++--- packages/welcome/lib/guide-view.js | 3 +-- src/config-file.js | 4 ++-- src/config-schema.js | 14 +++++++------- src/config.js | 12 ++++++------ src/keymap-extensions.js | 2 +- src/main-process/atom-application.js | 2 +- src/main-process/atom-window.js | 2 +- src/scope-descriptor.js | 2 +- src/theme-manager.js | 4 ++-- 21 files changed, 51 insertions(+), 50 deletions(-) diff --git a/dot-atom/init.js b/dot-atom/init.js index 3465e69d2..4c190b2c2 100644 --- a/dot-atom/init.js +++ b/dot-atom/init.js @@ -11,3 +11,7 @@ // console.log(`Saved! ${editor.getPath()}`) // ) // ); +// +// See the Pulsar Launch manual for more information on this file and how to +// customize it. +// https://pulsar-edit.dev/docs/launch-manual/sections/core-hacking/#the-init-file diff --git a/dot-atom/keymap.cson b/dot-atom/keymap.cson index a785f6717..9930c2935 100644 --- a/dot-atom/keymap.cson +++ b/dot-atom/keymap.cson @@ -18,15 +18,15 @@ # 'ctrl-p': 'core:move-down' # # You can find more information about keymaps in these guides: -# * http://flight-manual.atom.io/using-atom/sections/basic-customization/#customizing-keybindings -# * http://flight-manual.atom.io/behind-atom/sections/keymaps-in-depth/ +# * https://pulsar-edit.dev/docs/launch-manual/sections/using-pulsar/#customizing-keybindings +# * https://pulsar-edit.dev/docs/launch-manual/sections/behind-pulsar#keymaps-in-depth # # If you're having trouble with your keybindings not working, try the # Keybinding Resolver: `Cmd+.` on macOS and `Ctrl+.` on other platforms. See the # Debugging Guide for more information: -# * http://flight-manual.atom.io/hacking-atom/sections/debugging/#check-the-keybindings +# * https://pulsar-edit.dev/docs/launch-manual/sections/core-hacking/#check-your-keybindings # # This file uses CoffeeScript Object Notation (CSON). # If you are unfamiliar with CSON, you can read more about it in the -# Pulsar Flight Manual: -# http://flight-manual.atom.io/using-atom/sections/basic-customization/#configuring-with-cson +# Pulsar Launch Manual: +# https://pulsar-edit.dev/docs/launch-manual/sections/using-pulsar/#configuring-with-cson diff --git a/dot-atom/snippets.cson b/dot-atom/snippets.cson index 879dd2ad4..644ca58b6 100644 --- a/dot-atom/snippets.cson +++ b/dot-atom/snippets.cson @@ -17,5 +17,5 @@ # # This file uses CoffeeScript Object Notation (CSON). # If you are unfamiliar with CSON, you can read more about it in the -# Pulsar Flight Manual: -# http://flight-manual.atom.io/using-atom/sections/basic-customization/#_cson +# Pulsar Launch Manual: +# https://pulsar-edit.dev/docs/launch-manual/sections/using-pulsar/#configuring-with-cson diff --git a/dot-atom/styles.less b/dot-atom/styles.less index e4fad4f31..6a451554f 100644 --- a/dot-atom/styles.less +++ b/dot-atom/styles.less @@ -1,10 +1,10 @@ /* * Your Stylesheet * - * This stylesheet is loaded when Atom starts up and is reloaded automatically + * This stylesheet is loaded when Pulsar starts up and is reloaded automatically * when it is changed and saved. * - * Add your own CSS or Less to fully customize Atom. + * Add your own CSS or Less to fully customize Pulsar. * If you are unfamiliar with Less, you can read more about it here: * http://lesscss.org */ diff --git a/packages/about/lib/update-manager.js b/packages/about/lib/update-manager.js index db4744dc0..5873e5e9a 100644 --- a/packages/about/lib/update-manager.js +++ b/packages/about/lib/update-manager.js @@ -125,7 +125,7 @@ let UpdateManager = class UpdateManager { getReleaseNotesURLForVersion(appVersion) { // Dev versions will not have a releases page if (appVersion.indexOf('dev') > -1) { - return 'https://atom.io/releases'; + return 'https://pulsar-edit.dev/download.html'; } if (!appVersion.startsWith('v')) { diff --git a/packages/settings-view/lib/error-view.js b/packages/settings-view/lib/error-view.js index 66bfaeac2..3a7f1248e 100644 --- a/packages/settings-view/lib/error-view.js +++ b/packages/settings-view/lib/error-view.js @@ -67,13 +67,11 @@ class CompileToolsErrorView {
apm install --check
+ pulsar -p install --check
after installing to test compiling a native module.
The init script is a bit of JavaScript or CoffeeScript run at - startup. You can use it to quickly change the behaviour of - {this.brand}. + startup. You can use it to quickly change the behaviour of {this.brand}.
` // * ~~strikethrough~~ - `~~strikethrough~~` @@ -487,7 +487,7 @@ class Config { // * `scope` (optional) {ScopeDescriptor} describing a path from // the root of the syntax tree to a token. Get one by calling // {editor.getLastCursor().getScopeDescriptor()}. See {::get} for examples. - // See [the scopes docs](http://flight-manual.atom.io/behind-atom/sections/scoped-settings-scopes-and-scope-descriptors/) + // See [the scopes docs](https://pulsar-edit.dev/docs/launch-manual/sections/behind-pulsar#scoped-settings-scopes-and-scope-descriptors) // for more information. // * `callback` {Function} to call when the value of the key changes. // * `value` the new value of the key @@ -531,7 +531,7 @@ class Config { // * `scope` (optional) {ScopeDescriptor} describing a path from // the root of the syntax tree to a token. Get one by calling // {editor.getLastCursor().getScopeDescriptor()}. See {::get} for examples. - // See [the scopes docs](http://flight-manual.atom.io/behind-atom/sections/scoped-settings-scopes-and-scope-descriptors/) + // See [the scopes docs](https://pulsar-edit.dev/docs/launch-manual/sections/behind-pulsar#scoped-settings-scopes-and-scope-descriptors) // for more information. // * `callback` {Function} to call when the value of the key changes. // * `event` {Object} @@ -613,7 +613,7 @@ class Config { // * `scope` (optional) {ScopeDescriptor} describing a path from // the root of the syntax tree to a token. Get one by calling // {editor.getLastCursor().getScopeDescriptor()} - // See [the scopes docs](http://flight-manual.atom.io/behind-atom/sections/scoped-settings-scopes-and-scope-descriptors/) + // See [the scopes docs](https://pulsar-edit.dev/docs/launch-manual/sections/behind-pulsar#scoped-settings-scopes-and-scope-descriptors) // for more information. // // Returns the value from Pulsar's default settings, the user's configuration @@ -720,7 +720,7 @@ class Config { // setting to the default value. // * `options` (optional) {Object} // * `scopeSelector` (optional) {String}. eg. '.source.ruby' - // See [the scopes docs](http://flight-manual.atom.io/behind-atom/sections/scoped-settings-scopes-and-scope-descriptors/) + // See [the scopes docs](https://pulsar-edit.dev/docs/launch-manual/sections/behind-pulsar#scoped-settings-scopes-and-scope-descriptors) // for more information. // * `source` (optional) {String} The name of a file with which the setting // is associated. Defaults to the user's config file. diff --git a/src/keymap-extensions.js b/src/keymap-extensions.js index 36fcd190e..9fdbe2b21 100644 --- a/src/keymap-extensions.js +++ b/src/keymap-extensions.js @@ -61,7 +61,7 @@ KeymapManager.prototype.loadUserKeymap = function() { On linux there are currently problems with watch sizes. See \ [this document][watches] for more info. \ - [watches]:https://github.com/atom/atom/blob/master/docs/build-instructions/linux.md#typeerror-unable-to-watch-path`; + [watches]:https://pulsar-edit.dev/docs/atom-archive/hacking-atom/#typeerror-unable-to-watch-path`; //TODO: Update the above to Pulsar docs if we choose to add this this.notificationManager.addError(message, {dismissable: true}); } else { diff --git a/src/main-process/atom-application.js b/src/main-process/atom-application.js index 3c25c7a06..34c753dda 100644 --- a/src/main-process/atom-application.js +++ b/src/main-process/atom-application.js @@ -599,7 +599,7 @@ module.exports = class AtomApplication extends EventEmitter { shell.openExternal('https://pulsar-edit.dev/docs/launch-manual/sections/faq/') ); this.on('application:open-terms-of-use', () => - shell.openExternal('https://atom.io/terms') + shell.openExternal('https://atom.io/terms') //TODO: This needs to be updated for when we have our own published on the site ); this.on('application:report-issue', () => shell.openExternal( diff --git a/src/main-process/atom-window.js b/src/main-process/atom-window.js index 16a77a197..0ca136fae 100644 --- a/src/main-process/atom-window.js +++ b/src/main-process/atom-window.js @@ -256,7 +256,7 @@ module.exports = class AtomWindow extends EventEmitter { buttons: ['Close Window', 'Reload', 'Keep It Open'], cancelId: 2, // Canceling should be the least destructive action message: 'The editor has crashed', - detail: 'Please report this issue to https://github.com/atom/atom' + detail: 'Please report this issue to https://github.com/pulsar-edit/pulsar' }); switch (result.response) { diff --git a/src/scope-descriptor.js b/src/scope-descriptor.js index 111ce5676..6dcfed402 100644 --- a/src/scope-descriptor.js +++ b/src/scope-descriptor.js @@ -15,7 +15,7 @@ // specific position in the buffer. // * {Cursor::getScopeDescriptor} to get a cursor's descriptor based on position. // -// See the [scopes and scope descriptor guide](http://flight-manual.atom.io/behind-atom/sections/scoped-settings-scopes-and-scope-descriptors/) +// See the [scopes and scope descriptor guide](https://pulsar-edit.dev/docs/launch-manual/sections/behind-pulsar#scoped-settings-scopes-and-scope-descriptors) // for more information. module.exports = class ScopeDescriptor { static fromObject(scopes) { diff --git a/src/theme-manager.js b/src/theme-manager.js index a25d08937..c520f1bc8 100644 --- a/src/theme-manager.js +++ b/src/theme-manager.js @@ -244,8 +244,8 @@ you have permissions to \`${userStylesheetPath}\`. On linux there are currently problems with watch sizes. See [this document][watches] for more info. -[watches]:https://github.com/atom/atom/blob/master/docs/build-instructions/linux.md#typeerror-unable-to-watch-path\ -`; +[watches]:https://pulsar-edit.dev/docs/atom-archive/hacking-atom/#typeerror-unable-to-watch-path +`; //TODO: Update the above to Pulsar docs if we choose to add this this.notificationManager.addError(message, { dismissable: true }); }