Skip to content

Commit

Permalink
feat(workflows): Add Doxygen GitHub Pages deployment workflow and upd…
Browse files Browse the repository at this point in the history
…ate Flakkari RFC documentation
  • Loading branch information
MasterLaplace committed Dec 28, 2023
1 parent 89712b2 commit 63c8d64
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 13 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/deploy_doxygen_page.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Doxygen GitHub Pages Deploy Action

on:
push:
branches:
- main

jobs:
doxygen:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Git
run: |
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
- name: Install Doxygen
run: |
sudo apt-get install doxygen
- name: Generate Doxygen Documentation
run: |
doxygen Doxyfile.cfg
- name: Create gh-pages branch
run: |
git checkout --orphan gh-pages
- name: Fetch changes from remote
run: |
git fetch origin gh-pages
- name: Merge changes from remote
run: |
git merge origin/gh-pages
- name: Copy documentation to gh-pages branch
run: |
cp -r Docs/Flakkari/html/* .
- name: Push documentation to gh-pages branch
run: |
git add .
git commit -m "deploy(root): Deploying documentation to GitHub Pages"
git pull origin gh-pages
git push origin gh-pages
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22 changes: 11 additions & 11 deletions Docs/RFC.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,17 @@ Copyright Notice

Table of Contents

1. Introduction .................................................... 3
2. Protocol Overview .............................................. 3
3. Message Format .................................................. 4
3.1. Header Structure .......................................... 4
3.2. FlakkariEventId Enum ...................................... 5
3.3. Priority Enum ............................................. 6
3.4. ApiVersion Enum ............................................ 6
4. Message Semantics .............................................. 7
4.1. System Messages ........................................... 7
4.2. Network Messages .......................................... 8
4.3. Game Messages ............................................. 9
1. Introduction ................................................... 3
2. Protocol Overview .............................................. 3
3. Message Format ................................................. 4
3.1. Header Structure .......................................... 4
3.2. FlakkariEventId Enum ...................................... 5
3.3. Priority Enum ............................................. 6
3.4. ApiVersion Enum ........................................... 6
4. Message Semantics .............................................. 7
4.1. System Messages ........................................... 7
4.2. Network Messages .......................................... 8
4.3. Game Messages ............................................. 9
4.4. User Messages ............................................. 10
5. Security Considerations ........................................ 11
6. IANA Considerations ............................................ 12
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,10 @@ $ docker rm <container-id>
### :wrench: **DOCUMENTATION**

Wiki:
- [**Technical Documentation & Wiki**](https://github.com/MasterLaplace/Flakkari/wiki)
- [**Technical Documentation & Wiki**](https://MasterLaplace.github.io/Flakkari/)

For detailed documentation on the Flakkari protocol, see:
- [**Flakkari Protocol Documentation**](https://github.com/MasterLaplace/Flakkari/wiki/Flakkari-protocol)
- [**Flakkari Protocol Documentation**](Docs/RFC.txt)


## :rocket: LATEST RELEASE
Expand Down

0 comments on commit 63c8d64

Please sign in to comment.