Test a Docusaurus production build locally
build folder at http://localhost:3000/.npm run servewebsite·Indexed 31 days ago
https://ayuda.habiplex.app/Documentation and tutorials for Habiplex, featuring guides on accounting processes such as cash receipts (recibos de caja), as well as technical documentation for site management using Docusaurus, including page creation, i18n translation, and version control.
build folder at http://localhost:3000/.npm run serveblog/ directory. The filename typically follows a date-based naming convention (e.g., YYYY-MM-DD-title.md).---
slug: greetings
title: Greetings!
authors:
- name: Joel Marcey
title: Co-creator of Docusaurus 1
url: https://github.com/JoelMarcey
image_url: https://github.com/JoelMarcey.png
- name: Sébastien Lorber
title: Docusaurus maintainer
url: https://sebastienlorber.com
image_url: https://github.com/slorber.png
tags: [greetings]
---
Congratulations, you have made your first post!
Feel free to play around and edit this post as much you like.static/ directory) or relative paths (colocated with the Markdown file).<!-- Link to a page -->
[Create a page](/create-a-page)
[Create a page](./create-a-page.md)
<!-- Image from static directory -->

<!-- Image relative to current file -->
npm init docusaurus@latest my-website classicdocs/intro.md) will be reflected automatically in the browser.cd my-website
npm run startdocs directory into the corresponding locale folder within the i18n directory. The path structure follows the plugin name and current version.# Create the directory for the French translation
mkdir -p i18n/fr/docusaurus-plugin-content-docs/current/
# Copy the document to the translation folder
cp docs/intro.md i18n/fr/docusaurus-plugin-content-docs/current/intro.mdUse the Docusaurus CLI to snapshot the current state of your docs folder into a versioned release. This process copies the docs folder into a new directory within versioned_docs/ and creates or updates a versions.json file to track the version history.
After creating a version (e.g., '1.0'), the site will host two sets of docs:
1.0) at /docs/.current) at /docs/next/.npm run docusaurus docs:version 1.0build folder.npm run buildDocusaurus separates content by version using the file system. To update a specific version, edit the file in its corresponding versioned folder. To update the upcoming/unreleased version, edit the file in the main docs folder.
Example mapping:
versioned_docs/version-1.0/hello.md $\rightarrow$ updates http://localhost:3000/docs/hellodocs/hello.md $\rightarrow$ updates http://localhost:3000/docs/next/helloexport const Highlight = ({children, color}) => (
<span
style={{
backgroundColor: color,
borderRadius: '20px',
color: '#fff',
padding: '10px',
cursor: 'pointer',
}}
onClick={() => {
alert(`You clicked the color ${color} with label ${children}`)
}}>
{children}
</span>
);
This is <Highlight color="#25c2a0">Docusaurus green</Highlight> !docs directory. For example, creating docs/hello.md will make the document available at the /docs/hello URL path.# Hello
This is my **first Docusaurus document**!