Skip to content

Commit

Permalink
Added ro wiki adjusted
Browse files Browse the repository at this point in the history
  • Loading branch information
robertnitu02 committed Oct 25, 2024
1 parent 01f9e0c commit b8a7418
Show file tree
Hide file tree
Showing 62 changed files with 7,760 additions and 2 deletions.
64 changes: 64 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# Sample workflow for building and deploying a VitePress site to GitHub Pages
#
name: Deploy VitePress site to Pages

on:
# Runs on pushes targeting the `main` branch. Change this to `master` if you're
# using the `master` branch as the default branch.
push:
branches: [master]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: pages
cancel-in-progress: false

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # Not needed if lastUpdated is not enabled
# - uses: pnpm/action-setup@v3 # Uncomment this if you're using pnpm
# - uses: oven-sh/setup-bun@v1 # Uncomment this if you're using Bun
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm # or pnpm / yarn
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Install dependencies
run: npm ci # or pnpm install / yarn install / bun install
- name: Build with VitePress
run: npm run docs:build # or pnpm docs:build / yarn docs:build / bun run docs:build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/.vitepress/dist

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build
runs-on: ubuntu-latest
name: Deploy
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/node_modules

docs/.vitepress/dist
docs/.vitepress/cache
56 changes: 54 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,54 @@
# B-Zone-GTA-V-Wiki-Eng
B-Zone V - English Wiki page
# B-Zone V Wiki

Welcome to the official Wiki page for B-Zone V !

## About

This Wiki serves as a central repository for all information related to the B-Zone V Roleplay Server. Here, you can find documentation, guides, FAQs, and more to help you understand and contribute to the project.

## Live Version

Click here to see the current Wiki B-Zone V page: [Wiki page](https://b-zone-gta-v.github.io/B-Zone-GTA-V-Wiki-Eng/).

## How to Contribute

Contributions to the Wiki are highly appreciated and encouraged! Whether you're fixing a typo, adding new content, or improving existing documentation, your contributions help make this resource more valuable for everyone.

To contribute to the Wiki, follow these steps:

1. **Fork the Repository:** Click the "Fork" button at the top-right corner of this page to create a copy of the repository in your GitHub account.

2. **Clone the Repository:** Clone the forked repository to your local machine using Git. Replace `[username]` with your GitHub username:
```bash
git clone https://github.com/[username]/B-Zone-GTA-V-Wiki-Eng
```

3. **Install VitePress:** Here you can find the documentation: https://vitepress.dev/guide/getting-started

4. **Make Changes:** Navigate to the cloned repository on your machine and make the necessary changes to the Wiki pages. You can edit existing pages, create new pages, or upload images and files as needed.

5. **Commit Changes:** Once you've made your changes, commit them to your forked repository with descriptive commit messages:
```bash
git add .
git commit -m "Add/update [description of changes]"
```

6. **Push Changes:** Push your changes to your forked repository on GitHub:
```bash
git push origin master
```

7. **Submit a Pull Request (PR):** Go to your forked repository on GitHub and click the "New Pull Request" button. Describe the changes you've made in the PR description and submit the PR for review.

8. **Review and Merge:** After submitting a PR, the maintainers of this repository will review your changes. Once approved, your changes will be merged into the main Wiki repository.


## Need Help?

If you have any questions or need assistance with contributing to the Wiki, feel free to reach out to us by opening an issue in this repository.

Thank you for contributing to B-Zone V Wiki!

<p align="center">
<img src="https://media.giphy.com/media/jpVnC65DmYeyRL4LHS/giphy.gif" width="20%">
</p>
141 changes: 141 additions & 0 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
import { defineConfig } from 'vitepress'

export default defineConfig({
title: "B-Zone V Wiki",
description: "Wiki page - B-Zone V Roleplay",
base: '/B-Zone-GTA-V-Wiki-Eng/',
appearance: 'force-dark',
head: [
['link', { rel: 'icon', href: '/B-Zone-GTA-V-Wiki-Eng/favicon.ico' }]
],
themeConfig: {
logo: '/assets/images/logo.png',
nav: [
{
text: 'Linkuri',
items: [
{ text: 'UCP', link: 'https://v.b-zone.ro' },
{ text: 'RAGEMP', link: 'https://rage.mp' },
]
},
],
sidebar: [
{
text: '🕹️ RAGEMP',
items: [
{ text: 'RAGE Multiplayer', link: '/server/rage/rage' },
{ text: 'Probleme RAGE', link: '/server/rage/probleme_rage' },
]
},
{
text: '📖 Regulamente',
items: [
{ text: 'Regulament (Romana)', link: '/server/rules' },
{ text: 'Cod Penal (Romana)', link: '/server/rules/penal_code' },
{ text: 'Rules (English)', link: '/server/rules/rulesen' },
{ text: 'Penal Code (English)', link: '/server/rules/penal_code_en' },
]
},
{
text: 'ℹ️ Informatii Generale / General Info',
items: [
{ text: 'Account & Character Creation', link: '/server/info/account' },
// { text: 'RolePlay Test', link: '/server/info/rptest' },
{ text: 'Tutorial', link: '/server/info/tutorial' },
{ text: 'Settings & Hotkeys', link: '/server/info/settings' },
{ text: 'Inventory & Backpack', link: '/server/info/inventory' },
{ text: 'Update your document', link: '/server/info/updatedoc' },
{ text: 'Garage System', link: '/server/info/garage' },
{ text: 'Animation System', link: '/server/info/animation' },
{ text: 'ATM', link: '/server/info/atm' },
{ text: 'Vehicle Recycle Center', link: '/server/info/remat' },
{ text: 'Walkie-Talkie', link: '/server/info/walkietalkie' },
{ text: 'Licenses', link: '/server/info/licenses' },
{ text: 'Paying Fines', link: '/server/info/fines' },
{ text: 'Jobs', link: '/server/info/jobs' },
{ text: 'Search in trash bins', link: '/server/info/trashsearch' },
{ text: 'Phone', link: '/server/info/phone' },
{ text: 'Books', link: '/server/info/books' },
{ text: 'Gym / Sală', link: '/server/info/gym' },
]
},
{
text: '✒️ Locuri de munca / Jobs',
items: [
{ text: '📝 Job Applications', link: '/server/jobs/applications' },
{ text: '♻️ Gunoier / Garbageman', link: '/server/jobs/garbageman' },
{ text: '⛏️ Miner', link: '/server/jobs/miner' },
{ text: '🛵 McBeeDelivery', link: '/server/jobs/mcbee' },
{ text: '👷‍♂️ Electrician', link: '/server/jobs/electrician' },
{ text: '🚛 Trucker', link: '/server/jobs/trucker' },
{ text: '🚌 Șofer De Autobuz / Bus Driver', link: '/server/jobs/bus_driver' },
{ text: '🚚 GoPostal', link: '/server/jobs/gopostal' },
]
},
{
text: '🎣 Hobby',
items: [
{ text: 'Fisherman', link: '/server/hobby/fisherman' },
{ text: 'B-Taxi', link: '/server/hobby/taxi' },
{ text: 'Tailoring', link: '/server/hobby/tailor' },
{ text: 'Lumberjack', link: '/server/hobby/lumberjack'},
]
},
{
text: '🛒 Magazine / Shops',
items: [
{ text: 'Dealership', link: '/server/shops/dealership' },
{ text: '24/7', link: '/server/shops/247' },
{ text: 'Clothing Store', link: '/server/shops/clothing' },
{ text: 'White Weapon Shop', link: '/server/shops/meleeweapon' },
{ text: 'Hairstyle Shop', link: '/server/shops/hairstyle' },
{ text: 'Tattoo Shop', link: '/server/shops/tattoo' },
{ text: 'Tuning Shop', link: '/server/shops/tuning' },
{ text: 'Gas Station & Jerry can', link: '/server/shops/gasstation' },
]
},
{
text: '🛍️ Factiuni / Factions',
items: [
{ text: 'Los Santos Medical Department', link: '/server/factions/medics' },
{ text: 'Los Santos Police Department', link: '/server/factions/police' },
{ text: 'Los Santos Mechanics', link: '/server/factions/mechanics' },
]
},
],
socialLinks: [
{ icon: 'discord', link: 'https://b-zone.ro/rage' },
{ icon: 'github', link: 'https://github.com/B-Zone-GTA-V' },
],
search: {
provider: 'local',
options: {
_render(src, env, md) {
const html = md.render(src, env)
if (env.frontmatter?.title)
return md.render(`# ${env.frontmatter.title}`) + html
return html
}
}
},
editLink: {
pattern: ({ filePath }) => {
if (filePath.startsWith('packages/')) {
return `https://github.com/B-Zone-GTA-V/B-Zone-GTA-V-Wiki-Eng/edit/master/${filePath}`
} else {
return `https://github.com/B-Zone-GTA-V/B-Zone-GTA-V-Wiki-Eng/edit/master/docs/${filePath}`
}
}
},
lastUpdated: {
text: 'Actualizat la',
formatOptions: {
dateStyle: 'short',
timeStyle: 'short'
}
},
footer: {
copyright: 'Copyright © 2024 B-Zone V'
}
}
})
6 changes: 6 additions & 0 deletions docs/.vitepress/theme/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import DefaultTheme from 'vitepress/theme'
import './styles/style.css'
import './styles/job_style.css'
import './styles/hobby_style.css'

export default DefaultTheme
12 changes: 12 additions & 0 deletions docs/.vitepress/theme/styles/hobby_style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.button-p-hobby {
display: inline-block;
padding: 0px 8px;
background-color: #0088CC;
color: white;
border-radius: 8px;
font-family: 'Arial', sans-serif;
font-weight: bold;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
font-size: 14px;
letter-spacing: 1px;
}
19 changes: 19 additions & 0 deletions docs/.vitepress/theme/styles/job_style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
.button-p-job, .button-r-job {
display: inline-block;
padding: 0 8px;
color: white;
border-radius: 8px;
font-family: 'Arial', sans-serif;
font-weight: bold;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
font-size: 14px;
letter-spacing: 1px;
}

.button-p-job {
background-color: #0088CC;
}

.button-r-job {
background-color: #ad3838;
}
21 changes: 21 additions & 0 deletions docs/.vitepress/theme/styles/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
table {
width: 100%;
border-collapse: collapse;
}

td {
border: 1px solid black;
padding: 10px;
text-align: center;
}

.image-row {
display: flex;
justify-content: center;
}

.image-row img {
margin: 0 5px;
width: 50px;
height: 50px;
}
5 changes: 5 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# B-Zone V Wiki ENGLISH PANTELIMON VERSION

## Bun venit!

Bun venit pe pagina de Wiki! Aici vei găsi informații generale referitoare la cum funcționează server-ul și client-ul de RAGE!
Binary file added docs/public/assets/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/public/favicon.ico
Binary file not shown.
13 changes: 13 additions & 0 deletions docs/server/factions/mechanics.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
outline: deep
---

## Los Santos Mechanics

### <span style="color: #0088CC">Română</span>

Informațiile despre această facțiune se descoperă în joc.

### <span style="color: #0088CC">English</span>

The information about this faction needs to be discovered in-game.
13 changes: 13 additions & 0 deletions docs/server/factions/medics.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
outline: deep
---

## Los Santos Medical Department

### <span style="color: #0088CC">Română</span>

Informațiile despre această facțiune se descoperă în joc.

### <span style="color: #0088CC">English</span>

The information about this faction needs to be discovered in-game.
13 changes: 13 additions & 0 deletions docs/server/factions/police.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
outline: deep
---

## Los Santos Police

### <span style="color: #0088CC">Română</span>

Informațiile despre această facțiune se descoperă în joc.

### <span style="color: #0088CC">English</span>

The information about this faction needs to be discovered in-game.
Loading

0 comments on commit b8a7418

Please sign in to comment.