Skip to content

To0nsa feature/documentation#41

Merged
RychkovIurii merged 35 commits intodevfrom
to0nsa-feature/documentation
Aug 19, 2025
Merged

To0nsa feature/documentation#41
RychkovIurii merged 35 commits intodevfrom
to0nsa-feature/documentation

Conversation

@To0nsa
Copy link
Owner

@To0nsa To0nsa commented Aug 19, 2025

No description provided.

To0nsa and others added 30 commits August 10, 2025 00:03
Updates the Doxygen style guide to enforce stricter documentation rules, including mandatory public API documentation, specific tag order, and file headers. Introduces guidelines for templates, concepts, and internal code. Enhances clarity with allowed module groups and formatting rules. Establishes a comprehensive pre-merge checklist to ensure compliance.
Removes commented-out code for cleanup.
Corrects typos and formatting inconsistencies in Doxyfile, including input encoding and inline member settings. Updates path patterns for exclusions and shortens displayed paths in HTML output. Adds a warning log file and adjusts markdown and style options for improved documentation clarity. Updates `.gitignore` to exclude generated Doxygen HTML files.
Refine getPort() comment, and add comment for getDefaultServerName().
Improves Doxygen settings by adjusting options for inline members,
documentation visibility, and sorting behavior. Introduces a custom
layout file for better navigation in generated documentation.

Refactors server-related files for clarity and modularity: renames
files for consistency, updates include guards, and enhances
documentation grouping. Aligns namespace and grouping annotations
with updated Doxygen structure.

Fixes minor issues in the build configuration and adds a warnings
log to track Doxygen output. Adjusts function signatures and
comments to improve readability and maintainability.
Enhances documentation across various modules with detailed groupings, descriptions, and usage notes for utility functions. Adds missing file-level summaries and clarifies behavior, error handling, and intended usage for key methods.

Fixes minor inconsistencies in formatting and eliminates redundant or outdated comments across utility implementations.
…gen groupings, and refine method descriptions
…tion

Adds comprehensive docstrings and inline comments across configuration-related components, improving readability and maintainability.
…guration parsing details

The outdated CONTRIBUTING.md file has been removed, as its content is no longer relevant or applicable. Key sections were either redundant or replaced by newer practices.

README.md has been updated to include detailed documentation on the configuration parsing flow, covering tokenization, parsing, normalization, validation, and error handling. These additions provide a comprehensive overview of the configuration pipeline and its rules.

This update improves clarity for contributors by consolidating essential information into the README and reducing redundancy across the repository.
Cleans up Doxygen configuration by removing unused directories, files, and outdated documentation references. Updates settings to limit graph node count, reduce threads, and disable multi-targets for consistency. Enhances documentation generation workflow by clearing previous output and adjusts input sources for accuracy. Deletes redundant comments and unused helper functions for streamlined codebase.
…tation

Enhances build process and documentation triggers

Adds a manual trigger for the documentation workflow and optimizes compiler flags for improved performance. Updates Python virtual environment setup for test dependencies and standardizes `#include` directives for consistency. Corrects minor configuration and formatting issues across multiple files. Merges changes from `dev` branch into the feature branch to align with recent updates.
Reorganizes and updates the Makefile setup, including a new dedicated Makefile for to0nsa.

Adds `.pytest_cache/` to `.gitignore` and includes a categorized help section for Makefile targets in the README. Removes redundant test and script files, consolidating functionality into the primary Makefile.

Improves clarity, efficiency, and maintainability of the build and test workflows.
Refines project directory structure for clarity by renaming the
unit test folder, updating documentation descriptions, and
adding a Python test entry point.
Adds a detailed overview of the core components and program entrypoint
of Webserv, including responsibilities of `Server`, `Location`, and
`runWebserv`.
Documents SocketManager's core functionality, including connection
management, timeout handling, CGI integration, and response processing.
Corrects a typo in the Doxygen group name from "socker_mananager" to "socket_manager" across multiple files for consistency and clarity.

Enhances code readability and maintainability by organizing methods into named Doxygen groups with appropriate tags. Removes unused internal documentation and adjusts formatting in several method definitions for improved alignment.
Introduces a detailed explanation of the SocketManager, including its role in managing I/O through a `poll()` loop, handling connections, enforcing timeouts, and error recovery. Adds a high-level flow diagram using Mermaid to visualize the networking process, enhancing clarity.
Improves maintainability by adding detailed Doxygen comments to HTTP-related classes, methods, and utilities for better clarity and adherence to HTTP/1.1 standards. Includes updates to `HttpRequest`, `HttpResponse`, `HttpRequestParser`, and response builders.

Clarifies logic for error pages, redirects, and file-backed responses while ensuring compliance with HTTP protocol semantics.
Adds comprehensive inline documentation to clarify the HTTP request routing process, including step-by-step workflows, helper function roles, and error handling. Improves maintainability and developer understanding of routing logic, covering key operations like directory slash redirects, location resolution, method validation, and handler dispatch.
Introduces detailed comments and documentation for HTTP GET, POST, and DELETE
handlers, improving clarity and maintainability.

Includes comprehensive inline documentation to aid future development and
troubleshooting.
Enhances the README with comprehensive project details, including the HTTP server's features, request processing flow, and CGI handling. Updates the doxygen.warnings file, fixing line references and removing outdated error messages. Adjusts a Doxygen group annotation in handleCgi.cpp for consistency.

These changes improve clarity for developers and address unresolved documentation references, ensuring better maintainability and usability.
Full project documentation creation and review
@RychkovIurii RychkovIurii merged commit 6e9031e into dev Aug 19, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants