From a4a39ab515472bd64e7aa2eadcabb25131f9934b Mon Sep 17 00:00:00 2001 From: Dave Skender <8432125+DaveSkender@users.noreply.github.com> Date: Sun, 4 Aug 2024 13:59:37 -0400 Subject: [PATCH] docs: Update fonts, styles, CF Pages index exclusion (#390) --- .github/workflows/deploy-website.yml | 8 ++++---- README.md | 2 +- docs/GemFile.lock | 12 ++++++------ docs/_config.yml | 3 +++ docs/_headers | 2 ++ docs/_includes/head-style.html | 7 +++++-- docs/_includes/head.html | 4 ++-- docs/_includes/header.html | 2 +- docs/assets/css/style.scss | 1 + docs/pages/home.md | 2 +- 10 files changed, 26 insertions(+), 17 deletions(-) create mode 100644 docs/_headers diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml index 62cac4a3..77b7dcc4 100644 --- a/.github/workflows/deploy-website.yml +++ b/.github/workflows/deploy-website.yml @@ -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 @@ -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 @@ -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 diff --git a/README.md b/README.md index 8bfd5c17..0ef7c87e 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/docs/GemFile.lock b/docs/GemFile.lock index bc7bfdd8..8891dcec 100644 --- a/docs/GemFile.lock +++ b/docs/GemFile.lock @@ -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) @@ -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) @@ -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) @@ -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 diff --git a/docs/_config.yml b/docs/_config.yml index fb99eae0..d59d915e 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -37,6 +37,9 @@ plugins: - jekyll-redirect-from - jekyll-minifier +include: + - _headers + exclude: [ "*.lock", diff --git a/docs/_headers b/docs/_headers new file mode 100644 index 00000000..4b420d8d --- /dev/null +++ b/docs/_headers @@ -0,0 +1,2 @@ +https://:project.pages.dev/* + X-Robots-Tag: noindex diff --git a/docs/_includes/head-style.html b/docs/_includes/head-style.html index cb2e9fd5..b6c4ba2b 100644 --- a/docs/_includes/head-style.html +++ b/docs/_includes/head-style.html @@ -1,7 +1,7 @@