Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
docs: Add copywriting and design tweaks (#17514)
Danilo Leal986e0113e51d
diff --git a/docs/src/assistant/assistant-panel.md b/docs/src/assistant/assistant-panel.mdindex 72d5013a593..7a85cd68f94 100644--- a/docs/src/assistant/assistant-panel.md+++ b/docs/src/assistant/assistant-panel.md@@ -9,8 +9,6 @@ To open the assistant panel, toggle the right dock by using the {#action workspaOnce you have [configured a provider](./configuration.md#providers), you can interact with the provider's language models in a context editor.--To create a new context editor, press {#kb workspace::NewFile} or use the menu in the top right of the assistant panel and select the `New Context` option.In the context editor, select a model from one of the configured providers, type a message in the `You` block, and submit with {#kb assistant::Assist}.@@ -49,7 +47,7 @@ Simple back-and-forth conversations work well with the assistant. However, there### Editing a Context-> **Note**: Wondering about Context vs Conversation? [Read more here](./contexts.md).+> **Note**: Wondering about Context vs. Conversation? [Read more here](./contexts.md).The assistant gives you the flexibility to have control over the context. You can freely edit any previous text, including the responses from the assistant. If you want to remove a message block entirely, simply place your cursor at the beginning of the block and use the `delete` key. A typical workflow might involve making edits and adjustments throughout the context to refine your inquiry or provide additional information. Here's an example:diff --git a/docs/src/code-of-conduct.md b/docs/src/code-of-conduct.mdindex 2cf217b5958..6c168dcc7dd 100644--- a/docs/src/code-of-conduct.md+++ b/docs/src/code-of-conduct.md@@ -114,15 +114,14 @@ the community.## Attribution+[homepage]: https://www.contributor-covenant.org+This Code of Conduct is adapted from the [Contributor Covenant][homepage],version 2.0, available at-https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.+[https://www.contributor-covenant.org/version/2/0/code_of_conduct.html](https://www.contributor-covenant.org/version/2/0/code_of_conduct.html).Community Impact Guidelines were inspired by [Mozilla's code of conductenforcement ladder](https://github.com/mozilla/diversity).-[homepage]: https://www.contributor-covenant.org--For answers to common questions about this code of conduct, see the FAQ at-https://www.contributor-covenant.org/faq. Translations are available at-https://www.contributor-covenant.org/translations.+For answers to common questions about this code of conduct, see [the Contributor Covenant FAQ](https://www.contributor-covenant.org/faq).+For translations, see [Contributor Covenant Translations](https://www.contributor-covenant.org/translations).diff --git a/docs/src/development/releases.md b/docs/src/development/releases.mdindex 8cf29911bec..5b821f3cf20 100644--- a/docs/src/development/releases.md+++ b/docs/src/development/releases.md@@ -16,7 +16,7 @@ You will need write access to the Zed repository to do this:- Checkout `main` and ensure your working copy is clean.- Run `./script/bump-zed-minor-versions` and push the tagsand branches as instructed.-- Wait for the builds to appear at https://github.com/zed-industries/zed/releases (typically takes around 30 minutes)+- Wait for the builds to appear on [the Releases tab on GitHub](https://github.com/zed-industries/zed/releases) (typically takes around 30 minutes)- While you're waiting:- Start creating the new release notes for preview. You can start with the output of `./script/get-preview-channel-changes`.- Start drafting the release tweets.@@ -38,7 +38,7 @@ You will need write access to the Zed repository to do this:- After the commits are cherry-picked onto the branch, run `./script/trigger-release {preview|stable}`. This will bump the version numbers, create a new release tag, and kick off a release build.- This can also be run from the [GitHub Actions UI](https://github.com/zed-industries/zed/actions/workflows/bump_patch_version.yml):-- Wait for the builds to appear at https://github.com/zed-industries/zed/releases (typically takes around 30 minutes)+- Wait for the builds to appear on [the Releases tab on GitHub](https://github.com/zed-industries/zed/releases) (typically takes around 30 minutes)- Proof-read and edit the release notes as needed.- Download the artifacts for each release and test that you can run them locally.- Publish the release.diff --git a/docs/src/languages/typescript.md b/docs/src/languages/typescript.mdindex 377121abc56..12529500d81 100644--- a/docs/src/languages/typescript.md+++ b/docs/src/languages/typescript.md@@ -46,7 +46,7 @@ Prettier will also be used for TypeScript files by default. To disable this:## Large projects-`vtsls` may run out of memory on very large projects. We default the limit to 8092 (8 GiB) vs the default of 3072 but this may not be sufficient for you:+`vtsls` may run out of memory on very large projects. We default the limit to 8092 (8 GiB) vs. the default of 3072 but this may not be sufficient for you:```json{@@ -66,7 +66,7 @@ Prettier will also be used for TypeScript files by default. To disable this:## Inlay HintsZed sets the following initialization options to make the language server send back inlay hints-(when Zed has inlay hints enabled in the settings).+(that is, when Zed has inlay hints enabled in the settings).You can override these settings in your configuration file:@@ -89,8 +89,6 @@ You can override these settings in your configuration file:}```-to override these settings.-See [typescript-language-server inlayhints documentation](https://github.com/typescript-language-server/typescript-language-server?tab=readme-ov-file#inlay-hints-textdocumentinlayhint) for more information.## See alsodiff --git a/docs/src/themes.md b/docs/src/themes.mdindex 70825209333..5dbd4b0d764 100644--- a/docs/src/themes.md+++ b/docs/src/themes.md@@ -4,11 +4,15 @@ Zed comes with a number of built-in themes, with more themes available as extens## Selecting a Theme-You can see what these are installed and preview them from the Theme Selector. You can open the Theme Selector from the command palette with "theme selector: Toggle" (bound to `cmd-k cmd-t` on macOS and `ctrl-k ctrl-t` on Linux). Selecting a theme by moving up and down will change the theme in real time and hitting enter will save it to your settings file.+See what themes are installed and preview them via the Theme Selector, which you can open from the command palette with "theme selector: Toggle" (bound to `cmd-k cmd-t` on macOS and `ctrl-k ctrl-t` on Linux).++Navigating through the theme list by moving up and down will change the theme in real time and hitting enter will save it to your settings file.## Installing more Themes-More themes are available from the Extensions page. You can open the Extensions page from the command palette with "zed: Extensions". Many popular themes have been ported to Zed, and if you're struggling to choose one, there's a third-party gallery hosted by https://zed-themes.com with visible previews for many of them.+More themes are available from the Extensions page, which you can access via the command palette with "zed: Extensions" or the [Zed website](https://zed.dev/extensions).++Many popular themes have been ported to Zed, and if you're struggling to choose one, visit [zed-themes.com](https://zed-themes.com), a third-party gallery with visible previews for many of them.## Configuring a Theme@@ -28,9 +32,9 @@ By default, Zed maintains two themes: one for light mode and one for dark mode.## Theme Overrides-You can also override specific attributes of a theme, by using the `experimental.theme_overrides` setting.+To override specific attributes of a theme, use the `experimental.theme_overrides` setting.-For example, to override the background color of the editor and the font style of comments, you can add the following to your `settings.json` file:+For example, to override the background color of the editor and the font style of comments, add the following to your `settings.json` file:```json{@@ -45,17 +49,15 @@ For example, to override the background color of the editor and the font style o}```-You can see which attributes are available to override by looking at the JSON format of your theme. For example, [here is the JSON format for the `One` themes](https://github.com/zed-industries/zed/blob/main/assets/themes/one/one.json).+See which attributes are available to override by looking at the JSON format of your theme. For example, [here is the JSON format for the `One` themes](https://github.com/zed-industries/zed/blob/main/assets/themes/one/one.json).## Local Themes-You can store new themes locally, by placing them in the `~/.config/zed/themes` directory.--For example, to create a new theme called `my-cool-theme`, you can create a file called `my-cool-theme.json` in that directory.+Store new themes locally by placing them in the `~/.config/zed/themes` directory.-It will be available in the theme selector the next time Zed loads.+For example, to create a new theme called `my-cool-theme`, create a file called `my-cool-theme.json` in that directory. It will be available in the theme selector the next time Zed loads.-You can find a lot of themes at [zed-themes.com](https://zed-themes.com).+Find more themes at [zed-themes.com](https://zed-themes.com).## Theme Developmentdiff --git a/docs/theme/css/general.css b/docs/theme/css/general.cssindex a0724ade7ab..9a20751f211 100644--- a/docs/theme/css/general.css+++ b/docs/theme/css/general.css@@ -235,7 +235,7 @@ blockquote {margin: auto;margin-top: 1rem;padding: 1rem 1.25rem;- color: var(--fg);+ color: #000;background-color: var(--quote-bg);border: 1px solid var(--quote-border);}@@ -268,6 +268,7 @@ blockquote .warning:before {.warning {margin: auto;padding: 1rem 1.25rem;+ color: #000;background-color: var(--warning-bg);border: 1px solid var(--warning-border);}@@ -311,8 +312,10 @@ kbd {margin-block-start: 2em;}.footnote-definition {- font-size: 0.9em;+ font-size: 1.4rem;margin: 0.5em 0;+ border-bottom: 1px solid;+ border-color: var(--border-light);}.footnote-definition p {display: inline;diff --git a/docs/theme/css/variables.css b/docs/theme/css/variables.cssindex ded179c653b..481cb5a6c18 100644--- a/docs/theme/css/variables.css+++ b/docs/theme/css/variables.css@@ -14,11 +14,12 @@--code-font-size: 0.875em/* please adjust the ace font size accordingly in editor.js */;- --bg: hsl(48, 30%, 95%);+ --bg: hsla(50, 25%, 96%);--fg: hsl(220, 13%, 34%);--title-color: hsl(220, 92%, 42%);--border: hsl(220, 13%, 80%);+ --border-light: hsl(220, 13%, 90%);--border-hover: hsl(220, 13%, 70%);--sidebar-fg: hsl(0, 0%, 0%);