mirror of
https://gh.wpcy.net/https://github.com/aspirepress/documentation.git
synced 2026-07-16 10:11:45 +08:00
* adding CC BY-SA 4.0 Signed-off-by: Amnesty AM <37809410+AmnestyAM@users.noreply.github.com> * removed a typo * updated license wording Signed-off-by: Amnesty AM <37809410+AmnestyAM@users.noreply.github.com>
164 lines
7.5 KiB
HTML
164 lines
7.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
|
|
<title>{{ page.title }} - {{ site.data.project.title }}</title>
|
|
{% if site.data.project.description %}
|
|
<meta name="description" content="{{ site.data.project.description }}">
|
|
{% endif %}
|
|
{% unless site.data.dev.dev_mode %}
|
|
<base href="https://docs.aspirepress.org/" />
|
|
{% endunless %}
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
|
<link rel="stylesheet" href="{{ site.data.manifest['docs.css'] }}" />
|
|
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
|
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
|
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
|
<link rel="manifest" href="/site.webmanifest">
|
|
<!-- mermaid modules and style samples
|
|
themes: default, neutral, dark, forest or base
|
|
-->
|
|
|
|
<script type="module">
|
|
import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid/+esm'
|
|
mermaid.initialize({ startOnLoad: true, theme: 'neutral' })
|
|
await mermaid.run({ querySelector: 'code.language-mermaid' })
|
|
</script>
|
|
|
|
<style>
|
|
code.language-mermaid {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
pre:has(code.language-mermaid),
|
|
code.language-mermaid {
|
|
background-color: transparent;
|
|
}
|
|
|
|
.edgeLabel {
|
|
font-size: 92%;
|
|
opacity: .95;
|
|
color: #111;
|
|
padding: 0 3px;
|
|
}
|
|
|
|
.node rect {
|
|
stroke: #214f78 !important;
|
|
}
|
|
|
|
.nodeLabel {
|
|
color: #214f78 !important;
|
|
}
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body class="min-h-screen text-base text-indigo-body-text min-w-full leading-normal bg-indigo-lightest">
|
|
{% include size-helper.html %}
|
|
<div class="pb-1 z-10 top-0 w-screen bg-white border-indigo-lighter border-b">
|
|
<div class="max-w-2xl mx-auto px-4 py-2">
|
|
<div class="flex items-center flex-no-shrink top-0">
|
|
<a href="/" class="flex items-center h-14">
|
|
<img class="mr-3 h-14" src="/img/aspirepress.png" alt="AspirePress Logo"/>
|
|
<span class="pr-2 font-normal overflow-hidden font-heading text-3xl text-indigo-darkest -sm:hidden">
|
|
AspirePress Docs
|
|
</span>
|
|
</a>
|
|
<div class="flex-grow"></div>
|
|
<!-- Comment out the search for now, its not yet hooked up to Agolia
|
|
<div class="flex-no-shrink flex-no-grow h-10 px-4 relative">
|
|
<input id="global-search"
|
|
class="focus:outline-0 h-10 py-2 pl-8 pr-2 text-indigo-darker rounded bg-indigo-lightest focus:border-indigo-light focus:bg-white focus:placeholder-none max-w-xs w-full appearance-none"
|
|
type="text" placeholder="Search the docs" aria-label="Search the docs"/>
|
|
<span class="pointer-events-none absolute inset-y-0 left-0 pl-6 flex items-center">
|
|
<svg class="fill-current pointer-events-none text-indigo-light w-4 h-4 border-transparent border"
|
|
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20">
|
|
<path
|
|
d="M12.9 14.32a8 8 0 1 1 1.41-1.41l5.35 5.33-1.42 1.42-5.33-5.34zM8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12z" />
|
|
</svg>
|
|
</span>
|
|
</div>
|
|
-->
|
|
<a href="#" id="menu-toggle"
|
|
class="block md:hidden h-8 w-8 border p-1 border-transparent text-grey hover:text-grey menu-closed">
|
|
<svg class="menu-closed:shown fill-current h-full w-full" xmlns="http://www.w3.org/2000/svg"
|
|
viewBox="0 0 20 20">
|
|
<path d="M0 3h20v2H0V3zm0 6h20v2H0V9zm0 6h20v2H0v-2z" />
|
|
</svg>
|
|
<svg class="menu-closed:hidden fill-current h-full w-full" xmlns="http://www.w3.org/2000/svg"
|
|
viewBox="0 0 20 20">
|
|
<path
|
|
d="M10 8.586L2.929 1.515 1.515 2.929 8.586 10l-7.071 7.071 1.414 1.414L10 11.414l7.071 7.071 1.414-1.414L11.414 10l7.071-7.071-1.414-1.414L10 8.586z" />
|
|
</svg>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<main class="mx-auto max-w-2xl px-4 py-8">
|
|
<div class="flex flex-grow">
|
|
<nav role="navigation" id="navigation"
|
|
class="md:w-4/14 w-full lg:relative hidden md:block font-heading pt-2">
|
|
<menu class="pl-0 mt-0">
|
|
{% assign menu = site.data.menu_v2 %}
|
|
{% for section in menu %}
|
|
<h2 class="tracking-wide mb-0 mt-0 text-sm leading-loose tracking-wide text-indigo uppercase">
|
|
{{ section[0] }}</h2>
|
|
<ul class="list-reset mb-6 block pr-6">
|
|
{% for link in section[1] %}
|
|
<li class="block">
|
|
<a class="leading-loose block w-full rounded text-md {% if page.url == link[1] %}text-white bg-indigo pl-2 -ml-2{% else %}text-indigo-darkest{% endif %}"
|
|
href="{{ link[1] }}">{{ link[0] }}</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endfor %}
|
|
</menu>
|
|
</nav>
|
|
|
|
<article id="article" role="main" class="max-w-full md:block md:w-10/14">
|
|
{% if page.url contains "/v1/" %}
|
|
<blockquote class="bg-yellow-dark px-4 py-2 rounded text-yellow-darkest mb-4">
|
|
<strong>WARNING</strong>: you're viewing docs for an outdated version.
|
|
View the <a class="text-yellow-darker font-bold" href="{{ page.url | replace: " /v1/", "/" }}">docs
|
|
for the current version</a>.
|
|
</blockquote>
|
|
{% endif %}
|
|
{% unless page.hide_title %}
|
|
<h1 class="mb-4">{% if page.alternate_title %}{{ page.alternate_title }}{% else %}{{ page.title }}{%
|
|
endif %}{% if page.url contains "/v1/" %} (V1){% endif %}</h1>
|
|
{% endunless %}
|
|
|
|
{{ content }}
|
|
<hr>
|
|
<p>Information on this page is licensed under a <a href="https://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution 4.0 International license CC BY-SA 4.0</a>.</p>
|
|
<h4>
|
|
{% if page.last_modified_at %}
|
|
{{ page.last_modified_at | date: "%B %d, %Y" }}
|
|
{% else %}
|
|
|
|
{% endif %}
|
|
</h4>
|
|
|
|
|
|
</article>
|
|
</div>
|
|
</main>
|
|
<footer class="bg-indigo-darkest text-white">
|
|
|
|
</footer>
|
|
<script type="text/javascript" src="{{ site.data.manifest['docs.js'] }}"></script>
|
|
<!--<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>
|
|
<script type="text/javascript"> docsearch({
|
|
apiKey: 'be7daf2d7afded0acb0589a0e304a423',
|
|
indexName: 'filesystem_thephpleague',
|
|
inputSelector: '#global-search',
|
|
debug: {% if site.data.dev.dev_mode %}true{% else %}false{% endif %}
|
|
});
|
|
</script>!-->
|
|
</body>
|
|
|
|
</html>
|