diff --git a/CodeIgniter4.5.4.epub b/CodeIgniter4.5.4.epub new file mode 100644 index 00000000..3fc7da16 Binary files /dev/null and b/CodeIgniter4.5.4.epub differ diff --git a/docs/.buildinfo b/docs/.buildinfo index ca71455f..afe37546 100644 --- a/docs/.buildinfo +++ b/docs/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. -config: 4e3cf24cef15caa8e1f5b17db1cb7e99 +config: 730d91c547aa75b5b2844b0b3d5207bb tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/docs/_static/documentation_options.js b/docs/_static/documentation_options.js index 6d9b6489..9c9fb046 100644 --- a/docs/_static/documentation_options.js +++ b/docs/_static/documentation_options.js @@ -1,5 +1,5 @@ const DOCUMENTATION_OPTIONS = { - VERSION: '4.5.3', + VERSION: '4.5.4', LANGUAGE: 'en', COLLAPSE_INDEX: false, BUILDER: 'html', diff --git a/docs/_static/searchtools.js b/docs/_static/searchtools.js index 92da3f8b..b08d58c9 100644 --- a/docs/_static/searchtools.js +++ b/docs/_static/searchtools.js @@ -178,7 +178,7 @@ const Search = { htmlToText: (htmlString, anchor) => { const htmlElement = new DOMParser().parseFromString(htmlString, 'text/html'); - for (const removalQuery of [".headerlinks", "script", "style"]) { + for (const removalQuery of [".headerlink", "script", "style"]) { htmlElement.querySelectorAll(removalQuery).forEach((el) => { el.remove() }); } if (anchor) { @@ -328,13 +328,14 @@ const Search = { for (const [title, foundTitles] of Object.entries(allTitles)) { if (title.toLowerCase().trim().includes(queryLower) && (queryLower.length >= title.length/2)) { for (const [file, id] of foundTitles) { - let score = Math.round(100 * queryLower.length / title.length) + const score = Math.round(Scorer.title * queryLower.length / title.length); + const boost = titles[file] === title ? 1 : 0; // add a boost for document titles normalResults.push([ docNames[file], titles[file] !== title ? `${titles[file]} > ${title}` : title, id !== null ? "#" + id : "", null, - score, + score + boost, filenames[file], ]); } diff --git a/docs/changelogs/index.html b/docs/changelogs/index.html index 8cdd5e20..82b2351d 100644 --- a/docs/changelogs/index.html +++ b/docs/changelogs/index.html @@ -4,7 +4,7 @@ - Change Logs — CodeIgniter 4.5.3 documentation + Change Logs — CodeIgniter 4.5.4 documentation @@ -17,7 +17,7 @@ - + @@ -25,7 +25,7 @@ - + @@ -293,6 +293,7 @@

Version 4.5