Movatterモバイル変換


[0]ホーム

URL:


Read the Docs Blog

Introducing support for version-only projects

URLs are an important part of your documentation.Users can infer from the URL if your documentation has or supportsmultiple versions or translations.

Until now, Read the Docs allowed you to configure your project in two ways:

Multiple versions with translations

Resulting in URLs like:

  • /en/latest/index.html

  • /es/latest/index.html

  • /en/1.0/index.html

Single version without translations

Resulting in URLs like:

  • /index.html

  • /api/v3.html

While not all projects have or require translations, many benefit from having multiple versions.This meant that projects without translations but with need for multiple versions,had to opt into supporting translations in order to have multiple versions.

We’re excited to announce that we now support projects with multiple versions without translations.Resulting in URLs like:

  • /latest/index.html

  • /1.0/index.html

Now instead of having aSingleversion checkbox in theAdmin page of your project,you’ll see aVersioningscheme dropdown with three options available.

Changes in the API

In order to support this new feature, we have made some changes to the API.Specifically, thesingle_version field has been deprecated in favor of theversioning_scheme field.

When updating a project, you should use theversioning_scheme field instead of thesingle_version field.To avoid breaking existing integrations,thesingle_version field will still be returned in the API,but you should use theversioning_scheme field instead.

Subscribe to our mailing list

Sign up for our blog and we'll send you news and updates about Sphinx and Read the Docs on a regular basis.

You can unsubscribe anytime. For more details, review ourPrivacy Policy.

Thank you!

You have successfully joined our subscriber list.

.

Follow us

Recent Posts

Categories

Archives


[8]ページ先頭

©2009-2025 Movatter.jp