-
Notifications
You must be signed in to change notification settings - Fork 3
Publishing the Wiki
Charlie edited this page Jul 22, 2026
·
1 revision
The canonical editable wiki source is kept in the main repository's wiki/ directory so changes can be reviewed and versioned with the code.
GitHub stores the rendered Wiki in a separate Git repository:
https://github.com/vorlie/ani-cli-rs.wiki.git
GitHub does not create the separate Wiki repository until the Wiki feature is enabled and its first page exists.
- Open the repository Settings → General → Features.
- Enable Wikis.
- Open the Wiki tab.
- Create an initial
Homepage with any temporary text. - Clone the Wiki repository.
git clone https://github.com/vorlie/ani-cli-rs.wiki.git ani-cli-rs-wikiFrom a checkout of the main repository, copy the Markdown files from wiki/ into the root of the Wiki clone. Preserve filenames such as Home.md and _Sidebar.md.
PowerShell example:
$source = Resolve-Path .\wiki
$wiki = Resolve-Path ..\ani-cli-rs-wiki
Copy-Item "$source\*.md" $wiki -Force
git -C $wiki add --all
git -C $wiki commit -m "docs: publish comprehensive project wiki"
git -C $wiki push origin masterShell example:
cp wiki/*.md ../ani-cli-rs-wiki/
git -C ../ani-cli-rs-wiki add --all
git -C ../ani-cli-rs-wiki commit -m "docs: publish comprehensive project wiki"
git -C ../ani-cli-rs-wiki push origin masterCheck the Wiki clone's current branch before pushing; GitHub Wiki repositories commonly use master, but use the branch reported by git branch --show-current rather than assuming.
- Prefer editing the tracked
wiki/source and republishing it. - If a page is hotfixed through GitHub's web UI, copy that change back into
wiki/immediately. - Keep
_Sidebar.mdsynchronized when adding, renaming, or removing pages. - Use Wiki-compatible page links without
.md, for example[Downloads](Downloads). - Never copy release secrets, private issue material, or signed provider URLs into the Wiki.
Check that:
- every
_Sidebarpage exists; - internal Markdown links resolve;
- examples match current
--helpoutput; - release asset names and supported targets match packaging scripts;
- version-specific behavior states the first applicable version;
- the main repository remains the source of truth for security policy and scraper implementation details.