1. Project management¶
This week I worked on defining my final project idea and started to getting used to the documentation process, and generated sketches of deifferent details.
First Task¶
We were assigned to a website for documentation, Then we created an account in fablab.io and accepted the invite that was sent by the email.
The website is based on MkDocs. MkDocs is a static site generator specifically designed for creating project documentation. It is written in Python and uses Markdown to format documentation pages. It is widely used for software and technical documentation due to its simplicity and ease of deployment.
What is Markdown?¶
Markdown is a lightweight markup language used to format plain text documents in a simple and readable way, and it was created to be easy to write and convert to HTML.
Key Features of Markdown: - Simple Syntax: Uses plain text formatting (e.g., # for headings, bold for bold text). - Easy to Read and Write: Designed to be human-readable even without rendering. - Widely Supported: Used in platforms like GitHub, Reddit, Stack Overflow, and MkDocs. - Can Be Converted to HTML: Easily converted to HTML for web publishing.
The Difference Between Markdown and HTML
Markdown and HTML are both used for formatting text, but they serve different purposes and have distinct levels of complexity. Markdown is a lightweight markup language designed for easy readability and quick formatting using plain text. It uses simple syntax making it ideal for documentation, notes, and README files. On the other hand, HTML (HyperText Markup Language) is the backbone of web pages, offering complete control over structure and design. Unlike Markdown, HTML requires opening and closing tags, allowing for advanced customization with CSS and JavaScript. While Markdown is easier to write and more user-friendly, HTML is more powerful and flexible, making it the preferred choice for building websites and web applications.
We also learned how to add a local image in markdown. This happens by uploading it in GitLab in Images, then write the syntax for importing the image from the file.
This is the folder in GitLab that we upload images to¶
When adding an image to the website, we start writing “.” after writing **“
A heading can be added by writing it after #. The more ### you write, the smaller the heading becomes.
Heading with one¶
Heading with two¶
Heading with three¶
Heading with four¶
Heading with five¶
The we learned the difference between Image Dimensions and Size. The Image Dimensions is measured pixels, and the more pixels it has the higher the quality of the image. And The Image Size is the size of the file itself and how much room it will need from the device’s storage. The Dimensions effect the size of the image because the larger the dimensions of the image the larger its size in the device’s storage.
An image’s dimensions can be changed by using an image editor (e.g., Photoshop, GIMP, Paint, or online tools like Canva). Then resize the image while maintaining or adjusting the aspect ratio, and export it in the appropriate format.
Example in Photoshop: Image > Image Size > Adjust Width & Height.**
Second Task¶
We were introduced in this task to GitLab. GitLab is a web-based Git repository that provides free open and private repositories, issue-following capabilities, and wikis. It is a complete DevOps platform that enables professionals to perform all the tasks in a project—from project planning and source code management to monitoring and security.
And the difference between it and Git is that Git is a version control system that allows developers to keep track of changes made to their code over time, while GitLab is a web-based Git repository manager that provides a complete DevOps platform for teams to collaborate on software development.
Then I learned how to clone my website locally in my laptop, and learned how to push to it.
Step 1
Open the website’s folder in GitLab, then click on “Code”.
I cloned my websited with HTTPS and opened it with my IDE Visual Studio Code.
Step 2
When you choose the option to directly open from your IDE and choose Visual Studio Code, there will be a pop-up that will directly lead you to Visual Studio Code app
Then you choose a Repository Destination
Step 3
When Visual Studio Code opens, you write your GitLab username and password and then you have your website cloned in your IDE.
S
Third Task¶
Fourth Task¶
Code Example¶
Use the three backticks to separate code. // jdj() { //
// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(LED_BUILTIN, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
Gallery¶
click here to download my file
files¶
click to download my car model
Second Session’s Tasks¶
Project Ideation
Use HTML¶
You may also embed HTML in your markdown files
Try having a seperator line
ID | First Name | Last Name |
---|---|---|
235312 | John | Doe |
453123 | Mark | Jones |
998332 | Jonathan | Smith |
345612 | Andrew | McArthur |
453123 | Adam | Fuller |