Skip to content

Commit 88d05d3

Browse files
committed
feat: switch to Just the Docs theme for better documentation UX
1 parent e929061 commit 88d05d3

File tree

11 files changed

+295
-3941
lines changed

11 files changed

+295
-3941
lines changed

docs/Gemfile

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
source "https://rubygems.org"
22

33
gem "jekyll", "~> 4.3.0"
4-
gem "minimal-mistakes-jekyll"
5-
gem "jekyll-feed"
6-
gem "jekyll-sitemap"
7-
gem "jekyll-gist"
8-
gem "jekyll-include-cache"
9-
gem "jekyll-seo-tag"
4+
gem "just-the-docs"
105

11-
group :jekyll_plugins do
12-
gem "jekyll-paginate"
13-
gem "jekyll-archives"
14-
gem "jekyll-redirect-from"
15-
end
6+
# Jekyll plugins
7+
gem "jekyll-seo-tag"
8+
gem "jekyll-sitemap"
9+
gem "jekyll-feed"
1610

1711
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
1812
# and associated library.

docs/_config.yml

Lines changed: 83 additions & 142 deletions
Original file line numberDiff line numberDiff line change
@@ -4,164 +4,105 @@ description: "Secure command validation and analysis for development workflows"
44
url: "https://etherisc.github.io"
55
baseurl: "/ai-command-auditor"
66

7-
# Site author
8-
author:
9-
name: "Etherisc"
10-
bio: "Decentralized insurance protocols and development tools"
11-
avatar: "/assets/images/avatar.jpg"
12-
links:
13-
- label: "GitHub"
14-
icon: "fab fa-fw fa-github"
15-
url: "https://github.com/etherisc"
7+
# Theme
8+
remote_theme: just-the-docs/just-the-docs
9+
10+
# Color scheme
11+
color_scheme: light
1612

17-
# Theme and appearance
18-
remote_theme: "mmistakes/minimal-mistakes"
19-
minimal_mistakes_skin: "default"
13+
# Logo and favicon
14+
logo: "/assets/images/logo.png"
2015

21-
# Reading settings
22-
markdown: kramdown
23-
highlighter: rouge
24-
lsi: false
25-
excerpt_separator: "\n\n"
26-
incremental: false
16+
# Search
17+
search_enabled: true
18+
search:
19+
heading_level: 2
20+
previews: 3
21+
preview_words_before: 5
22+
preview_words_after: 10
23+
tokenizer_separator: /[\s/]+/
24+
rel_url: true
25+
button: false
26+
27+
# Navigation
28+
nav_sort: case_insensitive
29+
30+
# Aux links (top right)
31+
aux_links:
32+
"GitHub Repository":
33+
- "https://github.com/etherisc/ai-command-auditor"
34+
"Quick Install":
35+
- "/installation"
36+
37+
aux_links_new_tab: true
38+
39+
# Footer
40+
footer_content: "Copyright &copy; 2024 Etherisc. Distributed under the <a href=\"https://github.com/etherisc/ai-command-auditor/blob/main/LICENSE\">MIT License</a>."
41+
42+
# Back to top link
43+
back_to_top: true
44+
back_to_top_text: "Back to top"
45+
46+
# Last edit timestamp
47+
last_edit_timestamp: true
48+
last_edit_time_format: "%b %e %Y at %I:%M %p"
49+
50+
# Git repository info
51+
gh_edit_link: true
52+
gh_edit_link_text: "Edit this page on GitHub"
53+
gh_edit_repository: "https://github.com/etherisc/ai-command-auditor"
54+
gh_edit_branch: "main"
55+
gh_edit_source: docs
56+
gh_edit_view_mode: "tree"
57+
58+
# Callouts
59+
callouts_level: quiet
60+
callouts:
61+
highlight:
62+
color: yellow
63+
new:
64+
title: New
65+
color: green
66+
note:
67+
title: Note
68+
color: blue
69+
warning:
70+
title: Warning
71+
color: red
72+
73+
# Mermaid diagrams
74+
mermaid:
75+
version: "9.1.3"
2776

2877
# Plugins
2978
plugins:
30-
- jekyll-paginate
79+
- jekyll-seo-tag
3180
- jekyll-sitemap
32-
- jekyll-gist
3381
- jekyll-feed
34-
- jekyll-include-cache
35-
- jekyll-seo-tag
36-
37-
# Analytics
38-
analytics:
39-
provider: false
40-
41-
# Search
42-
search: true
43-
search_full_content: true
4482

4583
# SEO
46-
logo: "/assets/images/logo.png"
47-
og_image: "/assets/images/ai-auditor-og.png"
84+
author:
85+
name: "Etherisc"
86+
url: "https://github.com/etherisc"
4887

49-
# Social
5088
social:
51-
type: Organization
5289
name: Etherisc
5390
links:
54-
- "https://github.com/etherisc"
55-
56-
# Main navigation
57-
main:
58-
- title: "Installation"
59-
url: /installation
60-
- title: "Configuration"
61-
url: /configuration
62-
- title: "API Reference"
63-
url: /api
64-
- title: "Examples"
65-
url: /examples
66-
- title: "Support"
67-
url: /support
68-
- title: "GitHub"
69-
url: "https://github.com/etherisc/ai-command-auditor"
70-
71-
# Sidebar navigation for docs
72-
sidebar:
73-
nav: "docs"
74-
75-
# Documentation navigation
76-
docs:
77-
- title: Getting Started
78-
children:
79-
- title: "Installation Guide"
80-
url: /installation
81-
- title: "Installation Methods"
82-
url: /installation/methods
83-
84-
- title: Configuration
85-
children:
86-
- title: "Configuration Overview"
87-
url: /configuration
88-
- title: "Security Rules"
89-
url: /configuration/security-rules
90-
- title: "AI Prompts"
91-
url: /configuration/ai-prompts
92-
93-
- title: API Reference
94-
children:
95-
- title: "CLI Commands"
96-
url: /api/cli
97-
- title: "Python API"
98-
url: /api/python
99-
100-
- title: Examples
101-
children:
102-
- title: "Getting Started Tutorial"
103-
url: /examples/tutorial
104-
105-
- title: Support
106-
children:
107-
- title: "Support Overview"
108-
url: /support
109-
110-
# Defaults
111-
defaults:
112-
# _posts
113-
- scope:
114-
path: ""
115-
type: posts
116-
values:
117-
layout: single
118-
author_profile: true
119-
read_time: true
120-
comments: false
121-
share: true
122-
related: true
123-
sidebar:
124-
nav: "docs"
125-
126-
# _pages (all markdown files)
127-
- scope:
128-
path: ""
129-
type: pages
130-
values:
131-
layout: single
132-
author_profile: false
133-
sidebar:
134-
nav: "docs"
135-
136-
# Pagination
137-
paginate: 5
138-
paginate_path: /page:num/
139-
140-
# Archives
141-
category_archive:
142-
type: liquid
143-
path: /categories/
144-
tag_archive:
145-
type: liquid
146-
path: /tags/
147-
148-
# HTML Compression
149-
compress_html:
150-
clippings: all
151-
ignore:
152-
envs: development
91+
- https://github.com/etherisc
15392

15493
# Exclude from processing
15594
exclude:
156-
- .sass-cache/
157-
- .jekyll-cache/
158-
- gemfiles/
95+
- node_modules/
96+
- "*.gemspec"
97+
- "*.gem"
15998
- Gemfile
16099
- Gemfile.lock
161-
- node_modules/
162-
- vendor/bundle/
163-
- vendor/cache/
164-
- vendor/gems/
165-
- vendor/ruby/
166-
- "*.sh"
100+
- package.json
101+
- package-lock.json
102+
- script/
103+
- LICENSE.txt
104+
- lib/
105+
- bin/
167106
- README.md
107+
- Rakefile
108+
- docs/tests/

0 commit comments

Comments
 (0)