Merge remote-tracking branch 'origin/HEAD'

This commit is contained in:
2024-09-18 13:23:18 +02:00
7 changed files with 88 additions and 0 deletions

1
.gitignore vendored
View File

@@ -1,3 +1,4 @@
.history
src/C++/main.o
src/C++/progr
.vscode/settings.json

21
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,21 @@
image: python:3.9-slim
before_script:
- time apt update
- time pip install -r requirements.txt
- time cd mdocotion && python setup.py install && cd ..
pages:
stage: deploy
tags:
- hva
script:
- time mkdocs build --site-dir public
artifacts:
paths:
- public
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
variables:
GIT_SUBMODULE_STRATEGY: recursive

3
.gitmodules vendored Normal file
View File

@@ -0,0 +1,3 @@
[submodule "mdocotion"]
path = mdocotion
url = https://uva-hva.gitlab.host/hbo-ict/mdocotion.git

1
docs/home.md Normal file
View File

@@ -0,0 +1 @@
# home

1
mdocotion Submodule

Submodule mdocotion added at 672870b945

50
mkdocs.yml Normal file
View File

@@ -0,0 +1,50 @@
site_name: TI Portfolio
site_description: HBO-ICT Technische Informatica Portfolio
site_author: HBO-ICT
copyright: Copyright 2024 Hogeschool van Amsterdam
theme:
name: material
custom_dir: mdocotion/
features:
# - content.tabs.link
- navigation.instant
palette:
# Palette toggle for light mode
- scheme: default
toggle:
icon: material/brightness-7
name: Switch to dark mode
# Palette toggle for dark mode
- scheme: slate
toggle:
icon: material/brightness-4
name: Switch to light mode
plugins:
- search
- mermaid2
- awesome-pages
- mkdocs-video
# - section-index
# - autolinks
- macros:
modules: [mkdocs_macros_mdocotion]
markdown_extensions:
- attr_list
- md_in_html
- fenced_code
- pymdownx.highlight:
linenums: true
use_pygments: true
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.tabbed
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format

11
requirements.txt Normal file
View File

@@ -0,0 +1,11 @@
mkdocs ~= 1.5.3
Jinja2==3.1.0
mkdocs-material ~= 9.5.14
mkdocs-video ~= 1.5
mkdocs-mermaid2-plugin ~= 0.6.0
mkdocs-macros-plugin ~= 0.7.0
mkdocs-awesome-pages-plugin ~= 2.8.0
mkdocs-autolinks-plugin ~= 0.6.0
mkdocs-section-index ~= 0.3.5
gitpython ~= 3.1.27
mkdocs-material-extensions