Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Update fonts, styles, CF Pages index exclusion #390

Merged
merged 3 commits into from
Aug 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/deploy-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ jobs:
runs-on: ubuntu-latest

environment:
name: docs-website
name: stockindicators.dev
url: https://python.stockindicators.dev

steps:
- name: Checkout source
Expand All @@ -24,8 +25,7 @@ jobs:
uses: ruby/setup-ruby@v1
with:
working-directory: docs
ruby-version: 3.2
bundler-cache: false
ruby-version: 3.3

- name: Define tag
id: tag
Expand All @@ -38,7 +38,7 @@ jobs:
replace: "${{ steps.tag.outputs.version }}"
regex: false

- name: Setup GEMs
- name: Install GEMs
working-directory: docs
env:
BUNDLE_GEMFILE: ${{github.workspace}}/docs/GemFile
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

**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.

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.
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.

Visit our project site for more information:

Expand Down
12 changes: 6 additions & 6 deletions docs/GemFile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ GEM
ethon (0.16.0)
ffi (>= 1.15.0)
execjs (2.9.1)
faraday (2.10.0)
faraday (2.10.1)
faraday-net_http (>= 2.0, < 3.2)
logger
faraday-net_http (3.1.0)
faraday-net_http (3.1.1)
net-http
faraday-retry (2.2.1)
faraday (~> 2.0)
Expand Down Expand Up @@ -246,7 +246,7 @@ GEM
mutex_m (0.2.0)
net-http (0.4.1)
uri
nokogiri (1.16.6)
nokogiri (1.16.7)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
octokit (4.25.1)
Expand All @@ -255,11 +255,11 @@ GEM
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (5.1.1)
racc (1.8.0)
racc (1.8.1)
rb-fsevent (0.11.2)
rb-inotify (0.11.1)
ffi (~> 1.0)
rexml (3.3.2)
rexml (3.3.4)
strscan
rouge (3.30.0)
rubyzip (2.3.2)
Expand All @@ -284,7 +284,7 @@ GEM
execjs (>= 0.3.0, < 3)
unicode-display_width (1.8.0)
uri (0.13.0)
wdm (0.1.1)
wdm (0.2.0)
webrick (1.8.1)

PLATFORMS
Expand Down
3 changes: 3 additions & 0 deletions docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ plugins:
- jekyll-redirect-from
- jekyll-minifier

include:
- _headers

exclude:
[
"*.lock",
Expand Down
2 changes: 2 additions & 0 deletions docs/_headers
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
https://:project.pages.dev/*
X-Robots-Tag: noindex
7 changes: 5 additions & 2 deletions docs/_includes/head-style.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<style>
/* general site styles */
html {
font-family: "Google Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-family: "Rubik", "Google Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
Expand All @@ -21,6 +21,7 @@
h4,
h5,
h6 {
font-family: "Rubik", "Google Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
margin-top: 2rem;
margin-bottom: 1rem;
font-weight: 700;
Expand Down Expand Up @@ -113,6 +114,8 @@
}

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

.project-name a:hover {
text-decoration: none;
color: #bdbdbd;
color: rgba(230, 199, 76, 1.00);
}

@media screen and (min-width: 1024px) {
Expand Down
4 changes: 2 additions & 2 deletions docs/_includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<link rel="preconnect" href="https://github.githubassets.com">
<link rel="preconnect" href="https://img.shields.io">
{%- endif -%}
<link rel="preload" href="https://fonts.googleapis.com/css2?family=Google+Sans:wght@400;500&display=swap" as="style"
type="text/css" crossorigin>
<link defer rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Rubik:wght@400..600&display=swap" />
<link defer rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Google+Sans:wght@400;500&display=swap" />

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

Expand Down
2 changes: 1 addition & 1 deletion docs/_includes/header.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<header role="banner" class="page-header">
<header class="page-header" role="banner">

<div class="project-name">
<a href="{{ '/' | absolute_url }}">
Expand Down
1 change: 1 addition & 0 deletions docs/assets/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@ a {
border-left: 0.3rem solid $border-color;
background-color: $code-bg-color;

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

Expand Down
2 changes: 1 addition & 1 deletion docs/pages/home.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ lazy-images: true

**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.

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.
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.

Explore more information:

Expand Down
Loading