Skip to content

Commit b0cc4f4

Browse files
pages updated
1 parent f6d3401 commit b0cc4f4

File tree

3 files changed

+162
-22
lines changed

3 files changed

+162
-22
lines changed

.github/workflows/pages-deploy.yml

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
name: "Build and Deploy"
2+
on:
3+
push:
4+
branches:
5+
- main
6+
paths-ignore:
7+
- .gitignore
8+
- README.md
9+
- LICENSE
10+
11+
permissions:
12+
contents: read
13+
pages: write
14+
id-token: write
15+
16+
concurrency:
17+
group: "pages"
18+
cancel-in-progress: true
19+
20+
jobs:
21+
build:
22+
runs-on: ubuntu-latest
23+
24+
steps:
25+
- name: Checkout
26+
uses: actions/checkout@v4
27+
with:
28+
fetch-depth: 0
29+
# submodules: true
30+
# If using the 'assets' git submodule from Chirpy Starter, uncomment above
31+
# (See: https://github.com/cotes2020/chirpy-starter/tree/main/assets)
32+
33+
- name: Setup Pages
34+
id: pages
35+
uses: actions/configure-pages@v3
36+
37+
- name: Setup Ruby
38+
uses: ruby/setup-ruby@v1
39+
with:
40+
ruby-version: 3.2
41+
bundler-cache: true
42+
43+
- name: Build site
44+
run: bundle exec jekyll b -d "_site/docs"
45+
env:
46+
JEKYLL_ENV: "production"
47+
48+
- name: Test site
49+
run: |
50+
bundle exec htmlproofer _site --disable-external --check-html --allow_hash_href
51+
52+
- name: Upload site artifact
53+
uses: actions/upload-pages-artifact@v1
54+
with:
55+
path: "_site/docs"
56+
57+
deploy:
58+
environment:
59+
name: github-pages
60+
url: ${{ steps.deployment.outputs.page_url }}
61+
runs-on: ubuntu-latest
62+
needs: build
63+
64+
steps:
65+
- name: Deploy to GitHub Pages
66+
id: deployment
67+
uses: actions/deploy-pages@v2

docs/Gemfile

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,13 @@
11
source "https://rubygems.org"
2-
# Hello! This is where you manage which Jekyll version is used to run.
3-
# When you want to use a different version, change it below, save the
4-
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
5-
#
6-
# bundle exec jekyll serve
7-
#
8-
# This will help ensure the proper Jekyll version is running.
9-
# Happy Jekylling!
10-
gem "jekyll", "~> 4.3.4"
11-
# This is the default theme for new Jekyll sites. You may change this to anything you like.
12-
gem "minima", "~> 2.5"
13-
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
14-
# uncomment the line below. To upgrade, run `bundle update github-pages`.
15-
# gem "github-pages", group: :jekyll_plugins
16-
# If you have any plugins, put them here!
2+
3+
gem "jekyll-theme-chirpy", "~> 6.3"
4+
175
group :jekyll_plugins do
18-
gem "jekyll-feed", "~> 0.12"
6+
gem "jekyll-feed"
7+
gem "jekyll-paginate"
8+
gem "jekyll-seo-tag"
9+
gem "jekyll-archives"
10+
gem "jekyll-sitemap"
1911
end
2012

2113
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
@@ -31,3 +23,9 @@ gem "wdm", "~> 0.1", :platforms => [:mingw, :x64_mingw, :mswin]
3123
# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
3224
# do not have a Java counterpart.
3325
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
26+
27+
# Required for Ruby 3 and Jekyll
28+
gem "webrick"
29+
30+
# HTML Proofer for testing
31+
gem "html-proofer"

docs/_config.yml

Lines changed: 81 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,86 @@
11
title: Trading Pal
2-
email: your-email@example.com
2+
tagline: A trading platform for monitoring and managing financial assets
33
description: A trading platform for monitoring and managing financial assets.
4-
baseurl: "/docs"
5-
url: ""
6-
twitter_username: jekyllrb
7-
github_username: jekyll
8-
94
theme: jekyll-theme-chirpy
5+
baseurl: "/Trading_Pal-main"
6+
url: "https://united-visions.github.io"
7+
github:
8+
username: United-Visions
9+
10+
theme_mode: dark
11+
1012
plugins:
1113
- jekyll-feed
14+
- jekyll-paginate
15+
- jekyll-seo-tag
16+
- jekyll-archives
17+
- jekyll-sitemap
18+
19+
# The language of the webpage
20+
lang: en
21+
22+
# Change to your timezone
23+
timezone: UTC
24+
25+
# Pagination
26+
paginate: 10
27+
28+
# Jekyll Compose Defaults
29+
jekyll_compose:
30+
default_front_matter:
31+
drafts:
32+
description:
33+
image:
34+
category: []
35+
tags: []
36+
posts:
37+
description:
38+
image:
39+
category: []
40+
tags: []
41+
42+
kramdown:
43+
syntax_highlighter: rouge
44+
syntax_highlighter_opts:
45+
css_class: highlight
46+
span:
47+
line_numbers: false
48+
block:
49+
line_numbers: true
50+
start_line: 1
51+
52+
collections:
53+
tabs:
54+
output: true
55+
sort_by: order
56+
57+
defaults:
58+
- scope:
59+
path: ""
60+
type: posts
61+
values:
62+
layout: post
63+
comments: true
64+
toc: true
65+
- scope:
66+
path: _drafts
67+
values:
68+
comments: false
69+
- scope:
70+
path: ""
71+
type: tabs
72+
values:
73+
layout: page
74+
permalink: /:title/
75+
76+
sass:
77+
style: compressed
78+
79+
compress_html:
80+
clippings: all
81+
comments: all
82+
endings: all
83+
profile: false
84+
blanklines: false
85+
ignore:
86+
envs: [development]

0 commit comments

Comments
 (0)