Connecting your ArkScribe projects to a GitHub repository allows you to save and load your work, collaborate with others, and publish your guides to the web.
Step 1: Get a GitHub Token
- Go to GitHub Developer settings and generate a Personal Access Token.
- Give it a name like "ArkScribe" and set an expiration.
- Grant Read and write access to "Contents" for your selected repository.
- Copy the generated token immediately.
Step 2: Connect in ArkScribe
- In the ArkScribe editor, click the GitHub button in the toolbar.
- Paste your token and enter your repository in `owner/repo` format.
- Click Save.
Step 3: Publish to GitHub Pages
You can host your guide as a live website easily:
- Export your guide from ArkScribe.
- In your GitHub repo settings, go to Pages.
- Set the source to "Deploy from a branch" and select your branch (e.g., `main`).