This website is built using Docusaurus 2, a modern static website generator.
- Staging: https://apidocs-staging.aplazame.org
- Production: https://aplazame.dev
yarn
Node >=16.14
yarn start
Start with en
locale:
yarn start --locale en
or
npx docusaurus start
yarn run start --locale es
yarn run start --locale en
or
npm run start -- --locale en
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
This command generate pending translations:
yarn run write-translations --locale en
The docusaurus write-translations command will statically analyze all React code files used in your site, extract calls to these APIs, and aggregate them in the code.json file. More info
The build generate content for all the languages and check internal links:
yarn build
To test your build locally.
npm run serve
This command generates static content into the build
directory and can be served using any static contents hosting service.
https://github.com/praveenn77/docusaurus-lunr-search
### Testing
npx cypress open
cypress run --browser chrome
https://docusaurus.io/docs/deployment
(Done by Jenkins)