mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 06:15:21 +01:00
[PR #1320] Documentation site #8326
Labels
No labels
A:Build
A:CI
A:Client
A:Config
A:Core
A:Documentation
A:Documentation
A:IPC
A:Testing
A:UX/UI
blocked
BREAKING CHANGE
duplicate
good first issue
GTK4
help wanted
invalid
M:Battery
M:Battery
M:Bindmode
M:Bluetooth
M:Brightness
M:Cairo
M:Clipboard
M:Clock
M:Clock
M:Custom
M:Focused
M:Keyboard
M:Launcher
M:Menu
M:Music
M:Music
M:Music
M:Network Manager
M:Notifications
M:SysInfo
M:Tray
M:Volume
M:Workspaces
partially resolved
P:Critical
P:High
P:Low
P:Medium
pull-request
T:Bug
T:Bug
T:Core Enhancement
T:Module Enhancement
T:New Module
T:Question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
JakeStanger/ironbar#8326
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/JakeStanger/ironbar/pull/1320
Author: @JakeStanger
Created: 1/3/2026
Status: 🔄 Open
Base:
master← Head:docs/starlight📝 Commits (4)
1a7dce5docs: replace configs tables with template for generationd57abe6refactor(bindmode): rename struct toBindmodeModulea123b1fdocs: tidy and improve config comments and schema gen85b979cdocs(dev guide): add info on new docs site📊 Changes
58 files changed (+423 additions, -2489 deletions)
View changed files
📝
Cargo.lock(+1 -0)📝
Cargo.toml(+1 -1)📝
docs/dynamic content/Controlling Ironbar.md(+0 -0)📝
docs/dynamic content/Dynamic values.md(+0 -0)📝
docs/dynamic content/IPC.md(+0 -0)📝
docs/dynamic content/Ironvars.md(+0 -0)📝
docs/dynamic content/Scripts.md(+0 -0)📝
docs/examples/custom/Power-Menu.md(+0 -156)📝
docs/examples/custom/Weather.md(+0 -317)📝
docs/guides/Compiling.md(+0 -0)📝
docs/guides/Configuration guide.md(+5 -195)📝
docs/guides/Development guide.md(+28 -1)📝
docs/guides/GTK4.md(+0 -0)📝
docs/guides/Images.md(+0 -0)📝
docs/guides/Profiles.md(+0 -0)📝
docs/guides/Styling guide.md(+0 -0)📝
docs/modules/Battery.md(+6 -95)📝
docs/modules/Bindmode.md(+8 -54)📝
docs/modules/Bluetooth.md(+5 -173)📝
docs/modules/Cairo.md(+11 -66)...and 38 more files
📄 Description
I'm aiming to move away from the GitHub Wiki to a dedicated documentation site that gives some more power and control over the site.
The new docs site is built with Astro and Starlight. Markdown files are pulled in from this repo to keep updating docs centralised and simple as possible. They are then automatically converted into
.mdxwith the added functionality added in at build time.Primarily, module configs no longer need to be manually documented. Instead, the JSON schema that Ironbar already generates is used. This is used to generate each page's configuration section and automatically includes all the information that's already present.
Config options are now listed out as headers and sections on a page, rather than one large table. This makes some of the more complex module documentation less cramped and provides much more room to provide additional detail inline where appropriate.
Configuration examples also do not need to be written out in all 4 supported languages. Instead, only the Corn format needs to be included. The code blocks are pulled out and converted into tabbed views for each format. This is achieved using corn.js.
Code can be found here:
https://github.com/JakeStanger/ironbar-docs/
The site is live but there's a good few issues to work through before this is stable. My primary focus has been on the module pages, so the others are lacking the new features and still need a good comb through.
https://ironb.ar
Any immediate feedback is appreciated.
This PR also includes a few minor fixes to existing documentation I found along the way. In some cases, properties that were not manually documented are now correctly documented on the site.
PS: you can also use
https://ironb.ar/gh/*as a shorthand redirect to this repo. Probs not useful for anybody except me, but I have to get here a lot :PRemaining tasks:
repository_dispatchevent)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.