Skip to content

Commit 3d22557

Browse files
test
1 parent 58e9f36 commit 3d22557

File tree

5 files changed

+149
-103
lines changed

5 files changed

+149
-103
lines changed

docs/Gemfile

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

3-
gem "github-pages", group: :jekyll_plugins
4-
gem "webrick", "~> 1.7"
3+
gem "jekyll", "~> 4.3.2"
4+
gem "minima"
55

66
group :jekyll_plugins do
7-
gem "jekyll-feed", "~> 0.12"
8-
gem "jekyll-seo-tag", "~> 2.6"
7+
gem "jekyll-feed"
8+
gem "jekyll-seo-tag"
9+
gem "jekyll-sitemap"
910
end
1011

1112
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
@@ -20,3 +21,6 @@ gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
2021
# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
2122
# do not have a Java counterpart.
2223
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
24+
25+
# Required for Ruby 3 and Jekyll
26+
gem "webrick"

docs/Gemfile.lock

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ GEM
6565
sass-embedded (~> 1.75)
6666
jekyll-seo-tag (2.8.0)
6767
jekyll (>= 3.8, < 5.0)
68+
jekyll-sitemap (1.4.0)
69+
jekyll (>= 3.7, < 5.0)
6870
jekyll-watch (2.2.1)
6971
listen (~> 3.0)
7072
kramdown (2.5.1)
@@ -157,12 +159,15 @@ PLATFORMS
157159

158160
DEPENDENCIES
159161
http_parser.rb (~> 0.6.0)
160-
jekyll (~> 4.3.4)
161-
jekyll-feed (~> 0.12)
162-
minima (~> 2.5)
162+
jekyll (~> 4.3.2)
163+
jekyll-feed
164+
jekyll-seo-tag
165+
jekyll-sitemap
166+
minima
163167
tzinfo (>= 1, < 3)
164168
tzinfo-data
165-
wdm (~> 0.1)
169+
wdm (~> 0.1.1)
170+
webrick
166171

167172
BUNDLED WITH
168173
2.5.11

docs/_config.yml

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,52 @@
11
title: Trading Pal
2-
description: A trading platform for monitoring and managing financial assets
2+
description: An advanced AI-powered trading platform with multi-broker integration and comprehensive market analysis capabilities
33
baseurl: "/Trading_Pal-main"
44
url: "https://united-visions.github.io"
55

66
# Build settings
7+
markdown: kramdown
78
theme: minima
89
plugins:
910
- jekyll-feed
1011
- jekyll-seo-tag
12+
- jekyll-sitemap
1113

1214
# Theme settings
1315
minima:
1416
skin: dark
17+
social_links:
18+
github: United-Visions/Trading_Pal-main
19+
20+
# Collections
21+
collections:
22+
docs:
23+
output: true
24+
permalink: /:collection/:path/
25+
26+
# Default settings
27+
defaults:
28+
- scope:
29+
path: ""
30+
type: "docs"
31+
values:
32+
layout: "default"
33+
- scope:
34+
path: ""
35+
type: "pages"
36+
values:
37+
layout: "default"
38+
39+
# Navigation
40+
header_pages:
41+
- index.html
42+
- data_server.html
43+
- charts_display.html
44+
- backtesting.html
45+
46+
# Sass settings
47+
sass:
48+
style: compressed
49+
sass_dir: _sass
1550

1651
# Exclude from processing
1752
exclude:

docs/assets/css/main.scss

Lines changed: 35 additions & 94 deletions
Original file line numberDiff line numberDiff line change
@@ -1,109 +1,50 @@
11
---
22
---
3+
@import
4+
"minima/skins/{{ site.minima.skin | default: 'dark' }}",
5+
"minima/initialize";
36

47
// Custom styles
58
.content {
6-
pre {
7-
background: #1a1a1a;
8-
padding: 1rem;
9-
border-radius: 0.5rem;
10-
margin: 1.5rem 0;
11-
}
12-
13-
code {
14-
color: #e83e8c;
15-
}
16-
17-
h1, h2, h3, h4, h5, h6 {
18-
margin-top: 2rem;
19-
margin-bottom: 1rem;
20-
color: #fff;
21-
}
22-
23-
p {
24-
line-height: 1.7;
25-
margin-bottom: 1.5rem;
26-
}
27-
}
28-
29-
.sidebar {
30-
position: sticky;
31-
top: 2rem;
32-
33-
.list-group-item {
34-
&:hover {
35-
background-color: #2d2d2d !important;
36-
}
37-
38-
&.active {
39-
background-color: #0d6efd !important;
40-
}
41-
}
42-
}
43-
44-
.navbar {
45-
box-shadow: 0 2px 4px rgba(0,0,0,.2);
46-
}
47-
48-
// API endpoint styling
49-
.api-endpoint {
9+
pre {
5010
background: #2d2d2d;
5111
padding: 1rem;
5212
border-radius: 0.5rem;
53-
margin: 1rem 0;
54-
55-
.method {
56-
color: #0d6efd;
57-
font-weight: bold;
58-
}
59-
60-
.path {
61-
color: #28a745;
62-
}
13+
margin: 1.5rem 0;
14+
}
15+
16+
code {
17+
color: #e83e8c;
18+
}
6319
}
6420

65-
// Documentation sections
66-
.doc-section {
67-
margin-bottom: 3rem;
68-
69-
.section-title {
70-
border-bottom: 2px solid #0d6efd;
71-
padding-bottom: 0.5rem;
72-
margin-bottom: 1.5rem;
73-
}
21+
.card {
22+
background-color: #1a1a1a;
23+
border-color: #343a40;
7424
}
7525

76-
// Table styling
77-
table {
78-
width: 100%;
79-
margin-bottom: 1rem;
80-
background-color: #2d2d2d;
81-
border-radius: 0.5rem;
82-
overflow: hidden;
83-
84-
th, td {
85-
padding: 1rem;
86-
border-bottom: 1px solid #1a1a1a;
87-
}
88-
89-
th {
90-
background-color: #1a1a1a;
91-
color: #fff;
92-
}
26+
.api-endpoint {
27+
background: #2d2d2d;
28+
padding: 1rem;
29+
border-radius: 0.5rem;
30+
margin: 1rem 0;
31+
32+
.method {
33+
color: #0d6efd;
34+
font-weight: bold;
35+
}
36+
37+
.path {
38+
color: #28a745;
39+
}
9340
}
9441

95-
// Code block improvements
96-
.language-json {
97-
.token.property {
98-
color: #9cdcfe;
99-
}
100-
.token.string {
101-
color: #ce9178;
102-
}
103-
.token.number {
104-
color: #b5cea8;
105-
}
106-
.token.boolean {
107-
color: #569cd6;
108-
}
42+
.doc-section {
43+
margin-bottom: 3rem;
44+
45+
.section-title {
46+
border-bottom: 2px solid #0d6efd;
47+
padding-bottom: 0.5rem;
48+
margin-bottom: 1.5rem;
49+
}
10950
}

docs/assets/css/style.scss

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
---
2+
---
3+
4+
@import "minima";
5+
6+
// Dark theme colors
7+
$background-color: #1a1a1a;
8+
$text-color: #f8f9fa;
9+
$brand-color: #0d6efd;
10+
$grey-color: #868e96;
11+
$grey-color-light: lighten($grey-color, 40%);
12+
$grey-color-dark: darken($grey-color, 25%);
13+
14+
body {
15+
background-color: $background-color;
16+
color: $text-color;
17+
}
18+
19+
.content {
20+
pre {
21+
background: #2d2d2d;
22+
padding: 1rem;
23+
border-radius: 0.5rem;
24+
margin: 1.5rem 0;
25+
}
26+
27+
code {
28+
color: #e83e8c;
29+
}
30+
}
31+
32+
.card {
33+
background-color: #1a1a1a;
34+
border-color: #343a40;
35+
}
36+
37+
.api-endpoint {
38+
background: #2d2d2d;
39+
padding: 1rem;
40+
border-radius: 0.5rem;
41+
margin: 1rem 0;
42+
43+
.method {
44+
color: #0d6efd;
45+
font-weight: bold;
46+
}
47+
48+
.path {
49+
color: #28a745;
50+
}
51+
}
52+
53+
.doc-section {
54+
margin-bottom: 3rem;
55+
56+
.section-title {
57+
border-bottom: 2px solid #0d6efd;
58+
padding-bottom: 0.5rem;
59+
margin-bottom: 1.5rem;
60+
}
61+
}

0 commit comments

Comments
 (0)