Skip to content

Commit

Permalink
fix conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
nnyyxxxx committed Nov 9, 2024
2 parents e7f1934 + 2b8abb2 commit 5e5daba
Show file tree
Hide file tree
Showing 9 changed files with 83 additions and 3 deletions.
54 changes: 54 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Github Pages

on:
push:
branches:
- main
tags:
- '*'
workflow_dispatch:

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Setup mdBook
uses: peaceiris/actions-mdbook@v2
with:
mdbook-version: 'latest'

- run: mdbook build book

deploy:
environment:
name: gh-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
permissions:
contents: write
needs: build
steps:
- name: Set output directory
run: |
OUTDIR=$(basename ${{ github.ref }})
echo "OUTDIR=$OUTDIR" >> $GITHUB_ENV
- name: Deploy stable
uses: peaceiris/actions-gh-pages@v4
if: startswith(github.ref, 'refs/tags/')
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./book/book

- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./book/book
destination_dir: ./${{ env.OUTDIR }}
2 changes: 1 addition & 1 deletion README-it.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ dd if=<your_binary_filename>.bin of=/dev/sdX && sync
## Appendice

### Stato dello sviluppo
https://github.com/user-attachments/assets/f07cad18-845f-4457-a72a-a9bb4d3f6074
https://github.com/user-attachments/assets/663e8477-4275-411b-a39a-c12e54096ad8

### Altre info
**Sai che abbiamo un canale IRC? È `#highlightos` su [libera.chat](https://libera.chat).**
Expand Down
2 changes: 1 addition & 1 deletion README-pl.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ dd if=<your_binary_filename>.bin of=/dev/sdX && sync
## Załączniki

### Status rozwoju
https://github.com/user-attachments/assets/de796522-3d6b-4672-a335-ff282422fe86
https://github.com/user-attachments/assets/663e8477-4275-411b-a39a-c12e54096ad8

### Dodatkowe informacje
**Czy wiedziałeś że mamy kanał IRC? Jest to '#highlightos' na [libera.chat](https://libera.chat).**
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ dd if=<your_binary_filename>.bin of=/dev/sdX && sync
## Appendix

### Development status
https://github.com/user-attachments/assets/de796522-3d6b-4672-a335-ff282422fe86
https://github.com/user-attachments/assets/663e8477-4275-411b-a39a-c12e54096ad8

### Additional info
**Did you know we have a IRC channel? It's `#highlightos` on [libera.chat](https://libera.chat).**
Expand Down
Empty file added _typos.toml
Empty file.
1 change: 1 addition & 0 deletions book/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
book
17 changes: 17 additions & 0 deletions book/book.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[book]
authors = ["Adam Perkowski"]
language = "en"
multilingual = false
src = "src"
title = "HighlightOS"

[output.html]
cname = "os.adamperkowski.dev"
#default-theme = "colibri"
#preferred-dark-theme = "colibri"
git-repository-url = "https://github.com/adamperkowski/highlightos"
edit-url-template = "https://github.com/adamperkowski/highlightos/edit/master/book/{path}"
#additional-css = ["custom.css"]

[output.html.search]
use-boolean-and = true
3 changes: 3 additions & 0 deletions book/src/SUMMARY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Summary

- [HighlightOS](./highlightos.md)
5 changes: 5 additions & 0 deletions book/src/highlightos.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# HighlightOS

x86_64 OS (kernel) made completely from scratch in Assembly & Rust

Documentation for bleeding-edge main can be found at [https://os.adamperkowski.dev/main](https://os.adamperkowski.dev/main).

0 comments on commit 5e5daba

Please sign in to comment.