Skip to content

Commit b77bdf1

Browse files
committed
Update pages
1 parent e0ea42c commit b77bdf1

38 files changed

+940
-832
lines changed
Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ h2 a::after, h3 a::after {
228228
color: #ccc;
229229
}
230230

231-
h2 a:hover::after, h3 a::after {
231+
h2 a:hover::after, h3 a:hover::after {
232232
display: inline;
233233
}
234234

@@ -256,6 +256,9 @@ code {
256256
color: #fff;
257257
border-radius: .2rem;
258258
white-space: pre-wrap;
259+
}
260+
261+
td code {
259262
max-width: 300px;
260263
}
261264

@@ -369,28 +372,26 @@ table {
369372
th {
370373
text-align: left;
371374
border-bottom-width: thin;
375+
white-space: nowrap;
372376
}
373377

374378
th, td {
375379
font-weight: normal;
376-
padding: .5rem;
380+
padding: .75rem;
377381
border-right-width: thin;
378382
}
379383

380384
tr>:last-child {
381385
border-right-width: 0;
382386
}
383387

384-
td {
385-
padding: .875rem 1rem;
386-
}
387-
388388
td:first-child {
389389
min-width: 100px;
390390
}
391391

392-
td > em {
393-
white-space: nowrap;
392+
thead {
393+
background: rgba(0,0,0,.02);
394+
font-size: .9em;
394395
}
395396

396397
tbody > tr:nth-child(2n) {
@@ -462,7 +463,7 @@ html.dark a.info:hover, html.dark button.info:hover {
462463
max-width: initial;
463464
}
464465

465-
.box > code em { color: #f079f0; }
466+
.box > code em { color: #ac95ff; }
466467
.box > code b { color: #54cc72; }
467468
.box > code i { color: #f4b17e; }
468469
.box > code * {
@@ -510,12 +511,6 @@ code.lang-terminal span::before {
510511
display: inline-block;
511512
margin-right: .5em;
512513
}
513-
code span.output {
514-
pointer-events: none;
515-
-webkit-touch-callout: none;
516-
-webkit-user-select: none;
517-
user-select: none;
518-
}
519514
code span.output::before {
520515
content: "";
521516
margin-right: 0;
@@ -533,6 +528,8 @@ code.lines span:not([class])::before {
533528
margin-right: .92em;
534529
color: #888;
535530
text-align: right;
531+
}
532+
code span.output, code.lines span:not([class])::before {
536533
pointer-events: none;
537534
-webkit-touch-callout: none;
538535
-webkit-user-select: none;

en/docs/about.html

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
<title>About Inphinit PHP</title>
66
<meta name="description" content="Get started creating apps with Inphinit.">
77
<meta name="viewport" content="width=device-width, initial-scale=1.0">
8-
<link rel="stylesheet" type="text/css" href="/css/docs.1732751692961.css" media="all">
9-
<script src="/js/docs.1732751692961.js"></script>
8+
<link rel="stylesheet" type="text/css" href="/css/docs.1733459389306.css" media="all">
9+
<script src="/js/docs.1733459389306.js"></script>
1010
</head>
1111
<body>
1212
<div id="container">
1313
<main>
1414
<h1>About</h1>
15-
<p>Learn how to create a new Inphinit project.</p>
15+
<p>Inphinit is a high-performance micro-framework that encourages the use of the language is native features, for rapid development, avoiding the need to reinvent the wheel, but also allows you to seamlessly integrate third-party packages, giving you the flexibility to use the framework in the way that suits you best.</p>
1616

1717
<section>
1818
<h2 id="create-routes">
@@ -61,18 +61,18 @@ <h2 id="create-routes">
6161
<span class="compact">Star us on Github</span>
6262
</a>
6363
<div class="btn" id="color-scheme">
64+
<select aria-label="Color Scheme">
65+
<option>Auto</option>
66+
<option>Dark</option>
67+
<option>Light</option>
68+
</select>
6469
<svg
6570
fill="currentColor"
6671
viewBox="0 0 20 20"
6772
role="img"
6873
class="icon">
6974
<path d="M10 2a.75.75 0 0 1 .75.75v1.5a.75.75 0 0 1-1.5 0v-1.5A.75.75 0 0 1 10 2ZM10 15a.75.75 0 0 1 .75.75v1.5a.75.75 0 0 1-1.5 0v-1.5A.75.75 0 0 1 10 15ZM10 7a3 3 0 1 0 0 6 3 3 0 0 0 0-6ZM15.657 5.404a.75.75 0 1 0-1.06-1.06l-1.061 1.06a.75.75 0 0 0 1.06 1.06l1.06-1.06ZM6.464 14.596a.75.75 0 1 0-1.06-1.06l-1.06 1.06a.75.75 0 0 0 1.06 1.06l1.06-1.06ZM18 10a.75.75 0 0 1-.75.75h-1.5a.75.75 0 0 1 0-1.5h1.5A.75.75 0 0 1 18 10ZM5 10a.75.75 0 0 1-.75.75h-1.5a.75.75 0 0 1 0-1.5h1.5A.75.75 0 0 1 5 10ZM14.596 15.657a.75.75 0 0 0 1.06-1.06l-1.06-1.061a.75.75 0 1 0-1.06 1.06l1.06 1.06ZM5.404 6.464a.75.75 0 0 0 1.06-1.06l-1.06-1.06a.75.75 0 1 0-1.061 1.06l1.06 1.06Z"/>
7075
</svg>
71-
<select aria-label="Color Scheme">
72-
<option>Auto</option>
73-
<option>Dark</option>
74-
<option>Light</option>
75-
</select>
7676
</div>
7777
<button id="menu-toggle" class="btn" aria-label="Display/Hide menu">
7878
<svg fill="currentColor" viewBox="0 0 24 24" role="img" class="icon">
@@ -89,7 +89,7 @@ <h2 id="create-routes">
8989
<a href="/en/docs/">Get started</a>
9090
<dl>
9191
<dt>Web server</dt>
92-
<dd><a href="/en/docs/web-server/apache.html">Apache</a></dd>
92+
<!-- <dd><a href="/en/docs/web-server/apache.html">Apache</a></dd> -->
9393
<dd><a href="/en/docs/web-server/nginx.html">NGINX</a></dd>
9494
<dd><a href="/en/docs/web-server/iis.html">IIS</a></dd>
9595
<dd><a href="/en/docs/web-server/iis-express.html">IIS Express</a></dd>
@@ -110,7 +110,6 @@ <h2 id="create-routes">
110110
<a href="/en/docs/http/response.html">HTTP Response</a>
111111
<dl>
112112
<dt>HTTP feautures</dt>
113-
<dd><a href="/en/docs/http/redirect.html">Redirect</a></dd>
114113
<dd><a href="/en/docs/http/content-negotiation.html">Content Negotiation</a></dd>
115114
</dl>
116115
<!-- <a href="/en/docs/storage-and-files.html">Storage and Files</a> -->

en/docs/changelog.html

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<title>Changelog - Inphinit PHP</title>
66
<meta name="description" content="Get started creating apps with Inphinit.">
77
<meta name="viewport" content="width=device-width, initial-scale=1.0">
8-
<link rel="stylesheet" type="text/css" href="/css/docs.1732751692961.css" media="all">
9-
<script src="/js/docs.1732751692961.js"></script>
8+
<link rel="stylesheet" type="text/css" href="/css/docs.1733459389306.css" media="all">
9+
<script src="/js/docs.1733459389306.js"></script>
1010
</head>
1111
<body>
1212
<div id="container">
@@ -61,18 +61,18 @@ <h2 id="create-routes">
6161
<span class="compact">Star us on Github</span>
6262
</a>
6363
<div class="btn" id="color-scheme">
64+
<select aria-label="Color Scheme">
65+
<option>Auto</option>
66+
<option>Dark</option>
67+
<option>Light</option>
68+
</select>
6469
<svg
6570
fill="currentColor"
6671
viewBox="0 0 20 20"
6772
role="img"
6873
class="icon">
6974
<path d="M10 2a.75.75 0 0 1 .75.75v1.5a.75.75 0 0 1-1.5 0v-1.5A.75.75 0 0 1 10 2ZM10 15a.75.75 0 0 1 .75.75v1.5a.75.75 0 0 1-1.5 0v-1.5A.75.75 0 0 1 10 15ZM10 7a3 3 0 1 0 0 6 3 3 0 0 0 0-6ZM15.657 5.404a.75.75 0 1 0-1.06-1.06l-1.061 1.06a.75.75 0 0 0 1.06 1.06l1.06-1.06ZM6.464 14.596a.75.75 0 1 0-1.06-1.06l-1.06 1.06a.75.75 0 0 0 1.06 1.06l1.06-1.06ZM18 10a.75.75 0 0 1-.75.75h-1.5a.75.75 0 0 1 0-1.5h1.5A.75.75 0 0 1 18 10ZM5 10a.75.75 0 0 1-.75.75h-1.5a.75.75 0 0 1 0-1.5h1.5A.75.75 0 0 1 5 10ZM14.596 15.657a.75.75 0 0 0 1.06-1.06l-1.06-1.061a.75.75 0 1 0-1.06 1.06l1.06 1.06ZM5.404 6.464a.75.75 0 0 0 1.06-1.06l-1.06-1.06a.75.75 0 1 0-1.061 1.06l1.06 1.06Z"/>
7075
</svg>
71-
<select aria-label="Color Scheme">
72-
<option>Auto</option>
73-
<option>Dark</option>
74-
<option>Light</option>
75-
</select>
7676
</div>
7777
<button id="menu-toggle" class="btn" aria-label="Display/Hide menu">
7878
<svg fill="currentColor" viewBox="0 0 24 24" role="img" class="icon">
@@ -89,7 +89,7 @@ <h2 id="create-routes">
8989
<a href="/en/docs/">Get started</a>
9090
<dl>
9191
<dt>Web server</dt>
92-
<dd><a href="/en/docs/web-server/apache.html">Apache</a></dd>
92+
<!-- <dd><a href="/en/docs/web-server/apache.html">Apache</a></dd> -->
9393
<dd><a href="/en/docs/web-server/nginx.html">NGINX</a></dd>
9494
<dd><a href="/en/docs/web-server/iis.html">IIS</a></dd>
9595
<dd><a href="/en/docs/web-server/iis-express.html">IIS Express</a></dd>
@@ -110,7 +110,6 @@ <h2 id="create-routes">
110110
<a href="/en/docs/http/response.html">HTTP Response</a>
111111
<dl>
112112
<dt>HTTP feautures</dt>
113-
<dd><a href="/en/docs/http/redirect.html">Redirect</a></dd>
114113
<dd><a href="/en/docs/http/content-negotiation.html">Content Negotiation</a></dd>
115114
</dl>
116115
<!-- <a href="/en/docs/storage-and-files.html">Storage and Files</a> -->

en/docs/checkup.html

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
<title>Checkup - Inphinit PHP</title>
66
<meta name="description" content="Get started creating apps with Inphinit.">
77
<meta name="viewport" content="width=device-width, initial-scale=1.0">
8-
<link rel="stylesheet" type="text/css" href="/css/docs.1732751692961.css" media="all">
9-
<script src="/js/docs.1732751692961.js"></script>
8+
<link rel="stylesheet" type="text/css" href="/css/docs.1733459389306.css" media="all">
9+
<script src="/js/docs.1733459389306.js"></script>
1010
</head>
1111
<body>
1212
<div id="container">
1313
<main>
1414
<h1>Checkup</h1>
15-
<p>Learn how to create a new Inphinit project.</p>
15+
<p><i>Checkup</i> is a feature to make it easier to assess server requirements and optimal configurations.</p>
1616

1717
<section>
1818
<h2 id="Test-server">
@@ -79,18 +79,18 @@ <h2 id="Test-server">
7979
<span class="compact">Star us on Github</span>
8080
</a>
8181
<div class="btn" id="color-scheme">
82+
<select aria-label="Color Scheme">
83+
<option>Auto</option>
84+
<option>Dark</option>
85+
<option>Light</option>
86+
</select>
8287
<svg
8388
fill="currentColor"
8489
viewBox="0 0 20 20"
8590
role="img"
8691
class="icon">
8792
<path d="M10 2a.75.75 0 0 1 .75.75v1.5a.75.75 0 0 1-1.5 0v-1.5A.75.75 0 0 1 10 2ZM10 15a.75.75 0 0 1 .75.75v1.5a.75.75 0 0 1-1.5 0v-1.5A.75.75 0 0 1 10 15ZM10 7a3 3 0 1 0 0 6 3 3 0 0 0 0-6ZM15.657 5.404a.75.75 0 1 0-1.06-1.06l-1.061 1.06a.75.75 0 0 0 1.06 1.06l1.06-1.06ZM6.464 14.596a.75.75 0 1 0-1.06-1.06l-1.06 1.06a.75.75 0 0 0 1.06 1.06l1.06-1.06ZM18 10a.75.75 0 0 1-.75.75h-1.5a.75.75 0 0 1 0-1.5h1.5A.75.75 0 0 1 18 10ZM5 10a.75.75 0 0 1-.75.75h-1.5a.75.75 0 0 1 0-1.5h1.5A.75.75 0 0 1 5 10ZM14.596 15.657a.75.75 0 0 0 1.06-1.06l-1.06-1.061a.75.75 0 1 0-1.06 1.06l1.06 1.06ZM5.404 6.464a.75.75 0 0 0 1.06-1.06l-1.06-1.06a.75.75 0 1 0-1.061 1.06l1.06 1.06Z"/>
8893
</svg>
89-
<select aria-label="Color Scheme">
90-
<option>Auto</option>
91-
<option>Dark</option>
92-
<option>Light</option>
93-
</select>
9494
</div>
9595
<button id="menu-toggle" class="btn" aria-label="Display/Hide menu">
9696
<svg fill="currentColor" viewBox="0 0 24 24" role="img" class="icon">
@@ -107,7 +107,7 @@ <h2 id="Test-server">
107107
<a href="/en/docs/">Get started</a>
108108
<dl>
109109
<dt>Web server</dt>
110-
<dd><a href="/en/docs/web-server/apache.html">Apache</a></dd>
110+
<!-- <dd><a href="/en/docs/web-server/apache.html">Apache</a></dd> -->
111111
<dd><a href="/en/docs/web-server/nginx.html">NGINX</a></dd>
112112
<dd><a href="/en/docs/web-server/iis.html">IIS</a></dd>
113113
<dd><a href="/en/docs/web-server/iis-express.html">IIS Express</a></dd>
@@ -128,7 +128,6 @@ <h2 id="Test-server">
128128
<a href="/en/docs/http/response.html">HTTP Response</a>
129129
<dl>
130130
<dt>HTTP feautures</dt>
131-
<dd><a href="/en/docs/http/redirect.html">Redirect</a></dd>
132131
<dd><a href="/en/docs/http/content-negotiation.html">Content Negotiation</a></dd>
133132
</dl>
134133
<!-- <a href="/en/docs/storage-and-files.html">Storage and Files</a> -->

en/docs/configurations.html

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
<title>Configurations - Inphinit PHP</title>
66
<meta name="description" content="Get started creating apps with Inphinit.">
77
<meta name="viewport" content="width=device-width, initial-scale=1.0">
8-
<link rel="stylesheet" type="text/css" href="/css/docs.1732751692961.css" media="all">
9-
<script src="/js/docs.1732751692961.js"></script>
8+
<link rel="stylesheet" type="text/css" href="/css/docs.1733459389306.css" media="all">
9+
<script src="/js/docs.1733459389306.js"></script>
1010
</head>
1111
<body>
1212
<div id="container">
1313
<main>
1414
<h1>Configurations</h1>
15-
<p>Learn how to create a new Inphinit project.</p>
15+
<p>Inphinit has different configurations, from constants to start the application, in addition to the existing configurations located in <code>system/configs/</code>, you can create your own configuration files for your own purposes.</p>
1616

1717
<section>
1818
<h2 id="composer-autoload">
@@ -42,7 +42,7 @@ <h2 id="constants">
4242
</thead>
4343
<tbody>
4444
<tr>
45-
<td><code tabindex="0">INPHINIT_COMPOSER</code></td>
45+
<td><code>INPHINIT_COMPOSER</code></td>
4646
<td>
4747
✔️ <div class="sr">is editable</div>
4848
</td>
@@ -115,7 +115,7 @@ <h2 id="production-develop-mode">
115115
</thead>
116116
<tbody>
117117
<tr>
118-
<td><code tabindex="0">data_lifetime</code></td>
118+
<td><code>data_lifetime</code></td>
119119
<td>Configuration defined for different uses, initially used by sessions as a default value.</td>
120120
</tr>
121121
<tr>
@@ -207,18 +207,18 @@ <h2 id="config-files">
207207
<span class="compact">Star us on Github</span>
208208
</a>
209209
<div class="btn" id="color-scheme">
210+
<select aria-label="Color Scheme">
211+
<option>Auto</option>
212+
<option>Dark</option>
213+
<option>Light</option>
214+
</select>
210215
<svg
211216
fill="currentColor"
212217
viewBox="0 0 20 20"
213218
role="img"
214219
class="icon">
215220
<path d="M10 2a.75.75 0 0 1 .75.75v1.5a.75.75 0 0 1-1.5 0v-1.5A.75.75 0 0 1 10 2ZM10 15a.75.75 0 0 1 .75.75v1.5a.75.75 0 0 1-1.5 0v-1.5A.75.75 0 0 1 10 15ZM10 7a3 3 0 1 0 0 6 3 3 0 0 0 0-6ZM15.657 5.404a.75.75 0 1 0-1.06-1.06l-1.061 1.06a.75.75 0 0 0 1.06 1.06l1.06-1.06ZM6.464 14.596a.75.75 0 1 0-1.06-1.06l-1.06 1.06a.75.75 0 0 0 1.06 1.06l1.06-1.06ZM18 10a.75.75 0 0 1-.75.75h-1.5a.75.75 0 0 1 0-1.5h1.5A.75.75 0 0 1 18 10ZM5 10a.75.75 0 0 1-.75.75h-1.5a.75.75 0 0 1 0-1.5h1.5A.75.75 0 0 1 5 10ZM14.596 15.657a.75.75 0 0 0 1.06-1.06l-1.06-1.061a.75.75 0 1 0-1.06 1.06l1.06 1.06ZM5.404 6.464a.75.75 0 0 0 1.06-1.06l-1.06-1.06a.75.75 0 1 0-1.061 1.06l1.06 1.06Z"/>
216221
</svg>
217-
<select aria-label="Color Scheme">
218-
<option>Auto</option>
219-
<option>Dark</option>
220-
<option>Light</option>
221-
</select>
222222
</div>
223223
<button id="menu-toggle" class="btn" aria-label="Display/Hide menu">
224224
<svg fill="currentColor" viewBox="0 0 24 24" role="img" class="icon">
@@ -235,7 +235,7 @@ <h2 id="config-files">
235235
<a href="/en/docs/">Get started</a>
236236
<dl>
237237
<dt>Web server</dt>
238-
<dd><a href="/en/docs/web-server/apache.html">Apache</a></dd>
238+
<!-- <dd><a href="/en/docs/web-server/apache.html">Apache</a></dd> -->
239239
<dd><a href="/en/docs/web-server/nginx.html">NGINX</a></dd>
240240
<dd><a href="/en/docs/web-server/iis.html">IIS</a></dd>
241241
<dd><a href="/en/docs/web-server/iis-express.html">IIS Express</a></dd>
@@ -256,7 +256,6 @@ <h2 id="config-files">
256256
<a href="/en/docs/http/response.html">HTTP Response</a>
257257
<dl>
258258
<dt>HTTP feautures</dt>
259-
<dd><a href="/en/docs/http/redirect.html">Redirect</a></dd>
260259
<dd><a href="/en/docs/http/content-negotiation.html">Content Negotiation</a></dd>
261260
</dl>
262261
<!-- <a href="/en/docs/storage-and-files.html">Storage and Files</a> -->

en/docs/controllers.html

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
<title>Controllers - Inphinit PHP</title>
66
<meta name="description" content="Get started creating apps with Inphinit.">
77
<meta name="viewport" content="width=device-width, initial-scale=1.0">
8-
<link rel="stylesheet" type="text/css" href="/css/docs.1732751692961.css" media="all">
9-
<script src="/js/docs.1732751692961.js"></script>
8+
<link rel="stylesheet" type="text/css" href="/css/docs.1733459389306.css" media="all">
9+
<script src="/js/docs.1733459389306.js"></script>
1010
</head>
1111
<body>
1212
<div id="container">
1313
<main>
1414
<h1>Controllers</h1>
15-
<p>Learn how to create a new Inphinit project.</p>
15+
<p>Controllers are one of the different ways to organize your project, with controllers you can centralize the request handling logic.</p>
1616

1717
<section>
1818
<h2 id="create-routes">
@@ -76,18 +76,18 @@ <h2 id="create-routes">
7676
<span class="compact">Star us on Github</span>
7777
</a>
7878
<div class="btn" id="color-scheme">
79+
<select aria-label="Color Scheme">
80+
<option>Auto</option>
81+
<option>Dark</option>
82+
<option>Light</option>
83+
</select>
7984
<svg
8085
fill="currentColor"
8186
viewBox="0 0 20 20"
8287
role="img"
8388
class="icon">
8489
<path d="M10 2a.75.75 0 0 1 .75.75v1.5a.75.75 0 0 1-1.5 0v-1.5A.75.75 0 0 1 10 2ZM10 15a.75.75 0 0 1 .75.75v1.5a.75.75 0 0 1-1.5 0v-1.5A.75.75 0 0 1 10 15ZM10 7a3 3 0 1 0 0 6 3 3 0 0 0 0-6ZM15.657 5.404a.75.75 0 1 0-1.06-1.06l-1.061 1.06a.75.75 0 0 0 1.06 1.06l1.06-1.06ZM6.464 14.596a.75.75 0 1 0-1.06-1.06l-1.06 1.06a.75.75 0 0 0 1.06 1.06l1.06-1.06ZM18 10a.75.75 0 0 1-.75.75h-1.5a.75.75 0 0 1 0-1.5h1.5A.75.75 0 0 1 18 10ZM5 10a.75.75 0 0 1-.75.75h-1.5a.75.75 0 0 1 0-1.5h1.5A.75.75 0 0 1 5 10ZM14.596 15.657a.75.75 0 0 0 1.06-1.06l-1.06-1.061a.75.75 0 1 0-1.06 1.06l1.06 1.06ZM5.404 6.464a.75.75 0 0 0 1.06-1.06l-1.06-1.06a.75.75 0 1 0-1.061 1.06l1.06 1.06Z"/>
8590
</svg>
86-
<select aria-label="Color Scheme">
87-
<option>Auto</option>
88-
<option>Dark</option>
89-
<option>Light</option>
90-
</select>
9191
</div>
9292
<button id="menu-toggle" class="btn" aria-label="Display/Hide menu">
9393
<svg fill="currentColor" viewBox="0 0 24 24" role="img" class="icon">
@@ -104,7 +104,7 @@ <h2 id="create-routes">
104104
<a href="/en/docs/">Get started</a>
105105
<dl>
106106
<dt>Web server</dt>
107-
<dd><a href="/en/docs/web-server/apache.html">Apache</a></dd>
107+
<!-- <dd><a href="/en/docs/web-server/apache.html">Apache</a></dd> -->
108108
<dd><a href="/en/docs/web-server/nginx.html">NGINX</a></dd>
109109
<dd><a href="/en/docs/web-server/iis.html">IIS</a></dd>
110110
<dd><a href="/en/docs/web-server/iis-express.html">IIS Express</a></dd>
@@ -125,7 +125,6 @@ <h2 id="create-routes">
125125
<a href="/en/docs/http/response.html">HTTP Response</a>
126126
<dl>
127127
<dt>HTTP feautures</dt>
128-
<dd><a href="/en/docs/http/redirect.html">Redirect</a></dd>
129128
<dd><a href="/en/docs/http/content-negotiation.html">Content Negotiation</a></dd>
130129
</dl>
131130
<!-- <a href="/en/docs/storage-and-files.html">Storage and Files</a> -->

0 commit comments

Comments
 (0)