Skip to content

Commit f825960

Browse files
fix path and typo
1 parent 9943edf commit f825960

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

  • src/sections/Projects/Sistent/getting-started/about

src/sections/Projects/Sistent/getting-started/about/index.js

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import React from "react";
2-
import { Container } from "../../../reusecore/Layout";
3-
import SistentWrapper from "./sistent.style";
4-
import TOC from "../../../components/SistentNavigation";
5-
import IntraPage from "../../../components/handbook-navigation/intra-page";
6-
import SistentPagination from "../../../components/SistentNavigation/pagination";
2+
import { Container } from "../../../../../reusecore/Layout";
3+
import SistentWrapper from "../../sistent.style";
4+
import TOC from "../../../../../components/SistentNavigation";
5+
import IntraPage from "../../../../../components/SistentNavigation/intra-page";
6+
import SistentPagination from "../../../../../components/SistentNavigation/pagination";
77

88
import { Link } from "gatsby";
9-
import { useStyledDarkMode } from "../../../theme/app/useStyledDarkMode";
10-
import { CodeBlock } from "./components/button/code-block";
11-
import Code from "../../../components/CodeBlock";
9+
import { useStyledDarkMode } from "../../../../../theme/app/useStyledDarkMode";
10+
import { CodeBlock } from "../../components/button/code-block";
11+
import Code from "../../../../../components/CodeBlock";
1212
import { SistentThemeProvider, Button } from "@sistent/sistent";
1313

1414
const contents = [{ id: 0, link: "#About Sistent", text: "About Sistent" }];
@@ -120,10 +120,10 @@ const SistentAbout = () => {
120120
<Code codeString="npm install &lt;path-to-sistent-on-local-machine&gt;" />
121121
<p>Example:</p>
122122
<Code
123-
codeString={"# relative path\npm install ../../sistent\n\n# absolute path\npm install /home/five/code/sistent"}
123+
codeString={"# relative path\n npm install ../../sistent\n\n# absolute path\n npm install /home/five/code/sistent"}
124124
/>
125125
<p>This will update your Sistent dependency to:</p>
126-
<Code codeString={"\"@layer5/sistent\" : \"file:../../sistent\""} />
126+
<Code codeString={"\"@sistent/sistent\" : \"file:../../sistent\""} />
127127
</li>
128128
<li>
129129
<b>Build your local Sistent fork</b>
@@ -146,11 +146,11 @@ const SistentAbout = () => {
146146
<p>
147147
If you want to remove the local Sistent fork from your project, run:
148148
</p>
149-
<Code codeString="npm uninstall @layer5/sistent" />
149+
<Code codeString="npm uninstall @sistent/sistent" />
150150
<p>
151151
This will remove the local Sistent package from your project. You will have to install the standard package again after running this command:
152152
</p>
153-
<Code codeString="npm install @layer5/sistent" />
153+
<Code codeString="npm install @sistent/sistent" />
154154

155155

156156
<li>
@@ -162,12 +162,12 @@ const SistentAbout = () => {
162162
<li>
163163
<b>Link your local Sistent package globally</b>
164164
<p>In your local Sistent repo, run the following command:</p>
165-
<Code codeString={"cd <path-to-sistent-on-local-machine>\npm link"} />
165+
<Code codeString={"cd <path-to-sistent-on-local-machine>\n npm link"} />
166166
</li>
167167
<li>
168168
<b>Link Sistent in your project</b>
169169
<p>In the project where you want to use your local Sistent fork, run:</p>
170-
<Code codeString="npm link @layer5/sistent" />
170+
<Code codeString="npm link @sistent/sistent" />
171171
<p>This will create a symlink in your project's node_modules, pointing to your local Sistent package.</p>
172172
</li>
173173
<li>
@@ -184,21 +184,21 @@ const SistentAbout = () => {
184184
<p>
185185
Verify that your local fork is correctly linked by running:
186186
</p>
187-
<Code codeString={"npm ls -g\n\n# expected output:\n├── @layer5/sistent@0.14.11 -> ./../../../../<path-to-local-sistent-fork>"}/>
187+
<Code codeString={"npm ls -g\n\n# expected output:\n├── @sistent/sistent@0.14.11 -> ./../../../../<path-to-local-sistent-fork>"} />
188188
<p>
189189
You can also try this command to verify that your fork is correctly linked:
190190
</p>
191-
<Code codeString={"ls -l node_modules/@layer5/sistent\n\n# expected output:\nnode_modules/@layer5/sistent -> ../../../../../sistent"} />
191+
<Code codeString={"ls -l node_modules/@sistent/sistent\n\n# expected output:\nnode_modules/@sistent/sistent -> ../../../../../sistent"} />
192192
</li>
193193
<li>
194194
<p>
195195
To revert back to the official version of Sistent, run:
196196
</p>
197-
<Code codeString="npm unlink @layer5/sistent" />
197+
<Code codeString="npm unlink @sistent/sistent" />
198198
<p>
199199
Then reinstall the official version, using this command:
200200
</p>
201-
<Code codeString="npm install @layer5/sistent" />
201+
<Code codeString="npm install @sistent/sistent" />
202202
</li>
203203
</ol>
204204
</li>

0 commit comments

Comments
 (0)