Obsidian - Writing the Documentation
Obsidian Guide
To be written in more user friendly summarised in-depth explanation. Here is the following documentation how to install, use and format Obsidian, which is the application used to write the documentation and publishing them onto the web-server.
Directory layout
Images
Images should be put towards the .../Image Folder/*
, with the sensible sub-directory for which purpose it has. For example, PCB schematic screenshots going to the .../Image Folder/PCB Screenshots
Files
Files other than images should be put into .../Files/*
, with the sensible sub-directory for which purpose it has. LTSpice Simulation files like .asc
extension should be going to the .../Files/Simulation Files
, sheets into `…/Files/Sheets```.
Page layout format
As of currently, the page layout is flexible, although with some headers to be written down before being published.
Note Page Properties
New note page properties should be initialised with the header properties to document, author and connect notes together. Here is the following example properties to used here:
There’s more reading about the note property documentation here.
GitHub - Committing the contribution
Login into the GitHub through the Command Line Argument
The following command will start an interactive setup to login into your already made GitHub account.
Contributing to the repository through a CLI
Starting up
Download and clone the repository of the ProtoTAU EEES documentation from GitHub.
Adding changes into the personal repository
Tracking changes of all files in your repository, which has to be done before committing.
Save updated code to a new commit naming with a summarised description ie. “Contribution Documentation Guide”
If everything seems to be in order, push it onto the GitHub repository
Other useful commands and cheat sheet
Staging
Show modified files in working directory, staged for your next commit
Add a file as it looks now to your next commit (stage)
Unstage a file while retaining the changes in working directory
Difference of what is changed but not staged
Difference of what is staged but not yet committed
Commit your staged content as a new commit snapshot
Branching and merging
List your branches and they will appear next to the currently active branch.
Create a new branch at the current commit
Switch to another branch and check it out into your working directory
Merge the specified branch’s history into the current one
Show all commits in the current branch’s history
Sharing and Updating
Add a git URL as an alias
Fetch down all the branches from that Git remote
Merge a remote branch into your current branch to bring it up to date
Transmit local branch commits to the remote repository branch
Fetch and merge any commits from the tracking remote branch
Downloading the repository through Windows
To be completed and contributed towards.
Quartz4 - Updating the Webhost
To be improved further and might be overhauled as it may be moved over to university’s systems.
Here is the following documentation page of the Quartz4 as a reference.
Logging into the webserver.
Updating the Webserver Content
Loading into the directory of the web-server content
As the folder content is git of the documentation repository, we can just pull the changes into the webhost server from the main branch.
Compiling and running the Webserver
Load into the main quartz directory.
Build and host the website