Public documentation for governed AI labor
SDKs/Governance/Connectors
Arx / Docs / How to Import into GitBook

Documentation

How to Import into GitBook

Project-Agent / engineer-docs/GITBOOK_IMPORT_GUIDE.md

Project-Agent product-docs engineer-docs/GITBOOK_IMPORT_GUIDE.md

This directory contains the Engineering Documentation Guide formatted for GitBook import.

What's Included

  • SUMMARY.md - Table of contents (GitBook reads this automatically)
  • book.json - Configuration file
  • intro.md - Main introduction page
  • documentation-types/ - 4 pages on documentation types
  • best-practices/ - 2 pages on best practices
  • implementation/ - 2 pages on implementation

Total: 9 markdown pages + 2 configuration files

How to Import

Step 1: Prepare Files for Upload

Option A: Upload entire folder ```bash

Compress the engineer-docs folder

zip -r engineer-docs.zip engineer-docs/

Then upload engineer-docs.zip to GitBook

```

Option B: Extract and upload contents Just upload all the .md files from this folder to GitBook.

Step 2: Go to GitBook

  1. Log in to https://app.gitbook.com
  2. Click "Create new" → "Import"
  3. Select your authentication method

Step 3: Import the Files

If using ZIP file:

  1. Click "Upload files"
  2. Select engineer-docs.zip
  3. GitBook will extract and process

If uploading individual files:

  1. Click "Upload files"
  2. Select all .md files from engineer-docs/
  3. GitBook will create the page structure from SUMMARY.md

Step 4: Verify Structure

After import, GitBook should show: `` Introduction ├── Documentation Types │ ├── Entry Points: README & Quick Start │ ├── Core Documentation: Architecture & API Reference │ ├── Guides & Examples: How-To & Working Code │ └── Process & Maintenance ├── Best Practices │ ├── Documentation Principles for Engineers │ └── Progressive Disclosure └── Implementation ├── File Organization & Checklist └── Tools & Automation ``

If the structure doesn't match, ensure:

  • [ ] SUMMARY.md is included in the upload
  • [ ] All file paths in SUMMARY.md are relative paths
  • [ ] All .md files referenced in SUMMARY.md exist

Step 5: Publish

  1. Click Settings → Publish (or your publication option)
  2. Your documentation is now live

---

Troubleshooting Import

Problem: Pages Not Showing

Check: Are all .md files in the same upload?

  • Solution: Make sure to upload the entire folder, not just individual files

Check: Are file paths correct in SUMMARY.md?

  • Solution: SUMMARY.md uses relative paths like ./intro.md and ./documentation-types/entry-points.md

Problem: Wrong Page Structure

Check: Was SUMMARY.md included in the upload?

  • Solution: SUMMARY.md defines the page hierarchy. Without it, GitBook creates a flat structure.

Check: Are heading levels consistent in markdown files?

  • Solution: Each file should start with a single # heading (the page title)

Problem: Missing Images or Code

All text is included, but images or special formatting may not render if files were missing during upload.

---

Customization in GitBook

After import, you can:

  1. Reorder pages - Drag pages in the sidebar
  2. Rename pages - Click the page title to edit
  3. Add covers - Upload cover images
  4. Change theme - Settings → Appearance
  5. Add comments - Enable commenting on pages
  6. Set permissions - Settings → Share & publish

---

What's Next After Import?

  1. Review the structure - Make sure pages are in the right order
  2. Test navigation - Click through all links to verify they work
  3. Add team members - Invite colleagues to view/edit
  4. Customize styling - Adjust theme colors and fonts if desired
  5. Enable publishing - Make docs public or restrict access
  6. Set up git sync (optional) - Connect to GitHub to auto-update when you push changes

---

Git Sync (Advanced)

To auto-update GitBook when you push changes to GitHub:

  1. In GitBook: Settings → Git Sync
  2. Connect your GitHub repository
  3. Select the branch and folder (engineer-docs/)
  4. Every push to that branch auto-updates GitBook

This is optional but useful for keeping docs in sync with your code.

---

Support

If you encounter issues:

  1. Check GitBook's import documentation
  2. Ensure all file paths in SUMMARY.md are correct
  3. Verify all .md files are UTF-8 encoded
  4. Check that no files have special characters in names

---

Files in This Directory

`` engineer-docs/ ├── SUMMARY.md (GitBook structure) ├── book.json (GitBook configuration) ├── GITBOOK_IMPORT_GUIDE.md (This file) ├── intro.md (Main page) ├── documentation-types/ │ ├── entry-points.md │ ├── core-docs.md │ ├── guides-examples.md │ └── process-docs.md ├── best-practices/ │ ├── principles.md │ └── progressive-disclosure.md └── implementation/ ├── organization.md └── tools-automation.md ``

Total: 9 pages of documentation + 2 configuration files