Loading...
Loading...
GitBook documentation platform - creating docs, publishing sites, Git sync, API references, and collaboration
npx skill4agent add enuno/claude-command-and-control gitbook| Concept | Description |
|---|---|
| Space | A documentation project (like a book or wiki) |
| Collection | A group of related spaces |
| Site | Published documentation accessible via URL |
| Change Request | Draft changes for review before publishing |
| Live Edits | Direct changes without change request workflow |
| Block | Shortcut | Description |
|---|---|---|
| Paragraph | Just type | Default text block |
| Heading | | Section headers (H1, H2, H3) |
| Code Block | ``` or | Syntax-highlighted code |
| Quote | | Blockquote |
| List | | Unordered/ordered lists |
| Task List | | Checkbox items |
| Table | | Data tables |
| Image | | Upload or embed images |
| Tabs | | Tabbed content |
| Expandable | | Collapsible sections |
| Cards | | Visual link cards |
| Hint | | Info, warning, danger, success boxes |
| API Reference | | OpenAPI spec integration |
/:emoji_name:$$formula$${% hint style="info" %}
This is an info hint
{% endhint %}
{% hint style="warning" %}
This is a warning
{% endhint %}
{% hint style="danger" %}
This is a danger/error hint
{% endhint %}
{% hint style="success" %}
This is a success hint
{% endhint %}{% tabs %}
{% tab title="JavaScript" %}
console.log("Hello");
{% endtab %}
{% tab title="Python" %}
print("Hello")
{% endtab %}
{% endtabs %}{% expandable title="Click to expand" %}
Hidden content here
{% endexpandable %}{% stepper %}
{% step %}
First step content
{% endstep %}
{% step %}
Second step content
{% endstep %}
{% endstepper %}{% cards %}
{% card title="Card 1" href="/page1" %}
Description here
{% endcard %}
{% card title="Card 2" href="/page2" %}
Another description
{% endcard %}
{% endcards %}docs/
├── README.md # Space landing page
├── SUMMARY.md # Table of contents
├── .gitbook.yaml # GitBook configuration
├── page-one.md
├── group/
│ ├── README.md # Group landing page
│ └── nested-page.md
└── .gitbook/
└── assets/ # Images and files# Table of contents
* [Introduction](README.md)
* [Getting Started](getting-started.md)
## Section Title
* [Page One](section/page-one.md)
* [Page Two](section/page-two.md)root: ./docs/ # Documentation root directory
structure:
readme: README.md # Landing page file
summary: SUMMARY.md # Table of contents file
redirects:
old-path: new-path # URL redirectsdocs.example.comhosting.gitbook.ioexample.com/docs → GitBook site{% openapi src="./api.yaml" /%}| Type | Description |
|---|---|
| Public | Accessible to everyone |
| Unlisted | No search indexing, URL access only |
| Share links | Private with token-based access |
| Authenticated | SSO/login required |
# Prepare your repo
mkdir docs
echo "# Welcome" > docs/README.md
echo "* [Welcome](README.md)" > docs/SUMMARY.md
git add . && git commit -m "Initial docs"| Action | Shortcut |
|---|---|
| Command palette | |
| Bold | |
| Italic | |
| Link | |
| Code | |
| Search | |
references/viewhosting.gitbook.io