This contains the source code for https://chenxingqiang.github.io/llmir-www/ which is rendered from the gh-pages
branch of the same repo using GitHub Pages.
To contribute, feel free to fork this repository and send a pull-request.
The website is deployed when changes are pushed to the gh-pages
branch. You can manually trigger a build and deployment by following the instructions below.
We are using the Hugo framework for generating the website. The source pages are written in Markdown format under the docs/content
folder.
To preview the website locally:
- Install Hugo on your machine
- Navigate to the
docs
directory:cd docs
- Run the Hugo server:
hugo server
- Access the local version of the website at http://localhost:1313/
Any changes you make to the source Markdown will automatically be refreshed by the local Hugo server.
We provide a shell script to automate the deployment process:
./gh-pages.sh
This script will build the website, create a clean gh-pages
branch, and push the built content to GitHub.
If you prefer to deploy manually:
- Make your changes to the Markdown files in the
docs/content
directory - Build the website:
cd docs hugo --minify -d ../public
- Add a
.nojekyll
file to disable GitHub Pages Jekyll processing:touch ../public/.nojekyll
- Push the contents of the
public
directory to thegh-pages
branch
Alternatively, you can use the GitHub Actions workflow defined in .github/workflows/main.yml
to automate this process.