Skip to content

Commit

Permalink
[docs] Update guideline about using Libraries over module & add inter…
Browse files Browse the repository at this point in the history
…nal link (expo#22988)
  • Loading branch information
amandeepmittal authored Jun 20, 2023
1 parent 5a26ee8 commit 10b1e67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions guides/Expo Documentation Writing Style Guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ Do not add extra space between preceding and succeeding words and "/" just to em

Try splitting phrases into separate sentences. Our goal is to make documentation easier to read and understand.

In rare cases when it is necessary to split phrases, use em dashes (—) or use connections (such as then, however, and so on) rather than commas to split phrases that read as separate sentences.
In rare cases when it is necessary to split phrases, [use em dashes](#use-mdash) (—) or use connections (such as then, however, and so on) rather than commas to split phrases that read as separate sentences.

- Correct: JavaScript has come a long way since it was originally written in 10 days.
- Incorrect: JavaScript has come a long way, it was originally written in 10 days.
Expand Down Expand Up @@ -282,7 +282,7 @@ Terms referred in this section are meant to be used consistently throughout the
- A Swift module is a namespaced unit of code that can be distributed. It includes a module map and conforms to some other technical details.
- Library
- An overarching name for code that application developers call into as a part of their apps. Examples of libraries are Expo modules, npm packages, and iOS APIs.
- **"Expo libraries" is a synonym for Expo modules** but for consistency reasons, let’s stick to **Expo modules.**
- **"Expo libraries" is a synonym for Expo modules** and for consistency reasons, let’s use **Expo Libraries**.
- Package
- **npm packages** are units of code that include a file named package.json and are typically installed with npm or Yarn. They almost always include JavaScript code.
- Expo modules are distributed as npm packages.
Expand Down

0 comments on commit 10b1e67

Please sign in to comment.