# Accessing previous docs versions

This documentation website only covers the latest stable release of Meilisearch. However, it is possible to view the documentation of previous Meilisearch versions stored in our GitHub repository (opens new window).

This guide shows you how to clone Meilisearch's documentation repository, fetch the content for a specific version, and read it in your local machine.

WARNING

While this guide's goal is to help users of old versions accomplish their bare minimum needs, it is not intended as a long-term solution or to encourage users to continue using outdated versions of Meilisearch. In almost every case, it is better to upgrade to the latest Meilisearch version.

Depending on the version in question, the process of accessing old documentation may be difficult or error-prone. You have been warned!

# Prerequisites

To follow this guide, you should have some familiarity with the command line. Before beginning, make sure the following tools are installed in your machine:

# Clone the repository

To access previous versions of the Meilisearch documentation, the first step is downloading the documentation repository into your local machine. In Git, this is referred to as cloning.

Open your console and run the following command. It will create a documentation directory in your current location containing the Meilisearch documentation site project files:

git clone https://github.com/meilisearch/documentation.git

Alternatively, you may clone the repository using an SSH URL (opens new window).

# Select a Meilisearch version

The documentation repository contains tags for versions from v0.8 up to the latest release. Use these tags together with git checkout to access a specific version.

For example, the following command retrieves the Meilisearch v0.20 documentation:

git checkout v0.20

Visit the repository on GitHub to view all documentation tags (opens new window).

# Access the documentation

There are three different ways of accessing the documentation of previous Meilisearch releases depending on the version you checked out.

WARNING

The site search bar is not functional in local copies of the documentation website.

# v0.17 and above: run a local Vuepress server

# Install dependencies

The Meilisearch documentation manages its dependencies with Yarn. Run the following command to install all required packages:

yarn install

# Start the local server

After installing dependencies, use Yarn to start the server:

yarn dev

Yarn will build the website from the markdown source files. Once the server is online, use your browser to navigate to http://localhost:8080.

WARNING

SDK code samples are not available in local copies of the documentation for Meilisearch v0.17 and above.

# v0.11-v0.16: run a simple Python server

Accessing Meilisearch documentation from v0.11 to v0.16 requires launching an HTTP server on your local machine. Run the following command on your console:

python3 -m http.server 8080

Once the server is online, use your browser to navigate to http://localhost:8080.

The above example uses Python to launch a local server, but alternatives such as npx serve work equally well.

# v0.8 to v0.10: read markdown source files

The build workflow on early versions of the documentation website involves multiple deprecated tools and libraries. We recommend browsing the source markdown files, either locally with the help of a modern text editor or using GitHub's interface.