Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/_data/sidebar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ help:
label: Documentation access management
link: /publish-documentation/documentation-access-management/
- type: page
label: SEO
link: /publish-documentation/seo/
label: SEO & GEO
link: /publish-documentation/seo-geo/
- type: page
label: Provide links to external resources
link: /publish-documentation/external-links/
Expand Down Expand Up @@ -154,4 +154,4 @@ help:
icon: help-circle
- label: Support and SLA
link: /support-and-sla/
icon: heart-plus
icon: heart-plus
4 changes: 2 additions & 2 deletions src/_data/sidebars/help.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ resources:
label: Documentation access management
link: /publish-documentation/documentation-access-management/
- type: page
label: SEO
link: /publish-documentation/seo/
label: SEO & GEO
link: /publish-documentation/seo-geo/
- type: page
label: Provide links to external resources
link: /publish-documentation/external-links/
Expand Down
77 changes: 77 additions & 0 deletions src/_help/publish-documentation/seo-geo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
---
title: SEO & GEO
---

- TOC
{:toc}

## Sitemaps
To optimize the indexing of your public documentation, Bump.sh automatically generates a sitemap for each one.

[sitemap.xml of a documentation](https://bump.sh/bump-examples/doc/train-travel-api/sitemap.xml) *(example truncated for visibility purposes).*
```xml
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://bump.sh/bump-examples/doc/train-travel-api</loc>
<lastmod>2025-10-29T15:13:09+01:00</lastmod>
</url>
<url>
[...]
```

Similarly, if you use one or more [hubs](https://docs.bump.sh/help/hubs/), they will have their own sitemap_index for all the sitemaps of the documentation they contain.

[sitemap_index.xml of a hub](https://demo.bump.sh/sitemap_index.xml) *(example truncated for visibility purposes).*
```xml
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>https://demo.bump.sh/doc/external-adyen/sitemap_index.xml</loc>
<lastmod>2020-04-30T21:36:43+02:00</lastmod>
</sitemap>
<sitemap>
[...]
```

## Meta titles
The titles follow the construction below:

`[Node Title] - API expanded name ([branch name])`

- `[Node Title]` indicates which sections of the documentation the URL points to (e.g., `authentication` or `servers`). For the URL pointing to the root of your documentation, this section remains empty.
- `API expanded name` uses the name of your documentation followed by `API documentation`. For example, the documentation `Bump` becomes `Bump API documentation`.
- `[branch name]` is present only if there is a [branch](https://docs.bump.sh/help/publish-documentation/branching/) on the documentation.

## Meta descriptions
Descriptions are limited to 160 characters and truncated beyond that.

If a description is provided by `info.description` in your API definition, it will be used.
Otherwise, Bump.sh automatically generates a description using the following model:

```shell
This is the documentation for version <code class="code-inline">#{api_version}</code> of the API.
Last update on #{l(api_definition.created_at, format: :date)}
```

## GEO (Generative Engine Optimization)
### llms.txt
`llms.txt` provides context for AI tools, telling crawlers what information can be retrieved behind each page of a documentation. It's available on both hubs and docs by adding `/llms.txt` at the end of the URL.

[llms.txt of a documentation](https://bump.sh/bump-examples/doc/train-travel-api/llms.txt) *(example truncated for visibility purposes).*
```markdown
# Train Travel API

## Description
API for finding and booking train trips across Europe.

## Servers
- Production: https://api.example.com (Production)

## Topics
- [Getting started](https://bump.sh/bump-examples/doc/train-travel-api/topic/topic-getting-started.md)

## Endpoints and operations

### [Stations](https://bump.sh/bump-examples/doc/train-travel-api/group/endpoint-stations.md)
- [Get a list of train stations](https://bump.sh/bump-examples/doc/train-travel-api/operation/operation-get-stations.md)
- [...]
````
30 changes: 0 additions & 30 deletions src/_help/publish-documentation/seo.md

This file was deleted.