Skip to content

hsrwrobotics/HSRW_Robotics_Project

Repository files navigation

Website

A documentation website for open-source projects in HSRW Robotics Club

Visit:

https://hsrwrobotics.github.io/HSRW_Robotics_Project/

Build the repo

npm run build

Run docs locally

cd HSRW_Robotics_Project
yarn start

Deployment

Window

cmd /C "set "GIT_USER=hsrwrobotics" && yarn deploy"

Bash

GIT_USER=hsrwrobotics && yarn deploy

Mdx features

import useBaseUrl from '@docusaurus/useBaseUrl';

<div id="<id name>">
<p align="center">
<img alt="<image name>" src={useBaseUrl('<image url>')}/>
</p>
</div>

To refer the <a href="#<id name>">image</a> above

Blog summary truncation

Use the <!--truncate--> marker in your blog post to represent what will be shown as the summary when viewing all published blog posts. Anything above <!--truncate--> will be part of the summary. For example:

---
title: Truncation Example
---
All these will be part of the blog post summary.

Even this.

<!--truncate-->

But anything from here on down will not be.

Not this.

Or this.