Skip to content

Commit

Permalink
Adds MkDocs
Browse files Browse the repository at this point in the history
  • Loading branch information
ultimaweapon committed Nov 12, 2024
1 parent 3fed963 commit 0251bb2
Show file tree
Hide file tree
Showing 39 changed files with 29 additions and 31 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,20 @@ on:
jobs:
build:
name: Build
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install system packages
run: |
sudo apt-get update
sudo apt-get install -y mkdocs-material
- name: Build
run: mkdocs build
- name: Upload artifacts
uses: actions/[email protected]
with:
path: src
path: site
deploy:
name: Deploy
runs-on: ubuntu-latest
Expand Down
28 changes: 1 addition & 27 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,27 +1 @@
# ---> Rust
# Generated by Cargo
# will have compiled files and executables
debug/
target/
Cargo.lock

# These are backup files generated by rustfmt
**/*.rs.bk

# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb

.vscode
stuff.txt
.idea
*.db
.htaccess

mdbook/book/
updater/images/
/public_html/Gamma-Boi/compatibility/_images/games/
/public_html/Gamma-Boi/compatibility/_images/hb/

stats.json
database.json
game_skips.json
/site
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# Obliteration.net
# obliteration.net

The website for Obliteration
The website for Obliteration.

## Development

### Prerequisites

- [MkDocs](https://www.mkdocs.org)
- [Material for MkDocs](https://squidfunk.github.io/mkdocs-material)

### Start development server

```sh
mkdocs serve
```
5 changes: 5 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
site_name: Obliteration
docs_dir: src
theme:
name: material
custom_dir: theme
Empty file added src/index.md
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 0251bb2

Please sign in to comment.