From 7c7f4a247d5bc3c118b2900495e85194f1a8f5bd Mon Sep 17 00:00:00 2001 From: Pablo Escobar <pescobar001@gmail.com> Date: Mon, 5 Feb 2024 15:14:58 +0100 Subject: [PATCH] Add first dummy docs --- docs/example.md | 11 ++++++++++ docs/index.md | 54 +++++++++++++++++++++++++++++++++++-------------- docs/lele.md | 23 +++++++++++++++++++++ 3 files changed, 73 insertions(+), 15 deletions(-) create mode 100644 docs/example.md create mode 100644 docs/lele.md diff --git a/docs/example.md b/docs/example.md new file mode 100644 index 0000000..1a9149d --- /dev/null +++ b/docs/example.md @@ -0,0 +1,11 @@ +=== "Chimay" + + Chimay adfasdf + +=== "Karmeliet" + + Karmeliet is a fantastic blond Belgian beer. + +=== "leffe" + + asdfasdfasfd diff --git a/docs/index.md b/docs/index.md index 3c85189..5866a66 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,21 +1,45 @@ -# Welcome to MkDocs +# Testing mkdocs -This is a test site hosted on [GitLab Pages](https://pages.gitlab.io). You can -[browse its source code](https://gitlab.com/pages/mkdocs), fork it and start -using it on your projects. +hi there -For full documentation visit [mkdocs.org](http://mkdocs.org). -## Commands +:smile: -* `mkdocs new [dir-name]` - Create a new project. -* `mkdocs serve` - Start the live-reloading docs server. -* `mkdocs build` - Build the documentation site. -* `mkdocs help` - Print this help message. +:smile: -## Project layout - mkdocs.yml # The configuration file. - docs/ - index.md # The documentation homepage. - ... # Other markdown pages, images and other files. +```python +# Hello world example (Python) +print("Hello World!") +zero_to_ten_double = [2*x for x in range(10)] +``` + + +!!! note + hiiii + +!!! tip "yeeee" + aasdfasdfasfd + + +=== "C" + + ``` c + #include <stdio.h> + + int main(void) { + printf("Hello world!\n"); + return 0; + } + ``` + +=== "C++" + + ``` c++ + #include <iostream> + + int main(void) { + std::cout << "Hello world!" << std::endl; + return 0; + } + ``` diff --git a/docs/lele.md b/docs/lele.md new file mode 100644 index 0000000..e6f33f9 --- /dev/null +++ b/docs/lele.md @@ -0,0 +1,23 @@ +# lele + +=== "AAA" + + ``` c + #include <stdio.h> + + int main(void) { + printf("Hello world!\n"); + return 0; + } + ``` + +=== "C++" + + ``` c++ + #include <iostream> + + int main(void) { + std::cout << "Hello world!" << std::endl; + return 0; + } + ``` -- GitLab