This is the documentation site for BareCMS, built with Docsify.
You need to have Node.js installed on your system.
Install docsify globally using npm:
npm install -g docsify-cliOr using yarn:
yarn global add docsify-cliThe documentation consists of several markdown files:
index.md- Homepage contentgetting-started.md- Getting started guidefeatures.md- Features overviewconcepts.md- Core conceptsapi.md- API documentationself-hosting.md- Self-hosting guidecontributing.md- Contributing guidelinesquick-example.md- Quick example_sidebar.md- Navigation sidebar configuration_coverpage.md- Cover page configuration_footer.md- Footer content
To make changes:
- Edit existing content: Open any
.mdfile and make your changes using standard Markdown syntax - Add new pages: Create new
.mdfiles in the root directory - Update navigation: Edit
_sidebar.mdto add new pages to the sidebar navigation - Modify cover page: Edit
_coverpage.mdto change the homepage appearance
Use standard Markdown syntax for formatting:
# Heading 1## Heading 2**bold text***italic text*`inline code`- Links:
[text](url) - Code blocks:
```language
From the project root directory, run:
docsify serve .- Open your browser and go to:
http://localhost:3000 - The documentation will automatically reload when you save changes to any markdown files
- No need to restart the server - just save your files and refresh the browser
Docsify automatically watches for file changes and refreshes the browser, so you can see your edits in real-time.
- Live Preview: Keep the local server running while editing to see changes instantly
- Sidebar Navigation: Remember to update
_sidebar.mdwhen adding new pages - Images: Place images in the
assets/folder and reference them with relative paths - Internal Links: Use relative paths for linking between documentation pages