Skip to content

Commit

Permalink
Automated deployment: Tue Nov 28 16:52:30 UTC 2023 1.19.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gsteel committed Nov 28, 2023
1 parent 89dd477 commit c94d731
Show file tree
Hide file tree
Showing 9 changed files with 90 additions and 59 deletions.
26 changes: 17 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="PHP ext-session persistence adapter for mezzio-session">
<meta name="description" content="PHP ext-session persistence adapter for mezzio-session">



<meta name="docsearch:version" content="latest">
<meta name="docsearch:language" content="en">
<meta name="docsearch:component" content="mezzio-session-ext">

<link rel="canonical" href="https://docs.mezzio.dev/mezzio-session-ext/">
<link rel="shortcut icon" href="https://docs.laminas.dev/img/trademark-laminas-foundation-rgb.svg">

Expand Down Expand Up @@ -181,7 +188,7 @@ <h1 class="header__title">
<a href="#" class="header__link header__link--search" data-toggle="modal" data-target="#mkdocs_search_modal" title="Open search">
<i class="fa fa-search"></i> Search
</a>
<a href="https://github.com/mezzio/mezzio-session-ext/" class="header__link header__link--github" title="Go to repository of mezzio-session-ext">
<a href="https://github.com/mezzio/mezzio-session-ext" class="header__link header__link--github" title="Go to repository of mezzio-session-ext">
<i class="fa fa-github"></i> GitHub
</a>

Expand Down Expand Up @@ -227,7 +234,7 @@ <h3>Using Composer</h3>
<h2>Support</h2>
<ul>
<li>Issues: <a href="https://github.com/mezzio/mezzio-session-ext/issues">github.com/mezzio/mezzio-session-ext/issues</a></li>
<li>Source: <a href="https://github.com/mezzio/mezzio-session-ext/">github.com/mezzio/mezzio-session-ext/</a></li>
<li>Source: <a href="https://github.com/mezzio/mezzio-session-ext">github.com/mezzio/mezzio-session-ext</a></li>
<li>Chat: <a href="https://laminas.dev/chat">laminas.dev/chat</a></li>
<li>Forum: <a href="https://discourse.laminas.dev/">discourse.laminas.dev</a></li>
</ul>
Expand All @@ -247,7 +254,9 @@ <h2>Support</h2>
<li class="page-nav__item">

<a rel="next" class="page-nav__link page-nav__link--next" href="intro/">
Next <i class="fa fa-chevron-right"></i>
<small class="page-nav__label">Next</small>
Introduction
<i class="fa fa-chevron-right"></i>
</a>

</li>
Expand All @@ -256,7 +265,6 @@ <h2>Support</h2>





</div>
<div class="col-md-3 col-sm-12 sidebar">
Expand Down Expand Up @@ -367,7 +375,7 @@ <h4 class="footer__headline">Support</h4>
<h4 class="footer__headline">License</h4>
<p>
Code licensed under <a
href="https://github.com/mezzio/mezzio-session-ext/blob/master/LICENSE.md">BSD 3-Clause</a>.
href="https://github.com/mezzio/mezzio-session-ext/blob/-/LICENSE.md">BSD 3-Clause</a>.
</p>
</div>

Expand All @@ -377,7 +385,7 @@ <h4 class="footer__headline">Copyright</h4>
<p>
<!--Built with love by the Laminas team with the help of our
<a href="https://github.com/mezzio/mezzio-session-ext/graphs/contributors">contributors</a>.<br>-->
&copy; 2021 <a href="https://getlaminas.org/">Laminas Project</a> a Series of LF Projects, LLC.
&copy; 2023 <a href="https://getlaminas.org/">Laminas Project</a> a Series of LF Projects, LLC.
</p>
</div>
</div>
Expand Down Expand Up @@ -424,6 +432,6 @@ <h5 class="modal-title">Search</h5>
</html>

<!--
MkDocs version : 1.1.2
Build Date UTC : 2021-04-20 16:29:58.660407+00:00
MkDocs version : 1.5.3
Build Date UTC : 2023-11-28 16:52:30.321945+00:00
-->
33 changes: 16 additions & 17 deletions intro/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="PHP ext-session persistence adapter for mezzio-session">
<meta name="description" content="PHP ext-session persistence adapter for mezzio-session">



<meta name="docsearch:version" content="latest">
<meta name="docsearch:language" content="en">
<meta name="docsearch:component" content="mezzio-session-ext">

<link rel="canonical" href="https://docs.mezzio.dev/mezzio-session-ext/intro/">
<link rel="shortcut icon" href="https://docs.laminas.dev/img/trademark-laminas-foundation-rgb.svg">

Expand Down Expand Up @@ -181,7 +188,7 @@ <h1 class="header__title">
<a href="#" class="header__link header__link--search" data-toggle="modal" data-target="#mkdocs_search_modal" title="Open search">
<i class="fa fa-search"></i> Search
</a>
<a href="https://github.com/mezzio/mezzio-session-ext/" class="header__link header__link--github" title="Go to repository of mezzio-session-ext">
<a href="https://github.com/mezzio/mezzio-session-ext" class="header__link header__link--github" title="Go to repository of mezzio-session-ext">
<i class="fa fa-github"></i> GitHub
</a>

Expand All @@ -206,7 +213,7 @@ <h6 class="toc__headline">On this page</h6>
<ul class="toc__list">

<li class="toc__entry">
<a href="#installation" class="toc__link nav-link">Installation:</a>
<a href="#installation" class="toc__link nav-link">Installation</a>
</li>

<li class="toc__entry">
Expand Down Expand Up @@ -252,7 +259,7 @@ <h6 class="toc__headline">On this page</h6>
<h1 id="mezzio-session-ext">mezzio-session-ext</h1>
<p>This component provides a persistence adapter for use with
<a href="https://docs.mezzio.dev/mezzio-session/">mezzio-session</a>.</p>
<h2 id="installation">Installation:</h2>
<h2 id="installation">Installation</h2>
<p>Run the following to install this library:</p>
<pre class="highlight"><code class="language-bash">$ composer require mezzio/mezzio-session-ext</code></pre>
<h2 id="configuration">Configuration</h2>
Expand Down Expand Up @@ -320,7 +327,9 @@ <h2 id="usage">Usage</h2>
<li class="page-nav__item">

<a rel="prev" class="page-nav__link page-nav__link--prev" href="..">
<i class="fa fa-chevron-left"></i> Previous
<small class="page-nav__label">Previous</small>
<i class="fa fa-chevron-left"></i>
Home
</a>

</li>
Expand All @@ -334,16 +343,6 @@ <h2 id="usage">Usage</h2>




<div class="help-wanted">
<p>
Found a mistake or want to contribute to the documentation?
<a href="https://github.com/mezzio/mezzio-session-ext/edit/master/docs/book/intro.md" target="_blank" class="help-wanted__link">
Edit this page on GitHub!
</a>
</p>
</div>


</div>
<div class="col-md-3 col-sm-12 sidebar">
Expand Down Expand Up @@ -454,7 +453,7 @@ <h4 class="footer__headline">Support</h4>
<h4 class="footer__headline">License</h4>
<p>
Code licensed under <a
href="https://github.com/mezzio/mezzio-session-ext/blob/master/LICENSE.md">BSD 3-Clause</a>.
href="https://github.com/mezzio/mezzio-session-ext/blob/-/LICENSE.md">BSD 3-Clause</a>.
</p>
</div>

Expand All @@ -464,7 +463,7 @@ <h4 class="footer__headline">Copyright</h4>
<p>
<!--Built with love by the Laminas team with the help of our
<a href="https://github.com/mezzio/mezzio-session-ext/graphs/contributors">contributors</a>.<br>-->
&copy; 2021 <a href="https://getlaminas.org/">Laminas Project</a> a Series of LF Projects, LLC.
&copy; 2023 <a href="https://getlaminas.org/">Laminas Project</a> a Series of LF Projects, LLC.
</p>
</div>
</div>
Expand Down
16 changes: 12 additions & 4 deletions pages/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,15 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="PHP ext-session persistence adapter for mezzio-session">
<meta name="description" content="PHP ext-session persistence adapter for mezzio-session">



<meta name="docsearch:version" content="latest">
<meta name="docsearch:language" content="en">
<meta name="docsearch:component" content="mezzio-session-ext">


<link rel="shortcut icon" href="https://docs.laminas.dev/img/trademark-laminas-foundation-rgb.svg">

<title>mezzio-session-ext - Laminas Docs</title>
Expand Down Expand Up @@ -180,7 +188,7 @@ <h1 class="header__title">
<a href="#" class="header__link header__link--search" data-toggle="modal" data-target="#mkdocs_search_modal" title="Open search">
<i class="fa fa-search"></i> Search
</a>
<a href="https://github.com/mezzio/mezzio-session-ext/" class="header__link header__link--github" title="Go to repository of mezzio-session-ext">
<a href="https://github.com/mezzio/mezzio-session-ext" class="header__link header__link--github" title="Go to repository of mezzio-session-ext">
<i class="fa fa-github"></i> GitHub
</a>

Expand Down Expand Up @@ -320,7 +328,7 @@ <h4 class="footer__headline">Support</h4>
<h4 class="footer__headline">License</h4>
<p>
Code licensed under <a
href="https://github.com/mezzio/mezzio-session-ext/blob/master/LICENSE.md">BSD 3-Clause</a>.
href="https://github.com/mezzio/mezzio-session-ext/blob/-/LICENSE.md">BSD 3-Clause</a>.
</p>
</div>

Expand All @@ -330,7 +338,7 @@ <h4 class="footer__headline">Copyright</h4>
<p>
<!--Built with love by the Laminas team with the help of our
<a href="https://github.com/mezzio/mezzio-session-ext/graphs/contributors">contributors</a>.<br>-->
&copy; 2021 <a href="https://getlaminas.org/">Laminas Project</a> a Series of LF Projects, LLC.
&copy; 2023 <a href="https://getlaminas.org/">Laminas Project</a> a Series of LF Projects, LLC.
</p>
</div>
</div>
Expand Down
36 changes: 18 additions & 18 deletions search/lunr.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.8
* Copyright (C) 2019 Oliver Nightingale
* lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9
* Copyright (C) 2020 Oliver Nightingale
* @license MIT
*/

Expand Down Expand Up @@ -54,10 +54,10 @@ var lunr = function (config) {
return builder.build()
}

lunr.version = "2.3.8"
lunr.version = "2.3.9"
/*!
* lunr.utils
* Copyright (C) 2019 Oliver Nightingale
* Copyright (C) 2020 Oliver Nightingale
*/

/**
Expand Down Expand Up @@ -177,7 +177,7 @@ lunr.FieldRef.prototype.toString = function () {
}
/*!
* lunr.Set
* Copyright (C) 2019 Oliver Nightingale
* Copyright (C) 2020 Oliver Nightingale
*/

/**
Expand Down Expand Up @@ -211,8 +211,8 @@ lunr.Set.complete = {
return other
},

union: function (other) {
return other
union: function () {
return this
},

contains: function () {
Expand Down Expand Up @@ -389,7 +389,7 @@ lunr.Token.prototype.clone = function (fn) {
}
/*!
* lunr.tokenizer
* Copyright (C) 2019 Oliver Nightingale
* Copyright (C) 2020 Oliver Nightingale
*/

/**
Expand Down Expand Up @@ -465,7 +465,7 @@ lunr.tokenizer = function (obj, metadata) {
lunr.tokenizer.separator = /[\s\-]+/
/*!
* lunr.Pipeline
* Copyright (C) 2019 Oliver Nightingale
* Copyright (C) 2020 Oliver Nightingale
*/

/**
Expand Down Expand Up @@ -732,7 +732,7 @@ lunr.Pipeline.prototype.toJSON = function () {
}
/*!
* lunr.Vector
* Copyright (C) 2019 Oliver Nightingale
* Copyright (C) 2020 Oliver Nightingale
*/

/**
Expand Down Expand Up @@ -929,7 +929,7 @@ lunr.Vector.prototype.toJSON = function () {
/* eslint-disable */
/*!
* lunr.stemmer
* Copyright (C) 2019 Oliver Nightingale
* Copyright (C) 2020 Oliver Nightingale
* Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt
*/

Expand Down Expand Up @@ -1151,7 +1151,7 @@ lunr.stemmer = (function(){
lunr.Pipeline.registerFunction(lunr.stemmer, 'stemmer')
/*!
* lunr.stopWordFilter
* Copyright (C) 2019 Oliver Nightingale
* Copyright (C) 2020 Oliver Nightingale
*/

/**
Expand Down Expand Up @@ -1316,7 +1316,7 @@ lunr.stopWordFilter = lunr.generateStopWordFilter([
lunr.Pipeline.registerFunction(lunr.stopWordFilter, 'stopWordFilter')
/*!
* lunr.trimmer
* Copyright (C) 2019 Oliver Nightingale
* Copyright (C) 2020 Oliver Nightingale
*/

/**
Expand All @@ -1343,7 +1343,7 @@ lunr.trimmer = function (token) {
lunr.Pipeline.registerFunction(lunr.trimmer, 'trimmer')
/*!
* lunr.TokenSet
* Copyright (C) 2019 Oliver Nightingale
* Copyright (C) 2020 Oliver Nightingale
*/

/**
Expand Down Expand Up @@ -1827,7 +1827,7 @@ lunr.TokenSet.Builder.prototype.minimize = function (downTo) {
}
/*!
* lunr.Index
* Copyright (C) 2019 Oliver Nightingale
* Copyright (C) 2020 Oliver Nightingale
*/

/**
Expand Down Expand Up @@ -1994,7 +1994,7 @@ lunr.Index.prototype.query = function (fn) {
*/
var clause = query.clauses[i],
terms = null,
clauseMatches = lunr.Set.complete
clauseMatches = lunr.Set.empty

if (clause.usePipeline) {
terms = this.pipeline.runString(clause.term, {
Expand Down Expand Up @@ -2319,7 +2319,7 @@ lunr.Index.load = function (serializedIndex) {
}
/*!
* lunr.Builder
* Copyright (C) 2019 Oliver Nightingale
* Copyright (C) 2020 Oliver Nightingale
*/

/**
Expand Down Expand Up @@ -3456,7 +3456,7 @@ lunr.QueryParser.parseBoost = function (parser) {
} else if (typeof exports === 'object') {
/**
* Node. Does not work with strict CommonJS, but
* only CommonJS-like enviroments that support module.exports,
* only CommonJS-like environments that support module.exports,
* like Node.
*/
module.exports = factory()
Expand Down
15 changes: 13 additions & 2 deletions search/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,15 @@ function joinUrl (base, path) {
return base + "/" + path;
}

function escapeHtml (value) {
return value.replace(/&/g, '&amp;')
.replace(/"/g, '&quot;')
.replace(/</g, '&lt;')
.replace(/>/g, '&gt;');
}

function formatResult (location, title, summary) {
return '<article><h3><a href="' + joinUrl(base_url, location) + '">'+ title + '</a></h3><p>' + summary +'</p></article>';
return '<article><h3><a href="' + joinUrl(base_url, location) + '">'+ escapeHtml(title) + '</a></h3><p>' + escapeHtml(summary) +'</p></article>';
}

function displayResults (results) {
Expand All @@ -37,7 +44,11 @@ function displayResults (results) {
search_results.insertAdjacentHTML('beforeend', html);
}
} else {
search_results.insertAdjacentHTML('beforeend', "<p>No results found</p>");
var noResultsText = search_results.getAttribute('data-no-results-text');
if (!noResultsText) {
noResultsText = "No results found";
}
search_results.insertAdjacentHTML('beforeend', '<p>' + noResultsText + '</p>');
}
}

Expand Down
Loading

0 comments on commit c94d731

Please sign in to comment.