Skip to content
Snippets Groups Projects
Verified Commit f3b65525 authored by Adrián Rošinec's avatar Adrián Rošinec
Browse files

Changes to templates and css

parent 155408ef
No related branches found
No related tags found
1 merge request!6Minor changes
Pipeline #167420 canceled
......@@ -380,3 +380,26 @@ html .md-nav__it4i_link[for=toc],html .md-nav__it4i_link[for=toc]+.md-nav__it4i_
.md-typeset .grid > .card > :last-child {
margin-bottom: 0;
}
.md-source-file {
margin: 1em 0;
}
[dir=ltr] .md-source-file__fact {
margin-right: .6rem;
}
.md-source-file__fact {
align-items: center;
color: var(--md-default-fg-color--light);
display: inline-flex;
font-size: .68rem;
gap: .3rem;
}
.md-typeset a {
color: var(--md-primary-fg-color--light);
}
.md-typeset a:hover, .md-typeset a:focus {
color: var(--md-primary-fg-color);
}
\ No newline at end of file
# Comparing traditional HPC environemnt to the cloud services
## Which MetaCentrum cloud do I need?
There are multiple MetaCentrum cloud environments:
- MetaCentrum OpenStack
- MetaCentrum Kubernetes
- MetaCentrum Sensitive
Each of them is targetting different use-cases. General rules of thumb are:
1. You need to use MetaCentrum Sensitive if your application deals with sensitive data.
1. You want to consider MetaCentrum Kubernetes if your application is already containerized and does not require any special environment (such as VM isolation, networking separation or specific networking configuration, ...).
1. Otherwise look into MetaCentrum OpenStack.
\ No newline at end of file
---
# template: home.html
hide:
- toc
---
## Which MetaCentrum cloud do I need?
# Computing services
There are multiple MetaCentrum cloud environments:
e-INFRA CZ provides a wide range of computational services for the scientific community. In the following sections of the documentation you will learn how to choose the right service and how to make the most of it.
- MetaCentrum OpenStack
- MetaCentrum Kubernetes
- MetaCentrum Sensitive
<div class="grid cards" markdown>
Each of them is targetting different use-cases. General rules of thumb are:
- :fontawesome-solid-fingerprint:{ .md .middle } __Cloud services__
1. You need to use MetaCentrum Sensitive if your application deals with sensitive data.
1. You want to consider MetaCentrum Kubernetes if your application is already containerized and does not require any special environment (such as VM isolation, networking separation or specific networking configuration, ...).
1. Otherwise look into MetaCentrum OpenStack.
---
It is possible to choose level of service from virtualization to managed container engine.
[:octicons-arrow-right-24: Virtualization (OpenStack Cloud)](./openstack/)
[:octicons-arrow-right-24: Container Engine (Kubernetes)](./kubernetes/)
[:octicons-arrow-right-24: Sensitive Proccessing](./sensitive/)
[:octicons-arrow-right-24: More](./concepts/)
- :fontawesome-solid-microchip:{ .md .middle } __Batch computing__
---
Traditional distributed computing with software and queues.
[:octicons-arrow-right-24: How to start](./grid/)
[:octicons-arrow-right-24: Running first job](./grid/)
[:octicons-arrow-right-24: More](./grid/)
- :fontawesome-solid-floppy-disk:{ .md .middle } __Supercomputing__
---
Supercomputing centre services.
[:octicons-arrow-right-24: Overview](./supercomputing/)
[:octicons-arrow-right-24: Get Project](./supercomputing/general/applying-for-resources/)
[:octicons-arrow-right-24: LUMI](https://docs.lumi-supercomputer.eu/)
</div>
## How to choose between computing services?
- [Read computing service overview](./concepts/)
- Check comparision between computing services _(TODO)_
## See how different scientific use-cases are implemented.
- [Cybersecurity platform](./concepts/use-cases/muni-kypo)
- Sensitive data obtaining to processing on cloud infrastructure _(TODO)_
- Computing large scale data at grids _(TODO)_
site_name: "compute/concepts"
edit_uri: edit/master/docs/compute/concepts
nav:
- Overview: index.md
- Comparisson: comparisson.md
- Use-cases:
- use-cases/muni-kypo.md
- use-cases/mmci-muni-bbmri.md
- Available Hardware: hw.md
# - Available Hardware: hw.md
......@@ -4,6 +4,7 @@ hide:
- navigation
- toc
- breadcrumbs
- contributors
---
# Welcome to the e-INFRA CZ documentation!
......
......@@ -10,7 +10,7 @@
</nav>
{% endblock %}
{% endif %}
{% include "partials/content.html" %}
{{ super() }}
{% endblock %}
{% block htmltitle %}
......
{% if "contributors" not in page.meta.hide %}
<hr>
<div class="md-source-file">
<small>
{% if page.meta.git_revision_date_localized %}
<span class="md-source-file__fact">
<span class="md-icon" title='{{ lang.t("source.file.date.updated") }}'>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21 13.1c-.1 0-.3.1-.4.2l-1 1 2.1 2.1 1-1c.2-.2.2-.6 0-.8l-1.3-1.3c-.1-.1-.2-.2-.4-.2m-1.9 1.8-6.1 6V23h2.1l6.1-6.1-2.1-2M12.5 7v5.2l4 2.4-1 1L11 13V7h1.5M11 21.9c-5.1-.5-9-4.8-9-9.9C2 6.5 6.5 2 12 2c5.3 0 9.6 4.1 10 9.3-.3-.1-.6-.2-1-.2s-.7.1-1 .2C19.6 7.2 16.2 4 12 4c-4.4 0-8 3.6-8 8 0 4.1 3.1 7.5 7.1 7.9l-.1.2v1.8Z"></path></svg>
</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-timeago">
<span class="timeago" datetime='{{ page.meta.git_revision_date_localized_raw_iso_datetime }}' locale="en" >
</span>
</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_date">
{{ page.meta.git_revision_date_localized }}
</span>
</span>
{% if page.meta.git_creation_date_localized %}
<span class="md-source-file__fact">
<span class="md-icon" title='{{ lang.t("source.file.date.created") }}'>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14.47 15.08 11 13V7h1.5v5.25l3.08 1.83c-.41.28-.79.62-1.11 1m-1.39 4.84c-.36.05-.71.08-1.08.08-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8c0 .37-.03.72-.08 1.08.69.1 1.33.32 1.92.64.1-.56.16-1.13.16-1.72 0-5.5-4.5-10-10-10S2 6.5 2 12s4.47 10 10 10c.59 0 1.16-.06 1.72-.16-.32-.59-.54-1.23-.64-1.92M18 15v3h-3v2h3v3h2v-3h3v-2h-3v-3h-2Z"></path></svg>
</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-timeago">
<span class="timeago" datetime='{{ page.meta.git_revision_date_localized_raw_iso_datetime }}' locale="en">
</span>
</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_date">{{ page.meta.git_creation_date_localized }}</span>
</span>
{% endif %}
{% elif page.meta.revision_date %}
<span class="md-source-file__fact">
<span class="md-icon" title='{{ lang.t("source.file.date.updated") }}'>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21 13.1c-.1 0-.3.1-.4.2l-1 1 2.1 2.1 1-1c.2-.2.2-.6 0-.8l-1.3-1.3c-.1-.1-.2-.2-.4-.2m-1.9 1.8-6.1 6V23h2.1l6.1-6.1-2.1-2M12.5 7v5.2l4 2.4-1 1L11 13V7h1.5M11 21.9c-5.1-.5-9-4.8-9-9.9C2 6.5 6.5 2 12 2c5.3 0 9.6 4.1 10 9.3-.3-.1-.6-.2-1-.2s-.7.1-1 .2C19.6 7.2 16.2 4 12 4c-4.4 0-8 3.6-8 8 0 4.1 3.1 7.5 7.1 7.9l-.1.2v1.8Z"></path></svg>
</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-timeago">
<span class="timeago" datetime='{{ page.meta.git_revision_date_localized_raw_iso_datetime }}' locale="en" >
</span>
</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_date">
{{ page.meta.revision_date }}
</span>
</span>
{% endif %}
<span class="md-source-file__fact">
<span class="md-icon" title='Contributors'>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M176 448C167.3 448 160 455.3 160 464V512h32v-48C192 455.3 184.8 448 176 448zM272 448c-8.75 0-16 7.25-16 16s7.25 16 16 16s16-7.25 16-16S280.8 448 272 448zM164 172l8.205 24.62c1.215 3.645 6.375 3.645 7.59 0L188 172l24.62-8.203c3.646-1.219 3.646-6.375 0-7.594L188 148L179.8 123.4c-1.215-3.648-6.375-3.648-7.59 0L164 148L139.4 156.2c-3.646 1.219-3.646 6.375 0 7.594L164 172zM336.1 315.4C304 338.6 265.1 352 224 352s-80.03-13.43-112.1-36.59C46.55 340.2 0 403.3 0 477.3C0 496.5 15.52 512 34.66 512H128v-64c0-17.75 14.25-32 32-32h128c17.75 0 32 14.25 32 32v64h93.34C432.5 512 448 496.5 448 477.3C448 403.3 401.5 340.2 336.1 315.4zM64 224h13.5C102.3 280.5 158.4 320 224 320s121.8-39.5 146.5-96H384c8.75 0 16-7.25 16-16v-96C400 103.3 392.8 96 384 96h-13.5C345.8 39.5 289.6 0 224 0S102.3 39.5 77.5 96H64C55.25 96 48 103.3 48 112v96C48 216.8 55.25 224 64 224zM104 136C104 113.9 125.5 96 152 96h144c26.5 0 48 17.88 48 40V160c0 53-43 96-96 96h-48c-53 0-96-43-96-96V136z"/></svg>
</span>
{%- for user in committers -%}
<span>
<a href="{{ user.repos }}" title="{{ user.name }}" data-bi-name="contributorprofile"><img src="../img/contributor.svg" data-src="{{ user.avatar }}?size=32" alt="{{ user.name }}"></a>
</span>
{%- endfor -%}
</ul>
</li>
</ul>
</small>
</div>
{% endif %}
\ No newline at end of file
......@@ -32,6 +32,11 @@ theme:
- 404.html
features:
- navigation.tabs
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#section-index-pages
- navigation.indexes
- toc.follow
- navigation.prune
- content.tooltips
#- tabs
#- instant
icon:
......@@ -73,6 +78,11 @@ plugins:
separator: '[\s\.]+'
lang:
- en
- git-committers
- git-revision-date-localized:
enable_creation_date: true
fallback_to_build_date: true
type: date
markdown_extensions:
- abbr
......
......@@ -20,9 +20,10 @@ h) print_usage
exit 1 ;;
esac
done
shift $OPTIND-1
${DOCKER_BIN} run -it --rm \
-v ${PWD}:/docs \
-p 8080:80 \
-e SITE_VERSION="rev. development / "$(env TZ=Europe/Prague date -I) \
${DOCS_IMAGE}:latest serve -a 0.0.0.0:80
${DOCS_IMAGE}:latest serve -a 0.0.0.0:80 $@
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment