Configuration
·1 min
Table of Contents
Theme #
The website is generated by Hugo and the theme is Congo. Most of the configuration files can be found under config/_default
.
Congo provides thorough documentation in its own website: Documentation · Congo.
Issues #
Issues are fetched and exported to Markdown files via scripts/main.ts
.
There are flags in scripts/config.toml
that can be customized:
state
- by default, onlyclosed
issues will be published.excludedLabels
- ifdo-not-publish
label is added to the issue, it won’t be published.
Actions #
issues-blog
leverages GitHub Actions to automate the workflow of fetching issues contents and building the website.
By default, there are two ways to trigger the workflow:
- Manually triggering under the
Actions
tab. - Closing an issue.
GitHub supports different Events that trigger workflows. To configure which events can trigger a workflow, go to .github/workflows/build.yml
and add the events there.
For example, you can run a workflow when the push event occurs.
on:
push