From a8e15aeab499db5101d60814fcb0adc4634b5682 Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Wed, 28 Oct 2020 12:43:05 +0000 Subject: [PATCH] Deploy website Deploy website version based on 2aae77124eaaac3d768547a88f77c4b2402f7dec --- docs/en/next/tutorial-version.html | 4 ++-- docs/en/next/tutorial-version/index.html | 4 ++-- docs/fr/next/tutorial-version.html | 2 +- docs/fr/next/tutorial-version/index.html | 2 +- docs/ko/next/tutorial-version.html | 2 +- docs/ko/next/tutorial-version/index.html | 2 +- docs/pt-BR/next/tutorial-version.html | 2 +- docs/pt-BR/next/tutorial-version/index.html | 2 +- docs/ro/next/tutorial-version.html | 2 +- docs/ro/next/tutorial-version/index.html | 2 +- docs/ru/next/tutorial-version.html | 2 +- docs/ru/next/tutorial-version/index.html | 2 +- docs/zh-CN/next/tutorial-version.html | 2 +- docs/zh-CN/next/tutorial-version/index.html | 2 +- 14 files changed, 16 insertions(+), 16 deletions(-) diff --git a/docs/en/next/tutorial-version.html b/docs/en/next/tutorial-version.html index d0bdbb4dcf..37ddd89ca4 100644 --- a/docs/en/next/tutorial-version.html +++ b/docs/en/next/tutorial-version.html @@ -86,7 +86,7 @@

Assume you are happy with the current state of the documentation and want to freeze it as the v1.0.0 docs. First you cd to the website directory and run the following command.

npm run examples versions
 
-

That command generates a versions.js file, which will be used to list down all the versions of docs in the project.

+

That command generates a versions.json file, which will be used to list down all the versions of docs in the project.

Next, you run a command with the version you want to create, like 1.0.0.

npm run version 1.0.0
 
@@ -120,7 +120,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum

Go ahead and publish your versioned site with the publish-gh-pages script!

Wrap Up

That's all folks! In this short tutorial, you have experienced how easy it is to create a documentation website from scratch and make versions for them. There are many more things you can do with Docusaurus, such as adding a blog, search and translations. Check out the Guides section for more.

-
Last updated on 8/6/2019 by Jay Martin
Publish the Site