mirror of
https://github.com/zed-industries/zed.git
synced 2026-12-03 14:01:30 +01:00
docs: Apply documentation standards across all docs (#49177)
## Summary
Comprehensive remediation of 146 documentation files to align with Zed's
documentation conventions and brand voice guidelines.
## Changes
### YAML Frontmatter
- Added `title` and `description` frontmatter to all docs missing it
### Settings UI Pattern
- Updated 48+ files to show Settings Editor before JSON examples
- Pattern: `Configure X in Settings ({#kb zed::OpenSettings}), or add to
your settings file:`
- Added `([how to edit](./configuring-zed.md#settings-files))` links for
JSON-only settings
### Brand Voice Fixes
- Removed exclamation points (command-palette, key-bindings, repl,
privacy-and-security, etc.)
- Simplified em dash chains to parentheticals (environment,
troubleshooting, agent-panel, etc.)
- Fixed marketing language (yarn.md intro, development/linux.md)
### Terminology Alignment
- `settings UI` -> `Settings Editor`
- `sidebar` -> specific panel names (Project Panel, Collab Panel)
- `directory` -> `folder` in non-technical contexts
- `workspace` -> `project` in non-LSP contexts
- `Command Palette` -> `command palette` (lowercase)
### Callout Standardization
- Converted various callout formats to standard `> **Note:**` pattern
## Related
Depends on conventions established in #49176.
Release Notes:
- N/A
This commit is contained in:
1 parent
9743fe7dfd
commit
6daa541e77
142 files changed
+1947
-489
No files matched your search
@@ -1,16 +1,21 @@
|
||||
---
|
||||
title: Building Zed for macOS
|
||||
description: "Guide to building zed for macos for Zed development."
|
||||
---
|
||||
|
||||
# Building Zed for macOS
|
||||
|
||||
## Repository
|
||||
|
||||
Clone down the [Zed repository](https://github.com/zed-industries/zed).
|
||||
Clone the [Zed repository](https://github.com/zed-industries/zed).
|
||||
|
||||
## Dependencies
|
||||
|
||||
- Install [rustup](https://www.rust-lang.org/tools/install)
|
||||
|
||||
- Install [Xcode](https://apps.apple.com/us/app/xcode/id497799835?mt=12) from the macOS App Store, or from the [Apple Developer](https://developer.apple.com/download/all/) website. Note this requires a developer account.
|
||||
- Install [Xcode](https://apps.apple.com/us/app/xcode/id497799835?mt=12) from the macOS App Store or from the [Apple Developer](https://developer.apple.com/download/all/) website. The Apple Developer download requires a developer account.
|
||||
|
||||
> Ensure you launch Xcode after installing, and install the macOS components, which is the default option.
|
||||
> Launch Xcode after installation and install the macOS components (the default option).
|
||||
|
||||
- Install [Xcode command line tools](https://developer.apple.com/xcode/resources/)
|
||||
|
||||
@@ -138,7 +143,7 @@ Caused by:
|
||||
cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS
|
||||
```
|
||||
|
||||
This file is part of Xcode. Ensure you have installed the Xcode command line tools and set the correct path:
|
||||
This file is part of Xcode. Make sure the Xcode command line tools are installed and the path is set correctly:
|
||||
|
||||
```sh
|
||||
xcode-select --install
|
||||
@@ -169,21 +174,18 @@ This error seems to be caused by OS resource constraints. Installing and running
|
||||
|
||||
### Avoiding continual rebuilds
|
||||
|
||||
If you are finding that Zed is continually rebuilding root crates, it may be because
|
||||
you are pointing your development Zed at the codebase itself.
|
||||
If Zed continually rebuilds root crates, you may be opening the Zed codebase itself in your development build.
|
||||
|
||||
This causes problems because `cargo run` exports a bunch of environment
|
||||
variables which are picked up by the `rust-analyzer` that runs in the development
|
||||
build of Zed. These environment variables are in turn passed to `cargo check`, which
|
||||
invalidates the build cache of some of the crates we depend on.
|
||||
|
||||
You can easily avoid running the built binary on the checked-out Zed codebase using `cargo run
|
||||
~/path/to/other/project` to ensure that you don't hit this.
|
||||
To avoid this, run the built binary against a different project, for example `cargo run ~/path/to/other/project`.
|
||||
|
||||
### Speeding up verification
|
||||
|
||||
If you are building Zed a lot, you may find that macOS continually verifies new
|
||||
builds which can add a few seconds to your iteration cycles.
|
||||
If you build Zed frequently, macOS may keep verifying new builds, which can add a few seconds to each iteration.
|
||||
|
||||
To fix this, you can:
|
||||
|
||||
|
||||
Reference in new issue
Block a user