Skip to content

Commit

Permalink
Add new packages, team
Browse files Browse the repository at this point in the history
  • Loading branch information
JakubAndrysek committed Jun 30, 2023
1 parent 7f67643 commit 5e6599f
Show file tree
Hide file tree
Showing 5 changed files with 79 additions and 42 deletions.
24 changes: 16 additions & 8 deletions .github/workflows/deploy-ghpages.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,27 @@
name: web

name: Deploy to GitHub Pages
on:
push:
branches:
- master
- main
schedule:
- cron: '0 0 1 * *' # every month
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.x
- run: pip install mkdocs-material
- run: pip install mkdocs-awesome-pages-plugin


- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v3
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: pip install -r requirements.txt
- run: mkdocs gh-deploy --force
20 changes: 10 additions & 10 deletions gadgets/index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
glightbox: false
---
# Robotický tábor

## Vítej na stránkách Robotického tábora 2021
Expand All @@ -24,7 +27,6 @@
</a>
</div>
</div>

<div class="container">
<div class="col--1">
<a href="roboSvit/">
Expand All @@ -45,8 +47,6 @@
</a>
</div>
</div>


<!-- <table style="width:100% text-align: center" class="flex-container>
<div id="tableMain">
<tr>
Expand All @@ -56,23 +56,23 @@
<img src="electron/assets/electron-34.svg">
<h2>Electron</h2>
</div>
</a>
</a>
</td>
<td>
<a href="electronicDie/">
<div id="tableMain">
<img src="electronicDie/assets/fancy/Electronic_dice-fancy-01.png">
<h2>Hrací kostka</h2>
</div>
</a>
</a>
</td>
<td>
<a href="blackBox/">
<div id="tableMain">
<img src="blackBox/assets/blackBox-01.jpg">
<h2>BlackBox</h2>
</div>
</a>
</a>
</td>
</tr>
<tr>
Expand All @@ -91,30 +91,30 @@
<img src="roboSvit/assets/roboSvit-propag/photo/roboSvit-propag-04.png">
<h2>Logic</h2>
</div>
</a>
</a>
</td>
<td>
<a href="solderingChallenge/">
<div id="tableMain">
<img src="solderingChallenge/assets/labels-L1.svg">
<h2>Pájecí výzva</h2>
</div>
</a>
</a>
</td>
<td>
<a href="blackBox/">
<div id="tableMain">
<img src="blackBox/assets/blackBox-01.jpg">
<h2>BlackBox</h2>
</div>
</a>
</a>
</td>
</tr>
</div>
</table> -->
</div>

<!--
<!--
<hr>
<hr>
Expand Down
1 change: 1 addition & 0 deletions gadgets/team/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--8<-- "https://raw.githubusercontent.com/RoboticsBrno/Our-team/main/team.html"
67 changes: 46 additions & 21 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,31 @@
site_name: Robotický tábor 2021
site_url: https://2021.robotickytabor.cz/
site_description: >-
Robotický tábor 2021
repo_name: RoboticsBrno/RoboCamp-2021
repo_url: https://github.com/RoboticsBrno/RoboCamp-2021

# Copyright
copyright: Copyright © 2021 RoboticsBrno
use_directory_urls: True

theme:
name: material
palette:
scheme: slate
- scheme: slate
primary: deep orange
accent: deep orange
toggle:
icon: material/weather-sunny
name: Přepnout na světý režim
- scheme: default
primary: deep orange
accent: deep orange
toggle:
icon: material/weather-night
name: Přepnout na tmavý režim

language: cs
logo: assets/logo.png
favicon: assets/logo180.png
Expand All @@ -15,25 +35,45 @@ theme:
- navigation.tabs
custom_dir: overrides

extra:
social:
- icon: fontawesome/brands/github
link: https://github.com/RoboticsBrno
- icon: fontawesome/brands/twitter
link: https://twitter.com/RobotikaBrno
- icon: fontawesome/brands/facebook
link: https://www.facebook.com/robotarna
- icon: fontawesome/brands/youtube
link: https://www.youtube.com/@robotikabrno-robotarnaasps2392
- icon: fontawesome/brands/instagram
link: https://www.instagram.com/_robotarna_


docs_dir: gadgets

plugins:
- awesome-pages
- search
- open-in-new-tab
- glightbox

markdown_extensions:
- pymdownx.highlight
- pymdownx.superfences
- admonition
- pymdownx.details
- pymdownx.superfences
- pymdownx.keys
- attr_list
- pymdownx.tabbed
- pymdownx.superfences
- pymdownx.snippets:
url_download: True
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg

extra_css:
- assets/style.css

nav:
- index.md
Expand Down Expand Up @@ -68,20 +108,5 @@ nav:
- BlackBox:
- blackBox/README.md
- blackBox/manual.md

extra:
social:
- icon: fontawesome/brands/github
link: https://github.com/RoboticsBrno
name: IREE Discord Server
# - icon: fontawesome/brands/twitter
# link:
# lightbox:
# gallery: true

extra_javascript:
- assets/highlight/highlight.min.js
- assets/config.js
extra_css:
- assets/highlight/default.min.css
- assets/style.css
- Náš tým :
- team/index.md
9 changes: 6 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
mkdocs~=1.3.0
mkdocs-awesome-pages-plugin~=2.7.0
mkdocs-material~=8.3.9
mkdocs==1.4.3
mkdocs-material==9.1.17
mkdocs-macros-plugin==1.0.1
mkdocs-open-in-new-tab==1.0.2
mkdocs-glightbox==0.3.4
mkdocs-open-in-new-tab==1.0.2

0 comments on commit 5e6599f

Please sign in to comment.