Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

docs: fix typos, spacing and collapsible code blocks (stages 0–16, guides) - #37

Open
Sahil-Muhammed wants to merge 2 commits into
eXpServer:masterfrom
Sahil-Muhammed:fix-typos-stage-0-16
Open

Sahil-Muhammed wants to merge 2 commits into
eXpServer:masterfrom
Sahil-Muhammed:fix-typos-stage-0-16

Conversation

@Sahil-Muhammed

@Sahil-Muhammed Sahil-Muhammed commented Nov 26, 2026 •

Copy link
Copy Markdown

Fixes typos, grammar and spacing in the roadmap (Phase 0 to Stage 16) and the guides, and fixes nine code blocks in Stage 10 that were showing expanded instead of collapsed ("click to show").

1. Word and spelling fixes

Page Before After
roadmap/phase-0/index.md lots computers lots of computers
roadmap/phase-0/stage-1.md code snipped below code snippet below
roadmap/phase-0/stage-1.md The memset function is initialize The memset function initializes
roadmap/phase-0/stage-2.md terminate immedietly terminate immediately
roadmap/phase-0/stage-3.md User Dtagram Protocol User Datagram Protocol
roadmap/phase-0/stage-4.md Revieve and send messages Receive and send messages
roadmap/phase-0/stage-4.md has ouccured has occurred
roadmap/phase-0/stage-4.md proccess them process them
roadmap/phase-0/stage-5.md lets have a look / lets call it / so lets write let's (all three)
roadmap/phase-0/stage-5.md and do the following and does the following:
roadmap/phase-0/stage-5.md create a upstrem socket create an upstream socket
roadmap/phase-0/stage-5.md we need to handle. We will create we need to handle, we will create
roadmap/phase-0/stage-5.md create server using server_create() create server using create_server() (the function defined earlier in the stage)
roadmap/phase-1/stage-7.md on the the associated FD on the associated FD
roadmap/phase-1/stage-10.md data only being send by the server data only being sent by the server
roadmap/phase-1/stage-12.md predifined predefined
roadmap/phase-2/stage-14.md start pointer is assigned on beginning and and end pointer ... beginning and end pointer
roadmap/phase-2/stage-14.md TTP header names HTTP header names
roadmap/phase-2/stage-14.md iterarte thorugh iterate through
roadmap/phase-2/stage-14.md We have alredy implemented We have already implemented
roadmap/phase-2/stage-15.md directly being send by the directly being sent by the
roadmap/phase-2/stage-15.md From this stage on wards From this stage onwards
roadmap/phase-2/stage-16.md for a given a req_path for a given req_path
roadmap/phase-2/stage-16.md with respsect to with respect to
roadmap/phase-2/stage-16.md response(eg: response(e.g.:
guides/resources/architecture.md simulatneously simultaneously
guides/resources/blocking-and-non-blocking-sockets.md will gets blocked will get blocked
guides/resources/blocking-and-non-blocking-sockets.md cant be performed can't be performed
guides/resources/coding-conventions.md xps_listener_destory(...) xps_listener_destroy(...)
guides/resources/linux-epoll.md File descritor of the socket File descriptor of the socket
guides/resources/process-and-threads.md the notion of “threads” where introduced ... were introduced
guides/resources/tcp-socket-programming.md Server creating a listening socket Server creates a listening socket
guides/resources/tcp-socket-programming.md client must sent ACK again client must send ACK again
guides/resources/udp-socket-programming.md UDP based sever UDP based server
guides/resources/udp-socket-programming.md The arguments of sendto() are system call are: The arguments of sendto() system call are:
tester/installation/backend.md browsser browser

2. Spacing and punctuation fixes

Page Before After
roadmap/phase-0/stage-2.md Now,we can Now, we can
roadmap/phase-1/stage-9.md mode(default mode) mode (default mode)
roadmap/phase-1/stage-10.md ensures  optimal (double space) ensures optimal
roadmap/phase-1/stage-10.md a  source-sink (double space) a source-sink
roadmap/phase-1/stage-10.md events,connections events, connections
roadmap/phase-1/stage-10.md following order : following order:
roadmap/phase-1/stage-10.md source/sink(if present) source/sink (if present)
roadmap/phase-1/stage-10.md (see core module below)*/ (see core module below) */
roadmap/phase-1/stage-12.md type(describes the format of file) type (describes the format of file)
roadmap/phase-1/stage-13.md instance( session->client_source ... client->sink ). instance (session->client_source ... client->sink).
roadmap/phase-1/stage-13.md instance(client->source ... session->client_sink ). instance (client->source ... session->client_sink).
roadmap/phase-1/stage-13.md session->from_client_buff . session->from_client_buff.
roadmap/phase-1/stage-13.md func() : (12 function bullets, and flow : ×3) func(): and flow:
roadmap/phase-2/stage-14.md the  headers (double space) the headers
roadmap/phase-2/stage-15.md clarity.(e.g., clarity. (e.g.,
roadmap/phase-2/stage-15.md Body : Body:
roadmap/phase-2/stage-16.md below(do all the error checks ... required) : below (do all the error checks ... required):
roadmap/phase-2/stage-16.md func : (8 function bullets, and Cliargs :) func: and Cliargs:
guides/resources/tcp-ip-model.md DHCP server(found in routers) DHCP server (found in routers)
guides/resources/tcp-ip-model.md Transport Layer segment(called Maximum ... Transport Layer segment (called Maximum ...
guides/resources/tcp-socket-programming.md final ACK packet,and final ACK packet, and

3. Formatting fixes

Stage 10: code blocks shown expanded instead of collapsed

In roadmap/phase-1/stage-10.md, nine ::: details blocks were indented by two spaces directly after a list item, while their code fence and closing ::: were at column 0. The indentation made the container start inside the list item. The unindented code fence then ended the list item, which closed the container empty. So the code was rendered as plain, always-visible text, and the closing ::: was left with nothing to close.

Fix: removed the two leading spaces and added a blank line before each ::: details, matching the blocks that already worked in the same file (e.g. xps_pipe.h, xps_pipe_is_readable()).

Affected blocks:

  • xps_pipe_create(), xps_pipe_destroy()
  • xps_pipe_attach_source(), xps_pipe_attach_sink(), xps_pipe_detach_source(), xps_pipe_detach_sink()
  • xps_pipe_source_create(), xps_pipe_source_destroy(), xps_pipe_source_write()
  • xps_connection.c: modified functions
  • xps_connection.c: added functions
  • xps_loop.c: handle_pipes(), filter_nulls(), handle_epoll_events(), xps_loop_run()

I checked this locally with npm run dev: all nine now collapse, and match the behaviour of the other stages. The "NOTE" box, the milestone and the "AUTOMATED TESTS" box after them render normally.

Note on the commits: the first commit (15f5873) also removed the closing ::: of the handle_pipes() block by mistake. That left the block unclosed, so it swallowed the rest of the page. The second commit (b03530a) puts it back. Taken together, the only change to stage-10.md's ::: markers is the nine opening lines; no closing ::: is added or removed.

Stage 12: SEEK_END / return value on one line

In roadmap/phase-1/stage-12.md, the SEEK_END description and **Returns**: 0 on success, or -1 on error. were rendered as one line. They are now on separate lines.

@netlify

netlify Bot commented Nov 26, 2026

Copy link
Copy Markdown

👷 Deploy request for expserver-docs pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit b03530a

This branch has not been deployed

No deployments
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.

1 participant