Skip to content

Commit 886774b

Browse files
committed
docs: update documentation links to stable docs.phcode.dev/app-links urls
1 parent d36e387 commit 886774b

File tree

5 files changed

+29
-16
lines changed

5 files changed

+29
-16
lines changed

docs/API-Reference/command/CommandManager.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ use \uXXXX instead of an HTML entity.
107107
| Param | Type | Description |
108108
| --- | --- | --- |
109109
| name | <code>string</code> | |
110-
| htmlName | <code>string</code> | If set, this will be displayed in ui menus instead of the name given. Eg. "Phoenix menu<i class='fa fa-car' style='margin-left: 4px;'></i>" |
110+
| htmlName | <code>string</code> | If set, this will be displayed in ui menus instead of the name given. Example: `"Phoenix menu<i class='fa fa-car' style='margin-left: 4px;'></i>"` |
111111

112112
<a name="Command+getName"></a>
113113

@@ -164,7 +164,7 @@ Registers a global command.
164164
| commandFn | <code>function</code> | the function to call when the command is executed. Any arguments passed to execute() (after the id) are passed as arguments to the function. If the function is asynchronous, it must return a jQuery promise that is resolved when the command completes. Otherwise, the CommandManager will assume it is synchronous, and return a promise that is already resolved. |
165165
| [options] | <code>Object</code> | |
166166
| options.eventSource | <code>boolean</code> | If set to true, the commandFn will be called with the first argument `event` with details about the source(invoker) as event.eventSource(one of the `CommandManager.SOURCE_*`) and event.sourceType(Eg. Ctrl-K) parameter. |
167-
| options.htmlName | <code>string</code> | If set, this will be displayed in ui menus instead of the name given. Eg. "Phoenix menu<i class='fa fa-car' style='margin-left: 4px;'></i>" |
167+
| options.htmlName | <code>string</code> | If set, this will be displayed in ui menus instead of the name given. Example: `"Phoenix menu<i class='fa fa-car' style='margin-left: 4px;'></i>"` |
168168

169169
<a name="registerInternal"></a>
170170

src/assets/default-project/en/Newly_added_features.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ We are continuously adding features every week to improve the life of web develo
77

88
Here's a list of top features recently added to Phoenix:
99

10-
<h2><a target="_blank" href="https://docs.phcode.dev/docs/Features/git">Git for Desktop</a></h2>
10+
<h2><a target="_blank" href="https://docs.phcode.dev/app-links/git">Git for Desktop</a></h2>
1111

1212
`Added on January, 2025`
1313

@@ -21,7 +21,7 @@ Now available in the Windows, Mac and Linux desktop apps of Phoenix code.
2121
![Image](https://github.com/user-attachments/assets/6e7b9faf-d57b-448b-a5bb-a111c67489b5)
2222

2323

24-
<h2><a target="_blank" href="https://docs.phcode.dev/docs/editing-colors#color-preview">Color Previews</a></h2>
24+
<h2><a target="_blank" href="https://docs.phcode.dev/app-links/color-preview">Color Previews</a></h2>
2525

2626
`Added on December, 2024`
2727

@@ -39,7 +39,7 @@ Windows, macOS, and Linux desktop apps!
3939

4040
![Image](https://github.com/user-attachments/assets/710330ae-8b34-4a51-a1f9-4c02736ed9bd)
4141

42-
<h2><a target="_blank" href="https://docs.phcode.dev/docs/editing-text#line-height">Customizable Editor Line Height</a></h2>
42+
<h2><a target="_blank" href="https://docs.phcode.dev/app-links/extn-line-height">Customizable Editor Line Height</a></h2>
4343

4444
`Added on November, 2024`
4545

@@ -50,7 +50,7 @@ Also added a `Get More...` button to the Themes dialog, linking directly to the
5050

5151
![image](https://github.com/user-attachments/assets/97a46d9a-e971-401d-8a77-015afa6d5972)
5252

53-
<h2><a target="_blank" href="https://docs.phcode.dev/docs/editing-text#indent-guide-lines">Indent Guide Lines</a></h2>
53+
<h2><a target="_blank" href="https://docs.phcode.dev/app-links/indent-guide-lines">Indent Guide Lines</a></h2>
5454

5555
`Added on October, 2024`
5656

@@ -59,15 +59,15 @@ be toggled via `View > Indent Guide Lines`.
5959

6060
![image](https://github.com/user-attachments/assets/3d9d0c55-3c9e-4ab3-bbc0-53b563d19e39)
6161

62-
<h2><a target="_blank" href="https://docs.phcode.dev/docs/editing-text/#auto-space-detection">Auto Tab and Spacing Detection</a></h2>
62+
<h2><a target="_blank" href="https://docs.phcode.dev/app-links/auto-space-detection">Auto Tab and Spacing Detection</a></h2>
6363

6464
`Added on August, 2024`
6565

6666
Phoenix Code can now automatically detect and apply the indentation style (tabs or spaces) based on the existing code in the file.
6767

6868
![image](https://github.com/user-attachments/assets/0adc47c5-a561-4002-bffb-d7bcde999b9d)
6969

70-
<h2><a target="_blank" href="https://docs.phcode.dev/docs/editing-text/#auto-rename-tag">Auto rename start and end of HTML/XML/SVG tags</a></h2>
70+
<h2><a target="_blank" href="https://docs.phcode.dev/app-links/auto-rename-tag">Auto rename start and end of HTML/XML/SVG tags</a></h2>
7171

7272
`Added on July, 2024`
7373

@@ -101,7 +101,7 @@ Code to open individual files. Drop a folder to open it as a project.
101101
102102
![drag and drop](https://github.com/phcode-dev/phoenix/assets/5336369/ddd96ff7-bc99-46a6-a62d-6f6f5b78438b)
103103

104-
<h2><a target="_blank" href="https://docs.phcode.dev/docs/Features/Problems%20Panel/html-lint/">HTML Validation</a></h2>
104+
<h2><a target="_blank" href="https://docs.phcode.dev/app-links/html-lint">HTML Validation</a></h2>
105105

106106
`Added on June, 2024`
107107

@@ -110,7 +110,7 @@ unrecognized tags, and more.
110110

111111
![HTML validate](https://github.com/phcode-dev/phoenix/assets/5336369/5bc4a1cc-2429-477c-83ca-91f19dcc0b0f)
112112

113-
<h2><a target="_blank" href="https://docs.phcode.dev/docs/Features/Problems%20Panel/ESLint/">ESLint Support</a></h2>
113+
<h2><a target="_blank" href="https://docs.phcode.dev/app-links/ESLint">ESLint Support</a></h2>
114114

115115
`Added on June, 2024`
116116

@@ -130,7 +130,7 @@ CSS files and inline CSS styles/class names in HTML files. This provides an inst
130130

131131
![classLiveHints](https://github.com/phcode-dev/phoenix/assets/5336369/502c8751-5269-4c34-9178-5ad08f8ad837)
132132

133-
<h2><a target="_blank" href="https://docs.phcode.dev/docs/Features/Live%20Preview/live-preview-settings">Custom Live Preview Servers</a></h2>
133+
<h2><a target="_blank" href="https://docs.phcode.dev/app-links/live-preview-settings">Custom Live Preview Servers</a></h2>
134134

135135
`Added on April, 2024`
136136

@@ -154,7 +154,7 @@ detection for CSS, SCSS, and LESS files.
154154
![image](https://github.com/phcode-dev/phoenix/assets/5336369/9c083bd3-9e34-418d-a1c8-c152393c37b2)
155155

156156

157-
<h2><a target="_blank" href="https://docs.phcode.dev/docs/Features/editor-rulers/">Editor Rulers</a></h2>
157+
<h2><a target="_blank" href="https://docs.phcode.dev/app-links/editor-rulers">Editor Rulers</a></h2>
158158

159159
`Added on April, 2024`
160160

@@ -163,7 +163,7 @@ lengths.
163163

164164
![image](https://github.com/phcode-dev/phoenix/assets/5336369/71b8b04c-d2ca-47b8-84bb-53cd0fb4593c)
165165

166-
<h2><a target="_blank" href="https://docs.phcode.dev/docs/Features/find-in-files/">Search Filters - Advanced find in files</a></h2>
166+
<h2><a target="_blank" href="https://docs.phcode.dev/app-links/find-in-files">Search Filters - Advanced find in files</a></h2>
167167

168168
`Added on March, 2024`
169169

src/command/CommandManager.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ define(function (require, exports, module) {
206206
*
207207
* @param {string} name
208208
* @param {string} htmlName If set, this will be displayed in ui menus instead of the name given.
209-
* Eg. "Phoenix menu<i class='fa fa-car' style='margin-left: 4px;'></i>"
209+
* Example: `"Phoenix menu<i class='fa fa-car' style='margin-left: 4px;'></i>"`
210210
*/
211211
Command.prototype.setName = function (name, htmlName) {
212212
let changed = this._name !== name;
@@ -249,7 +249,8 @@ define(function (require, exports, module) {
249249
* with details about the source(invoker) as event.eventSource(one of the `CommandManager.SOURCE_*`) and
250250
* event.sourceType(Eg. Ctrl-K) parameter.
251251
* @param {string} options.htmlName If set, this will be displayed in ui menus instead of the name given.
252-
* Eg. "Phoenix menu<i class='fa fa-car' style='margin-left: 4px;'></i>"
252+
* Example: `"Phoenix menu<i class='fa fa-car' style='margin-left: 4px;'></i>"`
253+
*
253254
* @return {?Command}
254255
*/
255256
function register(name, id, commandFn, options={}) {

src/extensions/default/DefaultExtensions.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,18 @@
3737
"github-Pluto-custom-line-height"
3838
]
3939
},
40+
"deprecatedExtensions": {
41+
"description": "list extension ids that you want to show a dialog once that the extension is deprecated when installed from extension store or has already been installed.",
42+
"note": "use this only is we add support for the extension in core directly and has an alternative. dialog says: The following installed extensions are natively supported by phoenix and is recommended to remove it. The url is the documentation link for the feature replacing the extension feature.",
43+
"extensionIDsAndDocs": {
44+
"bib-locked-live-preview": "https://docs.phcode.dev/app-links/live-preview",
45+
"brackets-display-shortcuts": "https://docs.phcode.dev/app-links/keyboard-shortcuts",
46+
"changing-tags": "https://docs.phcode.dev/app-links/auto-rename-tag",
47+
"brackets-indent-guides": "https://docs.phcode.dev/app-links/indent-guide-lines",
48+
"brackets-emmet": "https://docs.phcode.dev/app-links/emmet",
49+
"github-Pluto-custom-line-height": "https://docs.phcode.dev/app-links/extn-line-height"
50+
}
51+
},
4052
"dontLoadExtensions": {
4153
"note": "To take down any compromised extensions, see `extensionTakedownURL` in repo"
4254
}

src/nls/root/strings.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1597,7 +1597,7 @@ define({
15971597
"ERROR_FETCH_REMOTE": "Fetching remote information failed",
15981598
"ERROR_PREPARING_COMMIT_DIALOG": "Preparing commit dialog failed",
15991599
"GIT_TOAST_TITLE": "Explore Git Features in Phoenix Code",
1600-
"GIT_TOAST_MESSAGE": "Click the Git panel icon to manage your repository. Easily commit, push, pull, and view your project history—all in one place.<br><a href='https://docs.phcode.dev/docs/Features/git'>Learn more about the Git panel →</a>",
1600+
"GIT_TOAST_MESSAGE": "Click the Git panel icon to manage your repository. Easily commit, push, pull, and view your project history—all in one place.<br><a href='https://docs.phcode.dev/app-links/git'>Learn more about the Git panel →</a>",
16011601

16021602
// surveys
16031603
"SURVEY_TITLE_VOTE_FOR_FEATURES_YOU_WANT": "Vote for the features you want to see next!",

0 commit comments

Comments
 (0)