Skip to content

Commit

Permalink
Refactor navigation and headings for clarity
Browse files Browse the repository at this point in the history
Simplified the navigation structure in mkdocs.yml and revised document headings for better consistency and readability. The changes improve how the HTTP client sections are organized and presented in the documentation, facilitating easier navigation and comprehension for users.

Signed-off-by: Frank Brückner <[email protected]>
  • Loading branch information
froschdesign authored and fezfez committed Dec 4, 2024
1 parent 6440d57 commit 2103fca
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 16 deletions.
2 changes: 1 addition & 1 deletion docs/book/client/adapters.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# HTTP Client Connection Adapters
# Connection Adapters

`Laminas\Http\Client` is based on a connection adapter design. The connection adapter is the object in
charge of performing the actual connection to the server, as well as writing requests and reading
Expand Down
2 changes: 1 addition & 1 deletion docs/book/client/advanced.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# HTTP Client Advanced Usage
# Advanced Usage

## HTTP redirections

Expand Down
2 changes: 1 addition & 1 deletion docs/book/client/intro.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# HTTP Client
# Introduction

`Laminas\Http\Client` provides an interface for performing Hyper-Text Transfer
Protocol (HTTP) requests. `Laminas\Http\Client` supports all basic features
Expand Down
2 changes: 1 addition & 1 deletion docs/book/client/static.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# HTTP Client - Static Usage
# Static Usage

laminas-http provides another client implementation, `Laminas\Http\ClientStatic`, a
static HTTP client which exposes a simplified API for quickly performing one-off `GET`
Expand Down
2 changes: 1 addition & 1 deletion docs/book/request.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# The Request Class
# Request

`Laminas\Http\Request` is responsible for providing a fluent API that allows a
developer to interact with all the various parts of an HTTP request.
Expand Down
2 changes: 1 addition & 1 deletion docs/book/response.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# The Response Class
# Response

`Laminas\Http\Response` is responsible for providing a fluent API that allows a
developer to interact with all the various parts of an HTTP response.
Expand Down
19 changes: 9 additions & 10 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@ site_dir: docs/html
nav:
- Home: index.md
- Introduction: intro.md
- Reference:
- Request: request.md
- Response: response.md
- Headers: headers.md
- Client:
- Intro: client/intro.md
- Adapters: client/adapters.md
- "Static Client": client/static.md
- "Cookie Persistence": client/cookies.md
- Advanced: client/advanced.md
- Request: request.md
- Response: response.md
- Headers: headers.md
- "HTTP Client":
- Introduction: client/intro.md
- "Connection Adapters": client/adapters.md
- "Static Usage": client/static.md
- "Client Cookies": client/cookies.md
- "Advanced Usage": client/advanced.md
site_name: laminas-http
site_description: HTTP message and header abstractions, and HTTP client implementation. (Not a PSR-7 implementation; see <a href="//docs.laminas.dev/laminas-diactoros">Diactoros</a> for PSR-7 support.
repo_url: 'https://github.com/laminas/laminas-http'
Expand Down

0 comments on commit 2103fca

Please sign in to comment.