The CSI website is built using the Material for MkDocs. You just need to work on markdown files and MKdocs will render them to proper web pages.
- Clone the repo
git clone https://github.com/X-lab-3D/csi/
cd csi- Create a python virtual environment and activate it
conda create -n csi python=3.13
conda activate csi- Install the required packages
pip install -r requirements.txt- Monitor local changes
mkdocs serve -w docs -w mkdocs.ymlthen you can open http://127.0.0.1:8000/ in your browser to view the website.
For example, we want to add a new page with title "Posters". You can follow these steps:
- Add a new markdown file in the
docsdirectory, e.g.,docs/posters.md. - Update
mkdocs.ymlto add the new page under thenavsection:
nav:
- About: index.md
- Schedule: schedule.md
- Posters: posters.md-
Then you can go to http://127.0.0.1:8000/posters/ to check the new page.
-
Add new content to the
docs/posters.mdfile with markdown format. To make the content fancier, you can check the Material for MkDocs.
To add an announcement to the website, you can follow these steps:
- Open the
overrides/main.htmlfile. - Locate the
{% block announce %}section. - Add your announcement content inside the
<div class="announcement">tags. You can use HTML markup to format the content as needed.
For example, you can add a new announcement like this:
{% block announce %}
<div class="announcement">
<p>🔥 <a href="https://x-lab-3d.github.io/csi/2025/participants/#participants">90+ participants</a> from 18 research institutes and 12 companies will attend CSI2025! </p>
</div>
{% endblock %}Once you are satisfied with your changes, you can push your commits to the remote main branch, then a github action will automatically deploy the changes to github pages.
In the github action, mike is used to publish the changes:
mike deploy --push --update-aliases 2025 latestIf you want to publish a new website for e.g. CSI2026, then you update the action to
mike deploy --push --update-aliases 2026 latest