Skip to content

Implement executable wiki operations workflow in wiki/README via wiki_operations.py#18

Merged
kYroL01 merged 5 commits into
masterfrom
copilot/implement-wiki-operations
Apr 17, 2026
Merged

Implement executable wiki operations workflow in wiki/README via wiki_operations.py#18
kYroL01 merged 5 commits into
masterfrom
copilot/implement-wiki-operations

Conversation

Copilot AI commented Apr 17, 2026

Copy link
Copy Markdown
Contributor

The wiki folder documented operational workflows (copying pages to .wiki, creating pages via gh, and post-upload verification) but had no executable implementation in-repo. This PR adds a small CLI utility so those operations are scriptable and consistent with the documented wiki process.

  • Implemented operations as a CLI (wiki/wiki_operations.py)

    • copy: copies all wiki page markdown files (excluding README.md) into a target wiki repo directory.
    • gh-create: creates wiki pages from local markdown using gh wiki create (optional -R owner/repo).
    • verify: validates required wiki pages exist and checks internal markdown links resolve.
  • Documentation alignment in wiki/README.md

    • Added concrete command usage for each implemented operation.
    • Kept existing manual methods while making the scripted path first-class.
  • Behavior and UX details

    • Supports --dry-run for non-destructive preview (copy, gh-create).
    • Includes clear error paths for missing directories / missing gh.
    • Uses explicit page set defaults for required wiki pages, with optional override.

Example usage:

python wiki/wiki_operations.py copy --dest /path/to/ConvNet.wiki
python wiki/wiki_operations.py gh-create -R kYroL01/ConvNet --dry-run
python wiki/wiki_operations.py verify

@kYroL01

kYroL01 commented Apr 17, 2026

Copy link
Copy Markdown
Owner

@copilot does this mean I have to run the script created to fix ?
Can you explain ?

Copilot AI commented Apr 17, 2026

Copy link
Copy Markdown
Contributor Author

@copilot does this mean I have to run the script created to fix ?
Can you explain ?

No — you don’t have to run the script.

It’s optional convenience tooling. You can still upload wiki pages exactly as before using:

  • GitHub web UI (manual copy/paste), or
  • Git commands on ConvNet.wiki.

The script just automates those same steps if you want:

  • python wiki/wiki_operations.py copy --dest /path/to/ConvNet.wiki
  • python wiki/wiki_operations.py gh-create -R kYroL01/ConvNet
  • python wiki/wiki_operations.py verify

Copilot AI requested a review from kYroL01 April 17, 2026 10:34
@kYroL01 kYroL01 marked this pull request as ready for review April 17, 2026 14:21
@kYroL01 kYroL01 merged commit f7288aa into master Apr 17, 2026
1 check passed
@kYroL01 kYroL01 deleted the copilot/implement-wiki-operations branch April 17, 2026 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants