24 June: Performance upgrades, llms-full.txt and .md support, text alignment and more

Your docs sites load faster and support llms-full.txt and .md for LLM ingestion — plus you can now add icons to buttons, center- or right-align text on the page, and much more

✨ New and noteworthy

Your docs site just got faster

Three icons representing speed, llms-full.txt and Markdown file support coming to GitBook, all showing on a pale background

Over the past few weeks we’ve been slowly rolling out a new platform for our public docs. It’s faster, more performant, and it prepares us for our future plans regarding adaptive content.

The great news is that this new, improved platform is now live for everyone.

We rolled this out slowly because we handle 150 million requests on docs hosted by GitBook every day, and each one makes multiple requests to our API. The slower rollout meant we avoided downtime caused by overloading the API with requests, and means we can now optimize how we generate pages to improve loading times.

That means your users will get improved performance in your docs, and there are a few other benefits as well…

llms-full.txt and .md support for LLMs

Our new docs platform means your docs now automatically create an llms-full.txt file, which includes all of the content on your entire docs site.

llms-full.txt is a new proposed standard for making web content available in text-base formats that are easier for LLMs to process. You can access the llms-full.txt page by appending /llms-full.txt to the root URL of your docs site.

The llms-full.txt file provides a comprehensive collection of all your site’s content in Markdown formatting. With this file, you make it easier for LLMs to efficiently discover and process your documentation content.


You can also now add .md to any page’s URL in the browser to see the content of that page rendered in Markdown.

This is great for LLMs as well, which find it much easier and more efficient to process Markdown than a full HTML file with all the styling your docs site page includes.

Add icons to your inline buttons

Last month we added inline buttons to docs, and last week we added inline icons. Now, we’re combining the two!

You can now add an icon to any button you add to your docs, allowing for more customization, and helping you attract more attention to your CTAs.

Read the docs Go to top

Center align headings, paragraphs and inline items

Want to build a polished landing page, add some more structure, or even make your docs the homepage for your entire product? That’s just got easier with alignments in GitBook.

You can now align header and paragraph blocks to the left, center or right of your page, allowing for more flexibility when you’re designing your content.

Add centered titles to build a clean landing page. Right-align an image or some buttons as a CTA to read more. You can even combine alignments with our new column blocks and button icons to create variations on specific layouts you like. Here’s a quick example:


Getting started

A white globe icon on a purple and orange background

Paygrid Checkout

Get set up, connect with your current order flow, and start getting paid in minutes with Paygrid Checkout.

Integration guide API Reference

The Paygrid SDK & API

Discover our SDK and APIs and explore how you can connect Paygrid to your platform to deliver even more functionality

Explore the SDK Payments API

A white API icon on a purple and orange background

Select all just got better

When you hit + A (Mac) or Ctrl + A (Windows) to Select all within certain blocks, GitBook will now first select the contents of that block. You can hit the same keyboard shortcut again to select all the content on the page.

The blocks that use this logic are tab, stepper, code, column and hint blocks.

Improved
  • We’ve improved page position and selection when switching between pages. You’ll now jump back to the place on the page you were last and any selected content will remain selected, allowing you to jump quickly between pages to check details without needing to scroll.

  • We’ve added heading options (H1/H2/H3) to the top level of the Block options menu for paragraph and heading blocks to make it easier to switch between different headings when creating or editing docs.

  • When you hit + A (Mac) or Ctrl + A (Windows) to Select all within some blocks, GitBook will now first select the contents of that block. You can hit the same keyboard shortcut again to select all the content on the page. The blocks that use this logic are tab, stepper, code, column and hint blocks.

  • We’ve made it easier to apply for the Community plan through your site’s settings. You can now apply for the plan directly in the settings screen, and it offers a dedicated space for Community plan users to submit their site for ads approval.

  • When you create a new page, the focus will immediately be on the title. It’s a small change, but it should improve your editing experience when you add new pages to your docs!

  • Fields within cards now have an Actions button at the end of each field, allowing you to complete actions like adding or removing entries or deleting the field.

  • In published content, you can now collapse page groups when browsing pages within those groups, and when your click between the parents the page you previously had opened will automatically open without the parent expanding. This should help save vertical space in the sidebar

Fixed
  • Fixed a crash that could happen to the comments side panel if the user tried to open it without having commenting permissions.

  • Fixed a bug that meant GitBook AI would sometimes process text in the wrong order when rewriting a group of blocks.

  • Fixed an issue that was causing broken links to API specs in GitBook when you set up Git Sync. Now you can properly link to API specs when your content is synced to GitHub or GitLab.

  • Fixed an issue that meant the wrong users could sometimes be shown as merging a change request. Now, the person who merges a change request will always be shown in the version history.

  • Fixed a bug that prevented users who had been given edit access at a collection level to create spaces within that collection.

  • Fixed a crash that could happen when a number field in a table was null or undefined.

  • Fixed a bug that caused some jumps in the editor.

  • Fixed a bug that meant a toast saying “Uploading file…” would sometimes never dismiss and remain on the screen.

  • Fixed a bug with drawing blocks that meant they wouldn’t update after an edit. Also fixed a separate bug that meant copying and pasting a drawing block would sync them so updates to one would sync to the other. Now they are treated as separate blocks.


We’re constantly working to improve the way you and your team work in GitBook, and value your input on features, bugs, and more. Make sure you head to our official GitBook community to join the discussion.

Last updated

Was this helpful?