Skip to content

Commit 8287427

Browse files
committed
Reorganize docs under docs/ and update Jekyll navigation/permalinks
1 parent 9cbf85f commit 8287427

11 files changed

Lines changed: 86 additions & 13 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,19 +176,19 @@ Optional modes:
176176

177177
## FAQ
178178

179-
See [faq.md](faq.md).
179+
See [faq](docs/faq.md).
180180

181181
---
182182

183183
## Scripts
184184

185-
See [scripts.md](scripts.md) for a complete table of scripts and descriptions.
185+
See [scripts](docs/scripts.md) for a complete table of scripts and descriptions.
186186

187187
---
188188

189189
## Other
190190

191-
For Git aliases, package management tips, IntelliJ integration, and more, see [details.md](details.md).
191+
For Git aliases, package management tips, IntelliJ integration, and more, see [details](docs/details.md).
192192

193193
---
194194

_config.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,30 @@ theme: jekyll-theme-cayman
2525

2626
# Navigation pages
2727
header_pages:
28-
- faq.md
29-
- details.md
30-
- scripts.md
28+
- docs/faq.md
29+
- docs/details.md
30+
- docs/scripts.md
3131
- CONTRIBUTING.md
32+
- docs/index.md
3233

3334
# Markdown settings
3435
markdown: kramdown
3536
kramdown:
3637
input: GFM
3738

39+
# Ensure docs pages are rendered with the theme layout
40+
defaults:
41+
- scope:
42+
path: "docs"
43+
type: "pages"
44+
values:
45+
layout: default
46+
3847
# Exclude files not needed in the built site
3948
exclude:
4049
- scripts/
4150
- config/
4251
- assets/triples.dot
43-
- docs/
4452
- "*.sh"
4553
- "*.ps1"
4654
- .github/

details.md renamed to docs/details.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
---
2+
title: Details
3+
permalink: /details/
4+
---
5+
16
# Details
27

38
## Table of Contents
@@ -359,7 +364,7 @@ upgrade to latest
359364
Configure IntelliJ to use GitHub Issues as a task manager. This allows you to create, view, and manage GitHub issues
360365
directly.
361366

362-
![Configure Servers](assets/intellij-tasks.png)
367+
![Configure Servers]({{ '/assets/intellij-tasks.png' | relative_url }})
363368

364369
---
365370

@@ -388,7 +393,7 @@ nested folders
388393

389394
## Reference
390395

391-
- [Notes](docs/notes.md)
396+
- [Notes]({{ '/docs/notes/' | relative_url }})
392397
- [The Linux Documentation Project](http://www.tldp.org/guides.html)
393398
- [Stackoverflow](https://stackoverflow.com)
394399
- [Git Gist](https://gist.github.com/eyecatchup/3fb7ef0c0cbdb72412fc)

faq.md renamed to docs/faq.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1+
---
2+
title: FAQ
3+
permalink: /faq/
4+
---
5+
16
## Frequently Asked Questions
27

38
## Question 1
49

510
ERROR: winget (App Installer) is not installed (Screenshot below).
611

7-
![winget not installed](assets/issue-winget-not-installed.png)
12+
![winget not installed]({{ '/assets/issue-winget-not-installed.png' | relative_url }})
813

914
### Solution
1015

@@ -174,4 +179,3 @@ x64
174179
175180
176181
Awesome, all set!
177-
```

docs/index.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
title: Documentation
3+
permalink: /docs/
4+
---
5+
6+
# Documentation
7+
8+
Use this section for deeper references and implementation notes.
9+
10+
## Core Guides
11+
12+
- [FAQ]({{ '/faq/' | relative_url }})
13+
- [Details]({{ '/details/' | relative_url }})
14+
- [Scripts]({{ '/scripts/' | relative_url }})
15+
16+
## Windows Setup Guides
17+
18+
- [VS Code extension setup]({{ '/docs/windows-vscode-setup/' | relative_url }})
19+
- [Taskbar setup]({{ '/docs/windows-taskbar-setup/' | relative_url }})
20+
21+
## Testing
22+
23+
- [Dry-run tests]({{ '/docs/tests/' | relative_url }})
24+
25+
## Reference
26+
27+
- [Notes]({{ '/docs/notes/' | relative_url }})
28+
- [VS Code extension catalog]({{ '/docs/vscode-info/' | relative_url }})

docs/notes.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
---
2+
title: Notes
3+
permalink: /docs/notes/
4+
---
5+
16
# 1. Notes
27

38
## 1.1. Table of Contents

scripts.md renamed to docs/scripts.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
---
2+
title: Scripts
3+
permalink: /scripts/
4+
---
5+
16
# Scripts
27

38
This file documents the repository's helper scripts and what they do. For usage details, run the individual scripts with `-Help` (Windows PowerShell scripts) or check the comments at the top of each script.
@@ -20,4 +25,3 @@ This file documents the repository's helper scripts and what they do. For usage
2025

2126

2227
> Tip: For Windows PowerShell scripts, run them from an elevated PowerShell session and use `-Help` to see runtime options such as `-DryRun`, `-Interactive`, and `-Silent`.
23-

docs/taskbar_setup_windows/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
---
2+
title: Windows Taskbar Setup
3+
permalink: /docs/windows-taskbar-setup/
4+
---
5+
16
# Windows Taskbar Setup
27

38
This folder contains a minimal Windows Taskbar setup script that pins and unpins apps based on a config file.

docs/tests/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
---
2+
title: Dry-Run Tests
3+
permalink: /docs/tests/
4+
---
5+
16
# Dry-Run Tests
27

38
This repo includes lightweight dry-run tests for both macOS and Windows scripts.
@@ -25,4 +30,3 @@ Run the Windows script checks from PowerShell:
2530
The Windows dry-run checks:
2631
- Parse each PowerShell script for syntax errors.
2732
- Run safe `-DryRun` checks for Taskbar and VS Code setup.
28-

docs/vscode-info.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
---
2+
title: VS Code Extension Catalog
3+
permalink: /docs/vscode-info/
4+
---
5+
16
| Name | Description |
27
|-------------------------------------------|----------------------------------------------------------------------------------------------------------------------|
38
| vscjava.vscode-java-pack | Java Extension Pack: Popular extensions for Java development. |

0 commit comments

Comments
 (0)