Skip to content

Commit 47d1e41

Browse files
committed
REFACTOR WEBSITE
migrate to mkdocs rewrite pages without wiki configure for auto publish
1 parent 5d5f05f commit 47d1e41

28 files changed

Lines changed: 1293 additions & 0 deletions

.github/workflows/deploy.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Deploy MkDocs site
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- 'docs/**'
9+
- 'mkdocs.yml'
10+
workflow_dispatch:
11+
12+
permissions:
13+
contents: write
14+
15+
jobs:
16+
deploy:
17+
name: Build and Deploy
18+
runs-on: ubuntu-latest
19+
20+
steps:
21+
- name: Checkout repository
22+
uses: actions/checkout@v4
23+
24+
- name: Set up Python
25+
uses: actions/setup-python@v5
26+
with:
27+
python-version: "3.x"
28+
29+
- name: Install dependencies
30+
run: |
31+
pip install mkdocs-material mkdocs-material-extensions
32+
33+
- name: Build and Deploy
34+
run: |
35+
mkdocs gh-deploy --force

.gitignore

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# MkDocs
2+
site/
3+
4+
# Python
5+
__pycache__/
6+
*.py[cod]
7+
*$py.class
8+
*.so
9+
.Python
10+
build/
11+
develop-eggs/
12+
dist/
13+
downloads/
14+
eggs/
15+
.eggs/
16+
lib/
17+
lib64/
18+
parts/
19+
sdist/
20+
var/
21+
wheels/
22+
*.egg-info/
23+
.installed.cfg
24+
*.egg
25+
MANIFEST
26+
27+
# Virtual Environment
28+
venv/
29+
.venv/
30+
env/
31+
.env/
32+
33+
# IDEs
34+
.idea/
35+
.vscode/
36+
*.swp
37+
*.swo
38+
39+
# OS
40+
.DS_Store
41+
Thumbs.db

README.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Pardus Linux Website
2+
3+
This repository contains the source code for the Pardus Linux website, built with [MkDocs](https://www.mkdocs.org/) and [Material for MkDocs](https://squidfunk.github.io/mkdocs-material/).
4+
5+
## Getting Started
6+
7+
Follow these instructions to set up the project locally on your machine.
8+
9+
### Prerequisites
10+
11+
- Python 3.x
12+
- Git
13+
14+
### Installation
15+
16+
1. **Clone the repository**
17+
18+
```bash
19+
git clone git@github.com:pardus/pardus.github.io.git
20+
cd pardus.github.io
21+
```
22+
23+
2. **Create a virtual environment**
24+
25+
```bash
26+
python3 -m venv venv
27+
```
28+
29+
3. **Activate the virtual environment**
30+
31+
```bash
32+
source venv/bin/activate
33+
```
34+
35+
4. **Install dependencies**
36+
37+
```bash
38+
pip install mkdocs-material mkdocs-material-extensions
39+
```
40+
41+
## Usage
42+
43+
To start the development server with live reload:
44+
45+
```bash
46+
mkdocs serve --livereload
47+
```
48+
49+
Open your browser and navigate to `http://127.0.0.1:8000/`. The site will automatically update as you modify the files.
50+
51+
## Deployment
52+
53+
This project is configured to automatically deploy to GitHub Pages using GitHub Actions when changes are pushed to the `main` branch.

docs/about/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# What is Pardus?

docs/about/release-notes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Release Notes

docs/assets/img-header-logo-dark.svg

Lines changed: 111 additions & 0 deletions
Loading

docs/assets/img-header-logo-white.svg

Lines changed: 110 additions & 0 deletions
Loading

docs/assets/img-header-logo.svg

Lines changed: 71 additions & 0 deletions
Loading

docs/contact.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Get in Touch
2+
3+
Have a question or need assistance? Our team is here to help. Please reach out to the appropriate email address below and we'll get back to you as soon as possible.
4+
5+
:fontawesome-solid-right-long:`dev@pardus.org.tr`
6+
7+
---
8+
9+
* [Pardus Forum](https://forum.pardus.org.tr/c/english-forum/42){ target="_blank" }
10+
* [Pardus Website](https://pardus.org.tr/en/){ target="_blank" }
11+
* [GitHub](https://github.com/pardus){ target="_blank" }
12+
13+
<br>

docs/download.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Download Pardus
2+
3+
Select the edition that best suits your needs. All editions are 64-bit (amd64).
4+
5+
---
6+
<h3>Pardus 25 - XFCE </h3>
7+
**Lightweight & Fast.**
8+
Built on the rock-solid Xorg display server, the XFCE edition offers a traditional, responsive, and highly customizable desktop experience. Ideal for getting the most performance out of your hardware.
9+
10+
[:fontawesome-solid-download: Download Xfce ISO](https://indir.pardus.org.tr/ISO/Pardus25/Pardus-25.0-XFCE-amd64.iso){ .md-button target="_blank" }
11+
12+
---
13+
<h3>Pardus 25 - GNOME</h3>
14+
**Modern & Fluid.**
15+
Featuring the latest GNOME desktop environment running on Wayland by default. This edition provides a sleek, gesture-driven workflow and modern display technologies for a premium user experience.
16+
17+
[:fontawesome-solid-download: Download Gnome ISO](https://indir.pardus.org.tr/ISO/Pardus25/Pardus-25.0-GNOME-amd64.iso){ .md-button target="_blank" }
18+
19+
---
20+
<h3>Pardus 25 - Server</h3>
21+
**Minimal & Secure.**
22+
A bare-bones, high-performance foundation for your servers. Optimized for stability and security, ready to deploy your services.
23+
24+
[:fontawesome-solid-download: Download Server ISO](https://indir.pardus.org.tr/ISO/Pardus25/Pardus-25.0-SERVER-amd64.iso){ .md-button target="_blank" }
25+
26+
---
27+
28+
Ensure the integrity of your download by checking the MD5 checksums.
29+
30+
* [:fontawesome-solid-key: MD5SUMS](https://indir.pardus.org.tr/ISO/Pardus25/MD5SUMS){ target="_blank" }
31+
* [:fontawesome-solid-compact-disc: Older Versions](https://indir.pardus.org.tr/ISO/){ target="_blank" }
32+
* [:fontawesome-solid-box-archive: Archive](https://arsiv.pardus.org.tr/){ target="_blank" }
33+
34+
<br>

0 commit comments

Comments
 (0)