Skip to content

Commit 23262a2

Browse files
committed
*fix documentation
1 parent a969e5b commit 23262a2

42 files changed

Lines changed: 1404 additions & 12060 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/Gemfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ gem "jekyll", "~> 4.3.0"
44
gem "jekyll-remote-theme"
55
gem "jekyll-seo-tag"
66
gem "jekyll-include-cache"
7-
gem "jekyll-feed"
8-
gem "jekyll-relative-links"
97

108
# Ruby 3.4.0 compatibility - add missing default gems
119
gem "csv"
@@ -27,4 +25,4 @@ gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
2725
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
2826

2927
# Use 0.18.4 for Ruby 2.4 compatibility
30-
gem "webrick", "~> 1.7"
28+
gem "webrick", "~> 1.7"

docs/Gemfile.lock

Lines changed: 1 addition & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -13,44 +13,14 @@ GEM
1313
http_parser.rb (~> 0)
1414
eventmachine (1.2.7)
1515
ffi (1.17.2)
16-
ffi (1.17.2-aarch64-linux-gnu)
17-
ffi (1.17.2-aarch64-linux-musl)
18-
ffi (1.17.2-arm-linux-gnu)
19-
ffi (1.17.2-arm-linux-musl)
2016
ffi (1.17.2-arm64-darwin)
21-
ffi (1.17.2-x86-linux-gnu)
22-
ffi (1.17.2-x86-linux-musl)
23-
ffi (1.17.2-x86_64-darwin)
24-
ffi (1.17.2-x86_64-linux-gnu)
25-
ffi (1.17.2-x86_64-linux-musl)
2617
forwardable-extended (2.6.0)
2718
google-protobuf (4.32.0)
2819
bigdecimal
2920
rake (>= 13)
30-
google-protobuf (4.32.0-aarch64-linux-gnu)
31-
bigdecimal
32-
rake (>= 13)
33-
google-protobuf (4.32.0-aarch64-linux-musl)
34-
bigdecimal
35-
rake (>= 13)
3621
google-protobuf (4.32.0-arm64-darwin)
3722
bigdecimal
3823
rake (>= 13)
39-
google-protobuf (4.32.0-x86-linux-gnu)
40-
bigdecimal
41-
rake (>= 13)
42-
google-protobuf (4.32.0-x86-linux-musl)
43-
bigdecimal
44-
rake (>= 13)
45-
google-protobuf (4.32.0-x86_64-darwin)
46-
bigdecimal
47-
rake (>= 13)
48-
google-protobuf (4.32.0-x86_64-linux-gnu)
49-
bigdecimal
50-
rake (>= 13)
51-
google-protobuf (4.32.0-x86_64-linux-musl)
52-
bigdecimal
53-
rake (>= 13)
5424
http_parser.rb (0.8.0)
5525
i18n (1.14.7)
5626
concurrent-ruby (~> 1.0)
@@ -70,12 +40,8 @@ GEM
7040
safe_yaml (~> 1.0)
7141
terminal-table (>= 1.8, < 4.0)
7242
webrick (~> 1.7)
73-
jekyll-feed (0.17.0)
74-
jekyll (>= 3.7, < 5.0)
7543
jekyll-include-cache (0.2.1)
7644
jekyll (>= 3.7, < 5.0)
77-
jekyll-relative-links (0.7.0)
78-
jekyll (>= 3.3, < 5.0)
7945
jekyll-remote-theme (0.4.3)
8046
addressable (~> 2.0)
8147
jekyll (>= 3.5, < 5.0)
@@ -111,68 +77,23 @@ GEM
11177
sass-embedded (1.90.0)
11278
google-protobuf (~> 4.31)
11379
rake (>= 13)
114-
sass-embedded (1.90.0-aarch64-linux-android)
115-
google-protobuf (~> 4.31)
116-
sass-embedded (1.90.0-aarch64-linux-gnu)
117-
google-protobuf (~> 4.31)
118-
sass-embedded (1.90.0-aarch64-linux-musl)
119-
google-protobuf (~> 4.31)
120-
sass-embedded (1.90.0-arm-linux-androideabi)
121-
google-protobuf (~> 4.31)
122-
sass-embedded (1.90.0-arm-linux-gnueabihf)
123-
google-protobuf (~> 4.31)
124-
sass-embedded (1.90.0-arm-linux-musleabihf)
125-
google-protobuf (~> 4.31)
12680
sass-embedded (1.90.0-arm64-darwin)
12781
google-protobuf (~> 4.31)
128-
sass-embedded (1.90.0-riscv64-linux-android)
129-
google-protobuf (~> 4.31)
130-
sass-embedded (1.90.0-riscv64-linux-gnu)
131-
google-protobuf (~> 4.31)
132-
sass-embedded (1.90.0-riscv64-linux-musl)
133-
google-protobuf (~> 4.31)
134-
sass-embedded (1.90.0-x86_64-darwin)
135-
google-protobuf (~> 4.31)
136-
sass-embedded (1.90.0-x86_64-linux-android)
137-
google-protobuf (~> 4.31)
138-
sass-embedded (1.90.0-x86_64-linux-gnu)
139-
google-protobuf (~> 4.31)
140-
sass-embedded (1.90.0-x86_64-linux-musl)
141-
google-protobuf (~> 4.31)
14282
terminal-table (3.0.2)
14383
unicode-display_width (>= 1.1.1, < 3)
14484
unicode-display_width (2.6.0)
14585
webrick (1.9.1)
14686

14787
PLATFORMS
148-
aarch64-linux-android
149-
aarch64-linux-gnu
150-
aarch64-linux-musl
151-
arm-linux-androideabi
152-
arm-linux-gnu
153-
arm-linux-gnueabihf
154-
arm-linux-musl
155-
arm-linux-musleabihf
156-
arm64-darwin
157-
riscv64-linux-android
158-
riscv64-linux-gnu
159-
riscv64-linux-musl
88+
arm64-darwin-23
16089
ruby
161-
x86-linux-gnu
162-
x86-linux-musl
163-
x86_64-darwin
164-
x86_64-linux-android
165-
x86_64-linux-gnu
166-
x86_64-linux-musl
16790

16891
DEPENDENCIES
16992
base64
17093
csv
17194
http_parser.rb (~> 0.6.0)
17295
jekyll (~> 4.3.0)
173-
jekyll-feed
17496
jekyll-include-cache
175-
jekyll-relative-links
17697
jekyll-remote-theme
17798
jekyll-seo-tag
17899
logger

docs/README.md

Lines changed: 64 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,86 +1,101 @@
11
# Kalco Documentation
22

3-
This directory contains the documentation website for Kalco, built with the [Just the Docs](https://just-the-docs.github.io/) Jekyll theme.
3+
This directory contains the documentation for Kalco, built using the [Just the Docs](https://just-the-docs.github.io/just-the-docs/) Jekyll theme.
44

5-
## Structure
5+
## 🏗️ Structure
66

7-
- `index.md` - Main landing page
8-
- `docs/` - Documentation pages organized by topic
9-
- `_config.yml` - Jekyll configuration
10-
- `Gemfile` - Ruby dependencies
7+
```
8+
docs/
9+
├── _config.yml # Jekyll configuration
10+
├── Gemfile # Ruby dependencies
11+
├── index.md # Home page
12+
├── docs/ # Documentation pages
13+
│ ├── getting-started/ # Getting started guides
14+
│ │ ├── index.md # Overview
15+
│ │ ├── installation.md # Installation guide
16+
│ │ ├── first-run.md # First run guide
17+
│ │ └── configuration.md # Configuration guide
18+
│ └── commands/ # Command reference
19+
│ ├── index.md # Commands overview
20+
│ └── export.md # Export command docs
21+
└── README.md # This file
22+
```
1123

12-
## Features
24+
## 🚀 Local Development
1325

14-
- **Search** - Full-text search across all documentation
15-
- **Navigation** - Hierarchical navigation with sidebar
16-
- **Responsive** - Mobile-friendly design
17-
- **GitHub Pages** - Automatic deployment
18-
- **Callouts** - Highlighted information boxes
19-
- **Code Highlighting** - Syntax highlighting for code blocks
20-
21-
## Local Development
26+
### Prerequisites
2227

23-
To run the documentation locally:
28+
- Ruby 3.0+ (recommended: use Homebrew on macOS)
29+
- Bundler gem
2430

25-
1. **Install Ruby and Bundler**
26-
```bash
27-
# macOS (with Homebrew)
28-
brew install ruby
29-
30-
# Ubuntu/Debian
31-
sudo apt-get install ruby-full build-essential
32-
33-
# Install Bundler
34-
gem install bundler
35-
```
31+
### Setup
3632

37-
2. **Install Dependencies**
33+
1. **Install Ruby dependencies:**
3834
```bash
3935
cd docs
4036
bundle install
4137
```
4238

43-
3. **Run Locally**
39+
2. **Start local server:**
4440
```bash
45-
bundle exec jekyll serve
41+
bundle exec jekyll serve --host 0.0.0.0 --port 4000
4642
```
4743

48-
4. **View Site**
44+
3. **View site:**
4945
Open [http://localhost:4000](http://localhost:4000) in your browser
5046

51-
## GitHub Pages
47+
### Build for Production
48+
49+
```bash
50+
bundle exec jekyll build
51+
```
5252

53-
The documentation is automatically deployed to GitHub Pages when pushed to the main branch. The workflow is defined in `.github/workflows/pages.yml`.
53+
## 🎨 Theme Features
5454

55-
## Adding New Pages
55+
- **Responsive design** - Works on all devices
56+
- **Search functionality** - Full-text search across all content
57+
- **Dark/light mode** - Toggle between color schemes
58+
- **Navigation** - Sidebar navigation with breadcrumbs
59+
- **Callouts** - Highlighted information boxes
60+
- **Git integration** - Last modified timestamps
5661

57-
1. **Create Markdown File**
58-
- Use `.md` extension
59-
- Include front matter with title and navigation order
62+
## 📝 Adding Content
6063

61-
2. **Front Matter Example**
64+
### New Pages
65+
66+
1. Create a new `.md` file in the appropriate directory
67+
2. Add front matter with metadata:
6268
```yaml
6369
---
6470
layout: default
6571
title: Page Title
66-
parent: Parent Section
6772
nav_order: 1
73+
parent: Parent Page
6874
---
6975
```
7076

71-
3. **Navigation Structure**
72-
- Use `has_children: true` for parent pages
73-
- Use `parent:` to specify hierarchy
74-
- Use `nav_order:` for ordering
77+
3. Update navigation by setting `nav_order` values
78+
79+
### Navigation Structure
80+
81+
- Use `nav_order` to control page order
82+
- Use `parent` to create hierarchical navigation
83+
- Use `has_children: true` for pages with sub-pages
84+
85+
## 🔧 Configuration
86+
87+
The `_config.yml` file contains:
88+
- Site metadata (title, description, URL)
89+
- Just the Docs theme configuration
90+
- Jekyll build settings
91+
- Collections and defaults
7592

76-
## Customization
93+
## 🚀 Deployment
7794

78-
- **Theme Options** - Modify `_config.yml` under `just_the_docs:`
79-
- **Styling** - Override CSS in `assets/css/`
80-
- **Layouts** - Customize Jekyll layouts in `_layouts/`
95+
This documentation is automatically deployed to GitHub Pages when changes are pushed to the `main` branch.
8196

82-
## Resources
97+
## 📚 Resources
8398

8499
- [Just the Docs Documentation](https://just-the-docs.github.io/just-the-docs/)
85-
- [Jekyll Documentation](https://jekyllrb.com/)
100+
- [Jekyll Documentation](https://jekyllrb.com/docs/)
86101
- [GitHub Pages](https://pages.github.com/)

0 commit comments

Comments
 (0)