-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0c20e89
commit b0f3860
Showing
13 changed files
with
1,593 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
# This workflow uses actions that are not certified by GitHub. | ||
# They are provided by a third-party and are governed by | ||
# separate terms of service, privacy policy, and support | ||
# documentation. | ||
|
||
# Sample workflow for building and deploying a Jekyll site to GitHub Pages | ||
name: Deploy Jekyll site to Pages | ||
|
||
on: | ||
push: | ||
branches: | ||
- "main" | ||
paths: | ||
- "docs/**" | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
# Allow one concurrent deployment | ||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
# Build job | ||
build: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: docs | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Setup Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: "3.1" # Not needed with a .ruby-version file | ||
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | ||
cache-version: 0 # Increment this number if you need to re-download cached gems | ||
working-directory: "${{ github.workspace }}/docs" | ||
- name: Setup Pages | ||
id: pages | ||
uses: actions/configure-pages@v3 | ||
- name: Build with Jekyll | ||
# Outputs to the './_site' directory by default | ||
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}" | ||
env: | ||
JEKYLL_ENV: production | ||
- name: Upload artifact | ||
# Automatically uploads an artifact from the './_site' directory by default | ||
uses: actions/upload-pages-artifact@v1 | ||
with: | ||
path: "docs/_site/" | ||
|
||
# Deployment job | ||
deploy: | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
runs-on: ubuntu-latest | ||
needs: build | ||
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
permalink: /404.html | ||
layout: default | ||
--- | ||
|
||
<style type="text/css" media="screen"> | ||
.container { | ||
margin: 10px auto; | ||
max-width: 600px; | ||
text-align: center; | ||
} | ||
h1 { | ||
margin: 30px 0; | ||
font-size: 4em; | ||
line-height: 1; | ||
letter-spacing: -1px; | ||
} | ||
</style> | ||
|
||
<div class="container"> | ||
<h1>404</h1> | ||
|
||
<p><strong>Сторінку не знайдено :(</strong></p> | ||
<p>Потрібну сторінку не знайдено.</p> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem "jekyll", "~> 4.3.3" # installed by `gem jekyll` | ||
# gem "webrick" # required when using Ruby >= 3 and Jekyll <= 4.2.2 | ||
|
||
gem "just-the-docs", "0.7.0" # pinned to the current release | ||
# gem "just-the-docs" # always download the latest release | ||
|
||
gem 'jekyll-relative-links' # plugin to convert relative links to Markdown files to their rendered equivalents. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
addressable (2.8.6) | ||
public_suffix (>= 2.0.2, < 6.0) | ||
colorator (1.1.0) | ||
concurrent-ruby (1.2.2) | ||
em-websocket (0.5.3) | ||
eventmachine (>= 0.12.9) | ||
http_parser.rb (~> 0) | ||
eventmachine (1.2.7) | ||
ffi (1.16.3) | ||
forwardable-extended (2.6.0) | ||
google-protobuf (3.25.1-arm64-darwin) | ||
google-protobuf (3.25.1-x86_64-linux) | ||
http_parser.rb (0.8.0) | ||
i18n (1.14.1) | ||
concurrent-ruby (~> 1.0) | ||
jekyll (4.3.3) | ||
addressable (~> 2.4) | ||
colorator (~> 1.0) | ||
em-websocket (~> 0.5) | ||
i18n (~> 1.0) | ||
jekyll-sass-converter (>= 2.0, < 4.0) | ||
jekyll-watch (~> 2.0) | ||
kramdown (~> 2.3, >= 2.3.1) | ||
kramdown-parser-gfm (~> 1.0) | ||
liquid (~> 4.0) | ||
mercenary (>= 0.3.6, < 0.5) | ||
pathutil (~> 0.9) | ||
rouge (>= 3.0, < 5.0) | ||
safe_yaml (~> 1.0) | ||
terminal-table (>= 1.8, < 4.0) | ||
webrick (~> 1.7) | ||
jekyll-include-cache (0.2.1) | ||
jekyll (>= 3.7, < 5.0) | ||
jekyll-relative-links (0.6.1) | ||
jekyll (>= 3.3, < 5.0) | ||
jekyll-sass-converter (3.0.0) | ||
sass-embedded (~> 1.54) | ||
jekyll-seo-tag (2.8.0) | ||
jekyll (>= 3.8, < 5.0) | ||
jekyll-watch (2.2.1) | ||
listen (~> 3.0) | ||
just-the-docs (0.7.0) | ||
jekyll (>= 3.8.5) | ||
jekyll-include-cache | ||
jekyll-seo-tag (>= 2.0) | ||
rake (>= 12.3.1) | ||
kramdown (2.4.0) | ||
rexml | ||
kramdown-parser-gfm (1.1.0) | ||
kramdown (~> 2.0) | ||
liquid (4.0.4) | ||
listen (3.8.0) | ||
rb-fsevent (~> 0.10, >= 0.10.3) | ||
rb-inotify (~> 0.9, >= 0.9.10) | ||
mercenary (0.4.0) | ||
pathutil (0.16.2) | ||
forwardable-extended (~> 2.6) | ||
public_suffix (5.0.4) | ||
rake (13.0.6) | ||
rb-fsevent (0.11.2) | ||
rb-inotify (0.10.1) | ||
ffi (~> 1.0) | ||
rexml (3.2.6) | ||
rouge (4.2.0) | ||
safe_yaml (1.0.5) | ||
sass-embedded (1.69.5-arm64-darwin) | ||
google-protobuf (~> 3.23) | ||
sass-embedded (1.69.5-x86_64-linux-gnu) | ||
google-protobuf (~> 3.23) | ||
terminal-table (3.0.2) | ||
unicode-display_width (>= 1.1.1, < 3) | ||
unicode-display_width (2.5.0) | ||
webrick (1.8.1) | ||
|
||
PLATFORMS | ||
arm64-darwin-23 | ||
x86_64-linux | ||
|
||
DEPENDENCIES | ||
jekyll (~> 4.3.3) | ||
jekyll-relative-links | ||
just-the-docs (= 0.7.0) | ||
|
||
BUNDLED WITH | ||
2.3.26 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
title: bilux-calc Docs | ||
theme: just-the-docs | ||
email: [email protected] | ||
description: >- | ||
Онлайн-калькулятор для розрахунку потенційної економії та строку окупності | ||
системи стельового променевого опалення. Введіть параметри приміщення та | ||
поточної системи опалення і отримайте оцінку витрат та строку окупності для | ||
переходу на інноваційне опалювання «Білюкс» | ||
baseurl: "/bilux-calc" | ||
domain: bulhakovolexii.github.io | ||
url: "https://bulhakovolexii.github.io" | ||
repository: bulhakovolexii/bilux-calc | ||
permalink: pretty | ||
|
||
plugins: | ||
- jekyll-relative-links # plugin to convert relative links to Markdown files to their rendered equivalents. | ||
|
||
# Theme settings | ||
# Enable or disable the site search | ||
search_enabled: false | ||
|
||
# Aux links for the upper right navigation | ||
aux_links: | ||
"bilux-calc on GitHub": | ||
- "https://github.com/bulhakovolexii/bilux-calc" | ||
|
||
# Makes Aux links open in a new tab. Default is false | ||
aux_links_new_tab: true | ||
|
||
# Footer "Edit this page on GitHub" link text | ||
gh_edit_link: true # show or hide edit this page link | ||
gh_edit_link_text: "Edit this page on GitHub" | ||
gh_edit_repository: "https://github.com/bulhakovolexii/bilux-calc" # the github URL for your repo | ||
gh_edit_branch: "main" # the branch that your docs is served from | ||
gh_edit_source: docs # the source that your files originate from | ||
gh_edit_view_mode: "tree" # "tree" or "edit" if you want the user to jump into the editor immediately | ||
|
||
# Callouts | ||
callouts_level: quiet # or loud | ||
callouts: | ||
highlight: | ||
color: yellow | ||
important: | ||
title: Важливо | ||
color: blue | ||
new: | ||
title: Новинка | ||
color: green | ||
note: | ||
title: Примітка | ||
color: purple | ||
warning: | ||
title: Увага | ||
color: red | ||
|
||
# Settings required to display mathematical equations | ||
compress_html: | ||
blanklines: true | ||
mathjax: | ||
source: https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=TeX-AMS_CHTML | ||
config: 'MathJax.Hub.Config({ TeX: { equationNumbers: { autoNumber: "AMS" } } })' | ||
|
||
# LaTeX rendering via "katex" (KaTeX, default) or "mathjax" (MathJax) or "none" / "off" (NO rendering) | ||
latex: katex | ||
|
||
# Back to top link | ||
back_to_top: true | ||
back_to_top_text: "Вгору" | ||
|
||
# Footer content | ||
footer_content: 'Copyright © 2023 Olexii Bulhakov, Oleh Lytvynov. Distributed by an <a href="https://github.com/bulhakovolexii/bilux-calc/tree/main/LICENSE">MIT license.</a>' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{% if site.latex == "none" or site.latex == "off" %} | ||
|
||
<!-- LaTeX Rendering OFF in MarkDown --> | ||
{% elsif site.latex == "mathjax" %} | ||
|
||
<!-- Use MathJax to Render LaTeX in MarkDown --> | ||
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script> | ||
<script | ||
id="MathJax-script" | ||
async | ||
src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js" | ||
></script> | ||
|
||
{% elsif site.latex == "katex" %} | ||
|
||
<!-- Use KaTeX to Render LaTeX in MarkDown --> | ||
<link | ||
rel="stylesheet" | ||
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.css" | ||
integrity="sha384-bYdxxUwYipFNohQlHt0bjN/LCpueqWz13HufFEV1SUatKs1cm4L6fFgCi1jT643X" | ||
crossorigin="anonymous" | ||
/> | ||
<script | ||
defer | ||
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.js" | ||
integrity="sha384-Qsn9KnoKISj6dI8g7p1HBlNpVx0I8p1SvlwOldgi3IorMle61nQy4zEahWYtljaz" | ||
crossorigin="anonymous" | ||
></script> | ||
<script | ||
defer | ||
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/contrib/auto-render.min.js" | ||
integrity="sha384-+VBxd3r6XgURycqtZ117nYw44OOcIax56Z4dCRWbxyPt0Koah1uHoK0o4+/RRE05" | ||
crossorigin="anonymous" | ||
></script> | ||
<script> | ||
document.addEventListener("DOMContentLoaded", function () { | ||
renderMathInElement(document.body, { | ||
// customised options | ||
// • auto-render specific keys, e.g.: | ||
delimiters: [ | ||
{ left: "$$", right: "$$", display: true }, | ||
{ left: "$", right: "$", display: false }, | ||
{ left: "\\(", right: "\\)", display: false }, | ||
{ left: "\\[", right: "\\]", display: true }, | ||
], | ||
// • rendering keys, e.g.: | ||
throwOnError: false, | ||
}); | ||
}); | ||
</script> | ||
|
||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// Script to switch dark and light mode depending on client settings | ||
window | ||
.matchMedia("(prefers-color-scheme: dark)") | ||
.addEventListener("change", (event) => { | ||
if (event.matches) { | ||
jtd.setTheme("dark"); | ||
} else { | ||
jtd.setTheme("light"); | ||
} | ||
}); | ||
|
||
if ( | ||
window.matchMedia && | ||
window.matchMedia("(prefers-color-scheme: dark)").matches | ||
) { | ||
jtd.setTheme("dark"); | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// Default dark scheme | ||
$color-scheme: dark; | ||
$body-background-color: $grey-dk-300; | ||
$body-heading-color: $grey-lt-000; | ||
$body-text-color: $grey-lt-300; | ||
$link-color: $blue-000; | ||
$nav-child-link-color: $grey-dk-000; | ||
$sidebar-color: $grey-dk-300; | ||
$base-button-color: $grey-dk-250; | ||
$btn-primary-color: $blue-200; | ||
$code-background-color: #31343f; // OneDarkJekyll default for syntax-one-dark-vivid | ||
$code-linenumber-color: #dee2f7; // OneDarkJekyll .nf for syntax-one-dark-vivid | ||
$feedback-color: darken($sidebar-color, 3%); | ||
$table-background-color: $grey-dk-250; | ||
$search-background-color: $grey-dk-250; | ||
$search-result-preview-color: $grey-dk-000; | ||
$border-color: $grey-dk-200; | ||
|
||
@import "./vendor/OneDarkJekyll/syntax"; // this is the one-dark-vivid atom syntax theme | ||
|
||
// Custom variables for callouts in dark scheme | ||
$purple-300: #7b5af8; | ||
$blue-300: #347efd; | ||
$green-300: #009d77; | ||
$red-300: #f87171; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// Centering Images | ||
img { | ||
display: block; | ||
margin: auto; | ||
} | ||
|
||
// Showing light and dark theme images separately | ||
@media (prefers-color-scheme: light) { | ||
img[src$="gh-dark-mode-only"] { | ||
display: none; | ||
} | ||
} | ||
@media (prefers-color-scheme: dark) { | ||
img[src$="gh-light-mode-only"] { | ||
display: none; | ||
} | ||
} | ||
|
||
// Styling tables | ||
th, | ||
td { | ||
min-width: 1rem; | ||
} | ||
.table-wrapper { | ||
max-width: 1200px; | ||
margin: 0 auto; | ||
} |
Oops, something went wrong.