https://github.com/cloudlinux/cloudlinux-documentation
https://github.com/cloudlinux/cloudlinux-documentation
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/cloudlinux/cloudlinux-documentation
- Owner: cloudlinux
- Created: 2023-04-17T14:52:34.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2025-12-24T09:24:56.000Z (about 2 months ago)
- Last Synced: 2025-12-25T22:57:12.056Z (about 2 months ago)
- Size: 116 MB
- Stars: 0
- Watchers: 2
- Forks: 31
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cloudlinux-documentation
## Install dependencies
```sh
$ yarn
```
## Run development server
```sh
$ yarn docs:dev
```
## Build static assets
```sh
$ yarn docs:build
```
## Adding Images
When adding new images to the documentation, follow these guidelines:
1. Image Location:
- Place all images in the `docs/.vuepress/public/images/` directory.
- Use subdirectories that match your documentation structure. Feel free to create new subdirectories as needed.
- Avoid placing images directly in the `images` directory.
2. Image Format:
- Use WebP format for all images. Convert other formats to WebP before adding.
3. Referencing Images in Markdown:
- Use relative paths from the root of the public directory.
- The path structure should mirror your documentation structure.
### Example: Adding an image to the Solo CloudLinux User Docs
Let's say you want to add an image to `End-user Documents > Cloudlinux Solo for end-users`.
1. Convert your image to WebP format and give it a meaningful name, for example `solo-cloudlinux-dashboard.webp`.
- The filename should be all lowercase and use hyphens to separate words. no spaces or special characters.
- Use a descriptive name that reflects the image content.
- No more than 5 words in the filename.
2. Place the image in the following directory:
```
docs/.vuepress/public/images/user-docs/user-docs-solo-cloudlinux
```
3. Reference the image in your markdown file:
```

```