Repository navigation
docs(project): create the online developer documentation - #9
Merged
Merged
Conversation
Markdown pages with navigation, search, light and dark themes and Mermaid diagrams. Adds the home page and the getting started guide.
Client / authoritative server model, the layers of both programs on top of Wrecks, the decoupling rules, and how the repositories and the build fit together.
What each component does today, how its code is organized, and what is planned next.
RFC-style description of the binary UDP protocol: transport, data types, fixed 16-byte packet layout, EntityPosition, receiver rules, planned packets and security considerations.
Why C++23, CMake and vcpkg, raylib, an ECS, UDP and our own sockets, compared with the alternatives, plus data structures, storage, security and the documentation tool.
What exists and what is planned for motor, visual, hearing and cognitive disabilities, in the game and in the documentation.
Workflow, commit conventions, code style and how to update this documentation, with a link to the full CONTRIBUTING.md.
Builds the site in strict mode on every pull request, and publishes it on GitHub Pages on every push to main.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝 Description
Creates the online developer documentation with MkDocs (Material theme), published on GitHub Pages:
EntityPositionbyte by byte, receiver rules, planned packets and security.main.Every statement was checked against the code (for example
sizeof(Packet) == 16), and features that do not exist yet are marked as planned.🎯 Why is this change needed?
The documentation is graded at both defenses: the subject requires a developer documentation, a protocol documentation and a technical and comparative study, available online with navigation and search.
Closes #1
Closes #2
Closes #3
Closes #4
Closes #5
Closes #6
Closes #7
Closes #8
🧩 Impacted component
server(Multiplayer & game logic)client(Graphical game)ECS(Wrecks engine)ci(GitHub Actions / Hooks)docs(Documentation)🧪 How to test manually?
python3 -m venv .venv && .venv/bin/pip install -r requirements.txt.venv/bin/mkdocs build --strict(no warning) or.venv/bin/mkdocs serve✅ Author checklist
cmake --build build) and there is no compilation error. (mkdocs build --strictfor this repository)feat(server): ...).