-
Notifications
You must be signed in to change notification settings - Fork 0
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
c14abcd
commit 572b490
Showing
178 changed files
with
7,791 additions
and
1 deletion.
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,25 @@ | ||
kind: pipeline | ||
type: docker | ||
name: build and deploy | ||
|
||
trigger: | ||
branch: | ||
- main | ||
event: | ||
- push | ||
|
||
steps: | ||
- name: build and deploy | ||
image: haberturdeur/robocamp2023:latest | ||
commands: | ||
- pip install -r requirements.txt | ||
- npm install | ||
- mkdocs build | ||
- sshpass -e rsync -e "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" -a --delete ./site/ $${MACHINE_USER}@$${MACHINE}:tabor/websites/guide/ | ||
environment: | ||
MACHINE_USER: | ||
from_secret: MACHINE_USER | ||
MACHINE: | ||
from_secret: MACHINE | ||
SSHPASS: | ||
from_secret: MACHINE_PASSWORD |
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 @@ | ||
# 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@v3 | ||
# - uses: actions/setup-python@v4 | ||
# with: | ||
# python-version: 3.x | ||
# - 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 |
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,172 @@ | ||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
*.py[cod] | ||
*$py.class | ||
|
||
# C extensions | ||
*.so | ||
|
||
# Distribution / packaging | ||
.Python | ||
build/ | ||
develop-eggs/ | ||
dist/ | ||
downloads/ | ||
eggs/ | ||
.eggs/ | ||
lib/ | ||
lib64/ | ||
parts/ | ||
sdist/ | ||
var/ | ||
wheels/ | ||
share/python-wheels/ | ||
*.egg-info/ | ||
.installed.cfg | ||
*.egg | ||
MANIFEST | ||
|
||
# PyInstaller | ||
# Usually these files are written by a python script from a template | ||
# before PyInstaller builds the exe, so as to inject date/other infos into it. | ||
*.manifest | ||
*.spec | ||
|
||
# Installer logs | ||
pip-log.txt | ||
pip-delete-this-directory.txt | ||
|
||
# Unit test / coverage reports | ||
htmlcov/ | ||
.tox/ | ||
.nox/ | ||
.coverage | ||
.coverage.* | ||
.cache | ||
nosetests.xml | ||
coverage.xml | ||
*.cover | ||
*.py,cover | ||
.hypothesis/ | ||
.pytest_cache/ | ||
cover/ | ||
|
||
# Translations | ||
*.mo | ||
*.pot | ||
|
||
# Django stuff: | ||
*.log | ||
local_settings.py | ||
db.sqlite3 | ||
db.sqlite3-journal | ||
|
||
# Flask stuff: | ||
instance/ | ||
.webassets-cache | ||
|
||
# Scrapy stuff: | ||
.scrapy | ||
|
||
# Sphinx documentation | ||
docs/_build/ | ||
|
||
# PyBuilder | ||
.pybuilder/ | ||
target/ | ||
|
||
# Jupyter Notebook | ||
.ipynb_checkpoints | ||
|
||
# IPython | ||
profile_default/ | ||
ipython_config.py | ||
|
||
# pyenv | ||
# For a library or package, you might want to ignore these files since the code is | ||
# intended to run in multiple environments; otherwise, check them in: | ||
# .python-version | ||
|
||
# pipenv | ||
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. | ||
# However, in case of collaboration, if having platform-specific dependencies or dependencies | ||
# having no cross-platform support, pipenv may install dependencies that don't work, or not | ||
# install all needed dependencies. | ||
#Pipfile.lock | ||
|
||
# poetry | ||
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control. | ||
# This is especially recommended for binary packages to ensure reproducibility, and is more | ||
# commonly ignored for libraries. | ||
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control | ||
#poetry.lock | ||
|
||
# pdm | ||
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control. | ||
#pdm.lock | ||
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it | ||
# in version control. | ||
# https://pdm.fming.dev/#use-with-ide | ||
.pdm.toml | ||
|
||
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm | ||
__pypackages__/ | ||
|
||
# Celery stuff | ||
celerybeat-schedule | ||
celerybeat.pid | ||
|
||
# SageMath parsed files | ||
*.sage.py | ||
|
||
# Environments | ||
.env | ||
.venv | ||
env/ | ||
venv/ | ||
ENV/ | ||
env.bak/ | ||
venv.bak/ | ||
|
||
# Spyder project settings | ||
.spyderproject | ||
.spyproject | ||
|
||
# Rope project settings | ||
.ropeproject | ||
|
||
# mkdocs documentation | ||
/site | ||
|
||
# mypy | ||
.mypy_cache/ | ||
.dmypy.json | ||
dmypy.json | ||
|
||
# Pyre type checker | ||
.pyre/ | ||
|
||
# pytype static type analyzer | ||
.pytype/ | ||
|
||
# Cython debug symbols | ||
cython_debug/ | ||
|
||
# PyCharm | ||
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can | ||
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore | ||
# and can be added to the global gitignore or merged into this file. For a more nuclear | ||
# option (not recommended) you can uncomment the following to ignore the entire idea folder. | ||
#.idea/ | ||
|
||
|
||
# ignore large photos: mkdocs-resize-images | ||
assets-large | ||
.resize-hash | ||
|
||
node_modules/ | ||
|
||
*.zip | ||
*.zip.hash | ||
.vscode | ||
.DS_Store |
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,16 @@ | ||
FROM ubuntu:22.04 | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y --no-install-recommends \ | ||
apt-utils wget software-properties-common gnupg git gcc \ | ||
python3 python3-pip python3-venv openssh-client sshpass rsync curl | ||
|
||
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - &&\ | ||
apt-get install -y nodejs | ||
|
||
RUN pip3 install \ | ||
mkdocs~=1.3.0 \ | ||
mkdocs-material~=8.3.6 \ | ||
mkdocs-awesome-pages-plugin~=2.5.0 \ | ||
mkdocs-encryptcontent-plugin~=2.1.0 \ | ||
git+https://github.com/it-novum/mkdocs-featherlight.git |
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,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2024 RoboticsBrno (RobotikaBrno) | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
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 |
---|---|---|
@@ -1 +1,48 @@ | ||
# RoboCamp-2024 | ||
# Robotický tábor | ||
|
||
## Vítej na stránkách Robotického tábora 2024 | ||
|
||
<!-- <div align="center"> | ||
<table> | ||
<tr> | ||
<td><a href="https://2022.robotickytabor.cz/roboSvit/"><img src="gadgets/roboSvit/assets/roboSvit-propag/photo/roboSvit-propag-04.png"></a></td> | ||
<td><a href="https://2022.robotickytabor.cz/hradla/"><img src="gadgets/hradla/photo/hradla-propag-00.png"></a></td> | ||
<td><a href="https://2022.robotickytabor.cz/electronicDie/"><img src="gadgets/electronicDie/assets/fancy/Electronic_dice-02.png"></a></td> | ||
</tr> | ||
<tr> | ||
<td style="text-align: center;"><a href="https://2022.robotickytabor.cz/roboSvit/">RoboSvit</a></td> | ||
<td style="text-align: center;"><a href="https://2022.robotickytabor.cz/hradla/">Hradla</a></td> | ||
<td style="text-align: center;"><a href="https://2022.robotickytabor.cz/electronicDie/">Hrací kostka</a></td> | ||
</tr> | ||
<tr> | ||
<td><a href="https://2022.robotickytabor.cz/solderingChallenge/"><img src="gadgets/solderingChallenge/assets/SMD_challenge_fancy.png"></a></td> | ||
<td><a href="https://2022.robotickytabor.cz/blackBox/"><img src="gadgets/blackBox/assets/blba_bedna.png"></a></td> | ||
<td><a href="https://2022.robotickytabor.cz/electron/"><img src="gadgets/electron/assets/electron-34.svg"></a></td> | ||
</tr> | ||
<tr> | ||
<td style="text-align: center;"><a href="https://2022.robotickytabor.cz/solderingChallenge/">Pájecí výzva</a></td> | ||
<td style="text-align: center;"><a href="https://2022.robotickytabor.cz/blackBox/">BlackBox</a></td> | ||
<td style="text-align: center;"><a href="https://2022.robotickytabor.cz/electron/">Electron</a></td> | ||
</tr> | ||
<tr> | ||
<td><a href="https://2022.robotickytabor.cz/beamBot/"><img src="gadgets/beamBot/assets/beambot.png"></a></td> | ||
<td><a href="https://2022.robotickytabor.cz/microbit/"><img src="gadgets/microbit/assets/microbit.png"></a></td> | ||
<td><a href="https://2022.robotickytabor.cz/microJuice/"><img src="gadgets/microJuice/assets/microjuice.png"></a></td> | ||
</tr> | ||
<tr> | ||
<td style="text-align: center;"><a href="https://2022.robotickytabor.cz/beamBot/">Beam bot</a></td> | ||
<td style="text-align: center;"><a href="https://2022.robotickytabor.cz/microbit/">MicroBit</a></td> | ||
<td style="text-align: center;"><a href="https://2022.robotickytabor.cz/microJuice/">MicroJuice</a></td> | ||
</tr> | ||
<tr> | ||
<td><a href="https://2022.robotickytabor.cz/microbit/"><img src="gadgets/microbit/assets/microbit.png"></a></td> | ||
<td><a href="https://2022.robotickytabor.cz/microJuice/"><img src="gadgets/microJuice/assets/microjuice.png"></a></td> | ||
<td></td> | ||
</tr> | ||
<tr> | ||
<td style="text-align: center;"><a href="https://2022.robotickytabor.cz/microbit/">MicroBit</a></td> | ||
<td style="text-align: center;"><a href="https://2022.robotickytabor.cz/microJuice/">MicroJuice</a></td> | ||
<td></td> | ||
</tr> | ||
</table> | ||
</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,32 @@ | ||
# Jak na dokumentaci | ||
|
||
## Instalace nástrojů | ||
Budeme potřebovat: | ||
- git | ||
- python3 + pip3 (na Windows doporučuji z Win storu) | ||
- [nodejs](https://nodejs.org/en/download) + npm | ||
|
||
## Repo | ||
Naklonujeme si repozitář: | ||
|
||
```bash | ||
git clone https://github.com/RoboticsBrno/RoboCamp-2024.git | ||
``` | ||
|
||
## Konfigurace | ||
|
||
Otevři projekt a v terminálu spusť: | ||
|
||
```bash | ||
pip3 install -r requirements.txt | ||
npm install | ||
``` | ||
|
||
## Práce s dokumentací | ||
|
||
Lokální spuštění dokumentace: | ||
``` | ||
mkdocs serve | ||
``` | ||
|
||
|
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 @@ | ||
2024.robotickytabor.cz |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.