Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# SITE_URL=https://example.org

# If you want to use Torchlight.dev, enter your API token here to automatically enable it
TORCHLIGHT_TOKEN=torch_
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/vendor
/node_modules
/builds
/.idea
/.vscode
/.vagrant
Expand Down
31 changes: 17 additions & 14 deletions _site/docs/console-commands.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="generator" content="HydePHP" />
<meta property="og:site_name" content="HydePHP" />

<!-- Include any extra tags to include in the <head> section -->

<!-- Config Defined Tags -->
<meta name="generator" content="HydePHP dev-master" />

<title>HydePHP - Console Commands</title>

Expand All @@ -12,8 +17,6 @@

<!-- The main stylesheet generated by the app -->
<link rel="stylesheet" href="../media/app.css" />

<!-- Include any extra tags to include in the <head> section -->
</head>
<body id="app" class="flex flex-col min-h-screen overflow-x-hidden">
<section id="content">
Expand Down Expand Up @@ -103,6 +106,13 @@ <h2 class="font-bold opacity-75 hover:opacity-100 w-fit">
>Directory Structure</a
>
</li>
<li class="py-2 list-item">
<a
href="customization.html"
class="hover:text-indigo-500"
>Customization</a
>
</li>
<li class="py-2 list-item list-item-active">
<a
href="console-commands.html"
Expand All @@ -111,13 +121,6 @@ <h2 class="font-bold opacity-75 hover:opacity-100 w-fit">
>Console Commands</a
>
</li>
<li class="py-2 list-item">
<a
href="customization.html"
class="hover:text-indigo-500"
>Customization</a
>
</li>
</ul>
</nav>
<footer class="p-4 mt-auto border-t">
Expand Down Expand Up @@ -184,7 +187,7 @@ <h3>The Build Command</h3>
command, which -- you guessed it -- builds your
static site!
</p>
<pre><code data-theme="material-theme-palenight" data-lang="bash" class='torchlight' style='background-color: #292D3E; --theme-selection-background: #00000080;'><!-- Syntax highlighted by torchlight.dev --><div class='line'><span style="color:#a6accd40; text-align: right; -webkit-user-select: none; user-select: none;" class="line-number">1</span><span style="color: #FFCB6B;">php</span><span style="color: #A6ACCD;"> </span><span style="color: #C3E88D;">hyde</span><span style="color: #A6ACCD;"> </span><span style="color: #C3E88D;">build</span></div></code></pre>
<pre><code data-theme="material-theme-palenight" data-lang="bash" class='torchlight' style='background-color: #292D3E; --theme-selection-background: #00000080;'><!-- Syntax highlighted by torchlight.dev --><div class='line'><span style="color:#3A3F58; text-align: right; -webkit-user-select: none; user-select: none;" class="line-number">1</span><span style="color: #FFCB6B;">php</span><span style="color: #A6ACCD;"> </span><span style="color: #C3E88D;">hyde</span><span style="color: #A6ACCD;"> </span><span style="color: #C3E88D;">build</span></div></code></pre>
<blockquote>
<p>
If you want to to prettify the output HTML you
Expand All @@ -206,7 +209,7 @@ <h3>The Post Make Command</h3>
Matter formatting and generates a slug from the
supplied title and even adds the current date.
</p>
<pre><code data-theme="material-theme-palenight" data-lang="bash" class='torchlight' style='background-color: #292D3E; --theme-selection-background: #00000080;'><!-- Syntax highlighted by torchlight.dev --><div class='line'><span style="color:#a6accd40; text-align: right; -webkit-user-select: none; user-select: none;" class="line-number">1</span><span style="color: #FFCB6B;">php</span><span style="color: #A6ACCD;"> </span><span style="color: #C3E88D;">hyde</span><span style="color: #A6ACCD;"> </span><span style="color: #C3E88D;">make:post</span></div></code></pre>
<pre><code data-theme="material-theme-palenight" data-lang="bash" class='torchlight' style='background-color: #292D3E; --theme-selection-background: #00000080;'><!-- Syntax highlighted by torchlight.dev --><div class='line'><span style="color:#3A3F58; text-align: right; -webkit-user-select: none; user-select: none;" class="line-number">1</span><span style="color: #FFCB6B;">php</span><span style="color: #A6ACCD;"> </span><span style="color: #C3E88D;">hyde</span><span style="color: #A6ACCD;"> </span><span style="color: #C3E88D;">make:post</span></div></code></pre>
<blockquote>
<p>
Tip: To overwrite existing files, supply the
Expand All @@ -233,7 +236,7 @@ <h3>The Publish Command</h3>
>LaravelCollective</a
>.
</p>
<pre><code data-theme="material-theme-palenight" data-lang="bash" class='torchlight' style='background-color: #292D3E; --theme-selection-background: #00000080;'><!-- Syntax highlighted by torchlight.dev --><div class='line'><span style="color:#a6accd40; text-align: right; -webkit-user-select: none; user-select: none;" class="line-number">1</span><span style="color: #FFCB6B;">php</span><span style="color: #A6ACCD;"> </span><span style="color: #C3E88D;">hyde</span><span style="color: #A6ACCD;"> </span><span style="color: #C3E88D;">publish:404</span></div></code></pre>
<pre><code data-theme="material-theme-palenight" data-lang="bash" class='torchlight' style='background-color: #292D3E; --theme-selection-background: #00000080;'><!-- Syntax highlighted by torchlight.dev --><div class='line'><span style="color:#3A3F58; text-align: right; -webkit-user-select: none; user-select: none;" class="line-number">1</span><span style="color: #FFCB6B;">php</span><span style="color: #A6ACCD;"> </span><span style="color: #C3E88D;">hyde</span><span style="color: #A6ACCD;"> </span><span style="color: #C3E88D;">publish:404</span></div></code></pre>
<h3>The Validate Command</h3>
<p>
Hyde ships with a very useful command that runs a
Expand Down Expand Up @@ -287,7 +290,7 @@ <h2>
refreshes your pages once they are changed.
</p>
<p><strong>To start the preview run</strong></p>
<pre><code data-theme="material-theme-palenight" data-lang="bash" class='torchlight' style='background-color: #292D3E; --theme-selection-background: #00000080;'><!-- Syntax highlighted by torchlight.dev --><div class='line'><span style="color:#a6accd40; text-align: right; -webkit-user-select: none; user-select: none;" class="line-number">1</span><span style="color: #FFCB6B;">npm</span><span style="color: #A6ACCD;"> </span><span style="color: #C3E88D;">run</span><span style="color: #A6ACCD;"> </span><span style="color: #C3E88D;">watch</span></div></code></pre>
<pre><code data-theme="material-theme-palenight" data-lang="bash" class='torchlight' style='background-color: #292D3E; --theme-selection-background: #00000080;'><!-- Syntax highlighted by torchlight.dev --><div class='line'><span style="color:#3A3F58; text-align: right; -webkit-user-select: none; user-select: none;" class="line-number">1</span><span style="color: #FFCB6B;">npm</span><span style="color: #A6ACCD;"> </span><span style="color: #C3E88D;">run</span><span style="color: #A6ACCD;"> </span><span style="color: #C3E88D;">watch</span></div></code></pre>
<p>
A browser page should automatically be opened. If
not, just navigate to
Expand Down
Loading