Samy Pessé 462b2b6e65 Add support for no header in customization settings (#3)
* Start hiding header

* Adapt page aside as well

* Revert condition
2023-11-13 22:08:29 +01:00
2023-10-22 23:48:31 +02:00
2023-10-22 15:24:44 +02:00
2023-10-22 23:48:31 +02:00
2023-10-22 23:48:31 +02:00
2023-10-22 23:48:31 +02:00
2023-11-01 13:41:14 -04:00
2023-11-03 22:58:04 -04:00

GitBook

Next.js application to render GitBook published content.

Development

Installation

Clone the repository and use Bun to install dependencies and run the local development server.

bun install

Configuration

To develop and test a GitBook space locally, first create a GitBook API token and put it in a .env.local file:

GITBOOK_TOKEN=gb_api_abc

Start the local server

Run the Next.js development server.

bun dev

Then open the space in your web browser: http://localhost:3000/<space>/.

Other commands

  • bun format: format the code
  • bun lint: lint the code

Differences

  • Changed: Full-width mode:
    • When off, layout is centered
    • It now detects based on the page
  • New: Scroll to top button in page aside
  • New: Proper RTL support
  • New: Per page OpenGraph cover image
S
Description
The open source frontend for GitBook doc sites
Readme GPL-3.0 451 MiB
Languages
TypeScript 97.1%
CSS 2.3%
JavaScript 0.5%