Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: minor typos in docs #365

Merged
merged 2 commits into from
Feb 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
135 changes: 69 additions & 66 deletions website/docs/cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ sidebar_label: CLI

import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";

import WinTerminal from "@site/static/img/logo/Windows_Terminal_logo.svg";

# Win Tools & Utils

## Account
<WinTerminal />

## Local Account

<table>

Expand All @@ -31,7 +33,7 @@ import TabItem from "@theme/TabItem";
</td>
<td>

Enable/Disable Admin
Enable/Disable Superadmin

</td>
</tr>
Expand All @@ -46,7 +48,7 @@ NET USER /add LocalAdmin "Secr3t"
</td>
<td>

Add new user with password
Add new user "_LocalAdmin_" with password

</td>
</tr>
Expand All @@ -55,13 +57,13 @@ Add new user with password
<td>

```sh
NET LOCALGROUP administrator Ella /add
NET LOCALGROUP administrators LocalAdmin /add
```

</td>
<td>

Add User to Local Administrator Group
Add user "_LocalAdmin_" to Local Administrator Group

</td>
</tr>
Expand All @@ -84,7 +86,7 @@ Change User Password
<td>

```sh
NET USER Ella | findstr "Password"
NET USER LocalAdmin | findstr "Password"
```

</td>
Expand All @@ -98,65 +100,7 @@ View password properties
</table>


## Cache/Temp files
<table>

<tr>
<th>Command</th>
<th>Description</th>
</tr>

<tr>
<td>

```sh
del /q /f /s %temp%\*
```

</td>
<td>

Delete temp files as `User`

</td>
</tr>

<tr>
<td>

```sh
del /s /q C:\Windows\temp\*
```

</td>
<td>

Delete temp files as `Administrator`

</td>
</tr>
<tr>
<td>

```sh
del /q /f /s %temp%\* && del /s /q C:\Windows\temp\*
```

</td>
<td>

Delete temp files both `Administrator and User`

</td>
</tr>


</table>




## Management
## Device Management

<div class="contentTableContainer">

Expand Down Expand Up @@ -608,6 +552,65 @@ System Properties Control

## Misc.


### Cache/Temp files
<table>

<tr>
<th>Command</th>
<th>Description</th>
</tr>

<tr>
<td>

```sh
del /q /f /s %temp%\*
```

</td>
<td>

Delete temp files as `User`

</td>
</tr>

<tr>
<td>

```sh
del /s /q C:\Windows\temp\*
```

</td>
<td>

Delete temp files as `Administrator`

</td>
</tr>
<tr>
<td>

```sh
del /q /f /s %temp%\* && del /s /q C:\Windows\temp\*
```

</td>
<td>

Delete temp files both `Administrator and User`

</td>
</tr>


</table>




### URIs

<details>
Expand Down
23 changes: 7 additions & 16 deletions website/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import redirects from "./redirects";
import { admonitionsConfig } from "./admonitionsConfig";
import socialProfiles from './social';

const copyright = `Copyright © ${new Date().getFullYear()} Keith Tan <br> Built for the SpaceHub Project at <a href='https://github.com/kitiplex' target='_blank'>Kitiplex</a>`;
const copyright = `Copyright © ${new Date().getFullYear()} <a href='/me' target='_blank'>Keith Tan </a> <br> Built for the SpaceHub Project at <a href='https://github.com/kitiplex' target='_blank'>Kitiplex</a>`;


const commonExclusions = {
Expand Down Expand Up @@ -234,23 +234,14 @@ const config: Config = {
items: [
{ type: "doc", docId: "introduction", label: "Docs", },
{ to: "/docs/learn", label: "Learn" },
// {
// type: "dropdown",
// label: "Development",
// position: "left",
// items: [
// { type: "doc", docId: "introduction", label: "Guides", },
// { to: "/docs/learn", label: "Learn" },
// ]
// },
{ to: "/cosmos", label: "Cosmos" },
{ to: "/community", label: "Community" },
{ to: "/blog", label: "Blog" },
{
type: "html",
value: '<span class="badge badge--secondary">Beta</span>',
position: 'right'
},
// {
// type: "html",
// value: '<span class="badge badge--secondary">Beta</span>',
// position: 'right'
// },
{
type: "dropdown",
label: "More",
Expand Down Expand Up @@ -298,7 +289,7 @@ const config: Config = {
title: "Docs",
items: [
{ label: "Gists", to: "/docs/gists" },
{ label: "DevOps", to: "/docs/devops" },
{ label: "DevOps", to: "https://dev.azure.com/kitiplex" },
{ label: "Keyword", to: "/docs" },
],
},
Expand Down