This commit is contained in:
endiliey 2018-09-06 01:56:19 +08:00
parent 87bd1bea05
commit b00b933ab9
2 changed files with 5 additions and 8 deletions

View file

@ -3,11 +3,11 @@ id: docker
title: Docker title: Docker
--- ---
[Docker](https://www.docker.com/) is a tool that enables you to create, deploy, and manage lightweight, stand-alone packages that contain everything needed to run an application. It can help us to avoid conflicting dependencies when we edit the doc and publish gh-pages. [Docker](https://www.docker.com/) is a tool that enables you to create, deploy, and manage lightweight, stand-alone packages that contain everything needed to run an application. It can help us to avoid conflicting dependencies & unwanted behavior when running Docusaurus.
## Run the local webserver in docker ## Run the local webserver in docker
You need to ensure you have install [docker](https://www.docker.com/get-started) and install docusaurus correctly. You need to ensure you have installed [docker](https://www.docker.com/get-started).
To run the local webserver you only need to do a few step: To run the local webserver you only need to do a few step:

View file

@ -176,16 +176,13 @@ function execute() {
// Manually add 'Help Translate' to en.json // Manually add 'Help Translate' to en.json
translations['pages-strings'][ translations['pages-strings'][
'Help Translate|recruit community translators for your project' 'Help Translate|recruit community translators for your project'
] = ] = 'Help Translate';
'Help Translate';
translations['pages-strings'][ translations['pages-strings'][
'Edit this Doc|recruitment message asking to edit the doc source' 'Edit this Doc|recruitment message asking to edit the doc source'
] = ] = 'Edit';
'Edit';
translations['pages-strings'][ translations['pages-strings'][
'Translate this Doc|recruitment message asking to translate the docs' 'Translate this Doc|recruitment message asking to translate the docs'
] = ] = 'Translate';
'Translate';
translations['pages-strings'] = Object.assign( translations['pages-strings'] = Object.assign(
translations['pages-strings'], translations['pages-strings'],
customTranslations['pages-strings'] customTranslations['pages-strings']