This is the repository for the XAI blog.
If you do not have the repo on your machine:
-
Make sure you have Git, Hugo, and a code editor installed. We recommend VSCode, but feel free to use your favorite.
-
Fork the repository:
Go to the original repo: https://github.com/IU-PR/xai.git
Click "Fork" in the top-right corner. -
Clone your forked repository (with submodules):
git clone --recursive https://github.com/YOUR_USERNAME/xai.git
⚠️ If you've already cloned the repo without submodules, run:
git submodule init && git submodule updateTo preview the site locally:
hugo server --minify --theme=hugo-bookYou should see a line like:
Web Server is available at http://localhost:PORT/ (bind address 127.0.0.1)
Visit that address in your browser to preview your changes. The site will auto-update as you edit files.
- Make your changes in the appropriate
.mdor layout files. - Stage and commit your changes:
git add . git commit -m "Descriptive message about what you changed"
🔒 These steps save and document changes only on your local machine. To share them, you’ll need to push and create a pull request.
Since you do not have direct push access to the original repository, you’ll need to submit changes via a pull request from your fork.
-
Make sure you are working on a new branch (not
main):git checkout -b my-feature-branch
-
After committing your changes, push your branch:
git push origin my-feature-branch
-
Go to your fork on GitHub and you should see a "Compare & pull request" button. Click it.
-
Make sure you're comparing against the original repo:
base repository:IU-PR/xai
head repository:YOUR_USERNAME/xai -
Write a clear description of your changes and optionally suggest future improvements.
-
Click Create pull request.
The repo maintainers will review and merge your changes.
To add images to your report:
-
Create a folder with your group name inside the
/static/directory. -
Add your images to that folder:
Example:/static/your_group_folder/your_image.png -
Reference the image in your
.mdlike this:
This blog template supports several shortcodes, which enable advanced formatting in Markdown.
To render LaTeX formulas:
Inline formula:
{{<katex>}}
your_latex_here
{{</katex>}}Centered formula:
{{<katex display>}}
your_centered_latex_here
{{</katex>}}To draw diagrams using Mermaid:
{{<mermaid>}}
gitGraph
commit
commit
branch develop
commit
commit
commit
checkout main
commit
commit
{{</mermaid>}}There are many other diagram types—check out the Mermaid documentation.
All shortcodes use the same syntax:
{{<shortcode>}}
...your content...
{{</shortcode>}}Explore the available shortcodes in /layouts/shortcodes. Use them in your reports if they improve formatting or readability.