Skip to content

Commit 0251bb2

Browse files
committed
Adds MkDocs
1 parent 3fed963 commit 0251bb2

39 files changed

+29
-31
lines changed

.github/workflows/gh-pages.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,20 @@ on:
66
jobs:
77
build:
88
name: Build
9-
runs-on: ubuntu-latest
9+
runs-on: ubuntu-24.04
1010
steps:
1111
- name: Checkout repository
1212
uses: actions/checkout@v4
13+
- name: Install system packages
14+
run: |
15+
sudo apt-get update
16+
sudo apt-get install -y mkdocs-material
17+
- name: Build
18+
run: mkdocs build
1319
- name: Upload artifacts
1420
uses: actions/[email protected]
1521
with:
16-
path: src
22+
path: site
1723
deploy:
1824
name: Deploy
1925
runs-on: ubuntu-latest

.gitignore

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1 @@
1-
# ---> Rust
2-
# Generated by Cargo
3-
# will have compiled files and executables
4-
debug/
5-
target/
6-
Cargo.lock
7-
8-
# These are backup files generated by rustfmt
9-
**/*.rs.bk
10-
11-
# MSVC Windows builds of rustc generate these, which store debugging information
12-
*.pdb
13-
14-
.vscode
15-
stuff.txt
16-
.idea
17-
*.db
18-
.htaccess
19-
20-
mdbook/book/
21-
updater/images/
22-
/public_html/Gamma-Boi/compatibility/_images/games/
23-
/public_html/Gamma-Boi/compatibility/_images/hb/
24-
25-
stats.json
26-
database.json
27-
game_skips.json
1+
/site

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1-
# Obliteration.net
1+
# obliteration.net
22

3-
The website for Obliteration
3+
The website for Obliteration.
4+
5+
## Development
6+
7+
### Prerequisites
8+
9+
- [MkDocs](https://www.mkdocs.org)
10+
- [Material for MkDocs](https://squidfunk.github.io/mkdocs-material)
11+
12+
### Start development server
13+
14+
```sh
15+
mkdocs serve
16+
```

mkdocs.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
site_name: Obliteration
2+
docs_dir: src
3+
theme:
4+
name: material
5+
custom_dir: theme

src/index.md

Whitespace-only changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)