Skip to content

Commit

Permalink
chore: documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mnavarrocarter committed Oct 6, 2022
1 parent dc84059 commit bdca391
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .castor/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@

Context passing abstraction for modern PHP projects, inspired in [Golang's `context` package](https://pkg.go.dev/context).

- [Introduction](intro.md)
- [Introduction](intro.md)
- [Why this Library?](why.md)
- [Guides](guides.md)
- [Best Practices](best-practices.md)
- [FAQ](faq.md)
2 changes: 2 additions & 0 deletions .castor/docs/best-practices.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Best Practices
=============
Empty file added .castor/docs/faq.md
Empty file.
Empty file added .castor/docs/guides.md
Empty file.
4 changes: 3 additions & 1 deletion .castor/docs/intro.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Introduction

Context passing abstraction for modern PHP projects, inspired in [Golang's `context` package](https://pkg.go.dev/context).
Context is an abstraction for passing request-scoped values down the call stack of an application.

The public api is inspired in [Golang's `context` package](https://pkg.go.dev/context).

## Installation

Expand Down
18 changes: 17 additions & 1 deletion .castor/docs/meta.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,26 @@
{
"title": "Castor Context",
"priority": 10,
"priority": 1000,
"pages": [
{
"name": "Introduction",
"file" : "intro.md"
},
{
"name": "Why this Library?",
"file": "why.md"
},
{
"name": "Guides",
"file": "guides.md"
},
{
"name": "Best Practices",
"file": "best-practices.md"
},
{
"name": "FAQ",
"file": "faq.md"
}
]
}
Empty file added .castor/docs/why.md
Empty file.

0 comments on commit bdca391

Please sign in to comment.