Skip to content

Commit a4a39ab

Browse files
authoredAug 4, 2024
docs: Update fonts, styles, CF Pages index exclusion (#390)
1 parent 9f20b70 commit a4a39ab

File tree

10 files changed

+26
-17
lines changed

10 files changed

+26
-17
lines changed
 

‎.github/workflows/deploy-website.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
environment:
17-
name: docs-website
17+
name: stockindicators.dev
18+
url: https://python.stockindicators.dev
1819

1920
steps:
2021
- name: Checkout source
@@ -24,8 +25,7 @@ jobs:
2425
uses: ruby/setup-ruby@v1
2526
with:
2627
working-directory: docs
27-
ruby-version: 3.2
28-
bundler-cache: false
28+
ruby-version: 3.3
2929

3030
- name: Define tag
3131
id: tag
@@ -38,7 +38,7 @@ jobs:
3838
replace: "${{ steps.tag.outputs.version }}"
3939
regex: false
4040

41-
- name: Setup GEMs
41+
- name: Install GEMs
4242
working-directory: docs
4343
env:
4444
BUNDLE_GEMFILE: ${{github.workspace}}/docs/GemFile

‎README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
**Stock Indicators for Python** is a PyPI library package that produces financial market technical indicators. Send in historical price quotes and get back desired indicators such as moving averages, Relative Strength Index, Stochastic Oscillator, Parabolic SAR, etc. Nothing more.
99

10-
It can be used in any market analysis software using standard OHLCV price quotes for equities, commodities, forex, cryptocurrencies, and others. We had private trading algorithms, machine learning, and charting systems in mind when originally creating this community library. [Stock Indicators for .NET](https://dotnet.stockindicators.dev/) is also available.
10+
It can be used in any market analysis software using standard OHLCV price quotes for equities, commodities, forex, cryptocurrencies, and others. We had trading algorithms, machine learning, and charting systems in mind when originally creating this community library. [Stock Indicators for .NET](https://dotnet.stockindicators.dev/) is also available.
1111

1212
Visit our project site for more information:
1313

‎docs/GemFile.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ GEM
4040
ethon (0.16.0)
4141
ffi (>= 1.15.0)
4242
execjs (2.9.1)
43-
faraday (2.10.0)
43+
faraday (2.10.1)
4444
faraday-net_http (>= 2.0, < 3.2)
4545
logger
46-
faraday-net_http (3.1.0)
46+
faraday-net_http (3.1.1)
4747
net-http
4848
faraday-retry (2.2.1)
4949
faraday (~> 2.0)
@@ -246,7 +246,7 @@ GEM
246246
mutex_m (0.2.0)
247247
net-http (0.4.1)
248248
uri
249-
nokogiri (1.16.6)
249+
nokogiri (1.16.7)
250250
mini_portile2 (~> 2.8.2)
251251
racc (~> 1.4)
252252
octokit (4.25.1)
@@ -255,11 +255,11 @@ GEM
255255
pathutil (0.16.2)
256256
forwardable-extended (~> 2.6)
257257
public_suffix (5.1.1)
258-
racc (1.8.0)
258+
racc (1.8.1)
259259
rb-fsevent (0.11.2)
260260
rb-inotify (0.11.1)
261261
ffi (~> 1.0)
262-
rexml (3.3.2)
262+
rexml (3.3.4)
263263
strscan
264264
rouge (3.30.0)
265265
rubyzip (2.3.2)
@@ -284,7 +284,7 @@ GEM
284284
execjs (>= 0.3.0, < 3)
285285
unicode-display_width (1.8.0)
286286
uri (0.13.0)
287-
wdm (0.1.1)
287+
wdm (0.2.0)
288288
webrick (1.8.1)
289289

290290
PLATFORMS

‎docs/_config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ plugins:
3737
- jekyll-redirect-from
3838
- jekyll-minifier
3939

40+
include:
41+
- _headers
42+
4043
exclude:
4144
[
4245
"*.lock",

‎docs/_headers

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
https://:project.pages.dev/*
2+
X-Robots-Tag: noindex

‎docs/_includes/head-style.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<style>
22
/* general site styles */
33
html {
4-
font-family: "Google Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
4+
font-family: "Rubik", "Google Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
55
}
66

77
* {
@@ -21,6 +21,7 @@
2121
h4,
2222
h5,
2323
h6 {
24+
font-family: "Rubik", "Google Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
2425
margin-top: 2rem;
2526
margin-bottom: 1rem;
2627
font-weight: 700;
@@ -113,6 +114,8 @@
113114
}
114115

115116
.project-name {
117+
font-family: "Rubik", "Google Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
118+
color: rgba(230, 199, 76, 0.85);
116119
margin: 0;
117120
font-weight: 700;
118121
}
@@ -124,7 +127,7 @@
124127

125128
.project-name a:hover {
126129
text-decoration: none;
127-
color: #bdbdbd;
130+
color: rgba(230, 199, 76, 1.00);
128131
}
129132

130133
@media screen and (min-width: 1024px) {

‎docs/_includes/head.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
<link rel="preconnect" href="https://github.githubassets.com">
99
<link rel="preconnect" href="https://img.shields.io">
1010
{%- endif -%}
11-
<link rel="preload" href="https://fonts.googleapis.com/css2?family=Google+Sans:wght@400;500&display=swap" as="style"
12-
type="text/css" crossorigin>
11+
<link defer rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Rubik:wght@400..600&display=swap" />
12+
<link defer rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Google+Sans:wght@400;500&display=swap" />
1313

1414
{%- include head-style.html -%}
1515

‎docs/_includes/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<header role="banner" class="page-header">
1+
<header class="page-header" role="banner">
22

33
<div class="project-name">
44
<a href="{{ '/' | absolute_url }}">

‎docs/assets/css/style.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ a {
308308
border-left: 0.3rem solid $border-color;
309309
background-color: $code-bg-color;
310310

311+
font-family: "Google Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
311312
color: $blockquote-text-color;
312313
font-size: 1rem;
313314

‎docs/pages/home.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ lazy-images: true
2020

2121
**Stock Indicators for Python** is a library that produces financial market technical indicators. Send in historical price quotes and get back desired indicators such as moving averages, Relative Strength Index, Stochastic Oscillator, Parabolic SAR, etc. Nothing more.
2222

23-
It can be used in any market analysis software using standard OHLCV price quotes for equities, commodities, forex, cryptocurrencies, and others. We had private trading algorithms, machine learning, and charting systems in mind when originally creating this community library. [Stock Indicators for .NET](https://dotnet.stockindicators.dev) is also available.
23+
It can be used in any market analysis software using standard OHLCV price quotes for equities, commodities, forex, cryptocurrencies, and others. We had trading algorithms, machine learning, and charting systems in mind when originally creating this community library. [Stock Indicators for .NET](https://dotnet.stockindicators.dev) is also available.
2424

2525
Explore more information:
2626

0 commit comments

Comments
 (0)