Skip to content

Commit

Permalink
update misc broken things
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveSkender committed Dec 25, 2024
1 parent b7427ff commit b81d3b3
Show file tree
Hide file tree
Showing 101 changed files with 76 additions and 719 deletions.
40 changes: 12 additions & 28 deletions .github/workflows/deploy-website.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy website
name: Deploy vNext website

on: workflow_dispatch

Expand All @@ -21,11 +21,14 @@ jobs:
- name: Checkout source
uses: actions/checkout@v4

- name: Setup Ruby
uses: ruby/setup-ruby@v1
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
working-directory: docs
ruby-version: 3.3
dotnet-version: '9.x'

- name: Install dependencies
run: |
dotnet tool install -g docfx
- name: Define tag
id: tag
Expand All @@ -38,29 +41,10 @@ jobs:
replace: "${{ steps.tag.outputs.version }}"
regex: false

- name: Install GEMs
working-directory: docs
env:
BUNDLE_GEMFILE: ${{github.workspace}}/docs/GemFile
- name: Build site
run: |
pwd
bundle install
- name: Build site (production)
if: github.ref == 'refs/heads/main'
working-directory: docs
env:
JEKYLL_ENV: production
BUNDLE_GEMFILE: ${{github.workspace}}/docs/GemFile
run: bundle exec jekyll build

- name: Build site (preview)
if: github.ref != 'refs/heads/main'
working-directory: docs
env:
JEKYLL_ENV: preview
BUNDLE_GEMFILE: ${{github.workspace}}/docs/GemFile
run: bundle exec jekyll build
dotnet build -c Release src/Indicators.csproj
docfx docs/docfx.json
- name: Publish to Cloudflare Pages
id: deploy
Expand All @@ -71,4 +55,4 @@ jobs:
wranglerVersion: "latest"
command: >
pages deploy docs/_site
--project-name=${{ vars.CLOUDFLARE_PROJECT_NAME }}
--project-name=${{ vars.CLOUDFLARE_PROJECT_NAME_VNEXT }}
3 changes: 2 additions & 1 deletion .github/workflows/test-website-a11y.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ jobs:
- name: Build and serve site
run: |
docfx build --serve --port 4000 --detach
dotnet build -c Release ../src/Indicators.csproj
docfx docfx.json --serve --port 4000 --detach
echo "Waiting up to 30s for server to start..."
timeout=30
until curl -s -o /dev/null -w "%{http_code}" http://127.0.0.1:4000 | grep -q "200"; do
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-website-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:

- name: Build and serve site
run: |
dotnet build -c Release ../src/Indicators.csproj
docfx build --serve --port 4000 --detach
echo "Waiting up to 30s for server to start..."
timeout=30
Expand Down
19 changes: 9 additions & 10 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
{
"recommendations": [
"codacy-app.codacy",
"adrianwilczynski.user-secrets",
"github.vscode-github-actions",
"github.vscode-pull-request-github",
"mechatroner.rainbow-csv",
"dotjoshjohnson.xml",
"redhat.vscode-yaml",
"vunguyentuan.vscode-css-variables"
]
"recommendations": [
"yandeu.five-server",
"DavidAnson.vscode-markdownlint",
"streetsidesoftware.code-spell-checker",
"ms-dotnettools.csharp",
"dotjoshjohnson.xml",
"editorconfig.editorconfig",
"GitHub.vscode-pull-request-github"
]
}
176 changes: 6 additions & 170 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,16 @@
"files.encoding": "utf8",
"files.exclude": {
"**/.vs/**": true,
"**/bin/**": true,
"**/obj/**": true,
"**/TestResults/**": true,
"**/*.csproj.user": true
},
// search settings, auto excludes files.exclude
"search.exclude": {
"**/_site/**": true
"**/_api/**": true,
"**/_site/**": true,
"**/node_modules/**": true,
"**/bin/**": true,
"**/obj/**": true,
},
// editor settings
"editor.codeLens": false,
Expand All @@ -27,171 +29,5 @@
"markdownlint.config": {
"MD033": false, // no-inline-html
"MD025": false // single-title/single-h1 --> fails with front-matter
},
// dictionary exceptions
"cSpell.words": [
"Apirine",
"Arnaud",
"Aroon",
"Ashi",
"Atrp",
"Backtest",
"backtesting",
"Blau",
"Bollinger",
"Botes",
"candlepart",
"Chaikin",
"Chainable",
"Chande",
"chandeliertype",
"chartable",
"chikou",
"Cobertura",
"Codacy",
"cwebp",
"daveskender",
"Dema",
"Detrended",
"Dimitrios",
"Doji",
"Donchian",
"drawdowns",
"Dreiss",
"duplicative",
"Ehlers",
"Epma",
"Etienne",
"FAMA",
"forex",
"Ginley",
"gittools",
"Goichi",
"gstatic",
"Heikin",
"Homma",
"Hosoda",
"htmlproofer",
"Hutson",
"Ichimoku",
"intraday",
"jemoji",
"Kaby",
"Keltner",
"kijun",
"Kinkō",
"Klinger",
"Kouzis",
"Kroll",
"lazyload",
"Legoux",
"Levshin",
"Loukas",
"LSMA",
"LWMA",
"Macd",
"Mape",
"Markowitz",
"Marubozu",
"matype",
"minifier",
"Mrkt",
"Mulloy",
"Munehisa",
"nobuild",
"NOKOGIRI",
"nupkg",
"Quong",
"Renko",
"Schaff",
"Seban",
"senkou",
"setx",
"Siepman",
"Skender",
"Smma",
"snupkg",
"Soudack",
"srcset",
"Starc",
"Stoch",
"stockindicators",
"Stoller",
"Swenlin",
"Tema",
"tenkan",
"Tillson",
"Trix",
"TSLA",
"Tushar",
"Vitali",
"Vwap",
"Vwma",
"warnaserror",
"Woodie"
],
"cSpell.ignorePaths": [
"package-lock.json",
"node_modules",
"vscode-extension",
".git/objects",
".vscode",
".vscode-insiders",
"src",
"tests"
],
"cSpell.enableFiletypes": [
"!asciidoc",
"!c",
"!cpp",
"!css",
"!elixir",
"!git-commit",
"!go",
"!graphql",
"!handlebars",
"!haskell",
"!jade",
"!java",
"!javascript",
"!javascriptreact",
"!jsonc",
"!latex",
"!less",
"!pug",
"!python",
"!restructuredtext",
"!rust",
"!scala",
"!swift",
"!typescript",
"!typescriptreact",
"!vue"
],
"cSpell.ignoreWords": [
"GXEZ",
"LINQ",
"OHLC",
"OHLCV",
"adxr",
"autobuild",
"betatype",
"buildscript",
"codeql",
"commandline",
"dessant",
"dwkk",
"endfor",
"endtype",
"gitversion",
"jacobtomlinson",
"livereload",
"lookback",
"noquotes",
"octocat",
"onequote",
"pivottrend",
"trendline",
"webp"
]
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file added docs/.offline/vnext-site.placeholder.zip
Binary file not shown.
55 changes: 36 additions & 19 deletions docs/docfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,50 +4,54 @@
"src": [
{
"files": [
"**/*.csproj"
],
"exclude": [
"**/bin/**",
"**/obj/**"
"Indicators.csproj"
],
"src": "../src"
}
],
} ],
"dest": "api",
"properties": {
"TargetFramework": "net8.0"
"TargetFramework": "net9.0"
}
}
],
"build": {
"globalMetadata": {
"_appName": " Stock Indicators for .NET",
"_appName": "Stock Indicators for .NET",
"_appTitle": "Stock Indicators for .NET",
"_appLogoPath": "assets/favicon.svg",
"_appDescription": "Transform financial market prices into technical analysis insights with this best in class C# NuGet library. Go further with chaining and custom indicators, and with live data streaming.",
"_appFooter": "Stock Indicators for .NET is a free, open-source library available on NuGet.org as FacioQuo.Stock.Indicators",
"_appFaviconPath": "assets/favicon.ico",
"_appLogoPath": "assets/favicon.svg",
"_enableSearch": true,
"_disableContribution" : false,
"_disableToc": false,
"_enableSearch": true
"_gitContribute": {
"repo": "https://github.com/DaveSkender/Stock.Indicators",
"branch": "v3"
},
"_gitUrlPattern": "github",
"_googleAnalyticsTagId": "G-7602GXEZ0R",
"_lang": "en-US",
"_noindex": true
},
"template": [
"default",
"templates/material",
"modern"
],
"output": "_site",
"output": "",
"content": [
{
"files": [
"**/*.md",
"**/*.yml"
],
"exclude": [
"README.md",
"_indicators/",
"_data/",
"_includes/",
".offline/",
"node_modules/",
"_site/"
"_site/",
"**include**",
"README.md"
]
}
],
Expand All @@ -63,7 +67,20 @@
}
],
"sitemap": {
"baseUrl": "https://dotnet.stockindicators.dev"
}
"baseUrl": "https://dotnet.stockindicators.dev",
"changefreq": "weekly",
"priority": 0.5
},
"dest": "_site",
"globalMetadataFiles": [],
"fileMetadataFiles": [],
"postProcessors": [
"ExtractSearchIndex"
],
"markdownEngineName": "markdig",
"noLangKeyword": false,
"keepFileLink": false,
"cleanupCacheHistory": false,
"disableGitFeatures": false
}
}
Loading

0 comments on commit b81d3b3

Please sign in to comment.