Skip to content

Commit

Permalink
Refreshes Retype-generated documentation.
Browse files Browse the repository at this point in the history
Process triggered by ddnexus.
  • Loading branch information
Retype GitHub Action committed Feb 16, 2024
1 parent 243e066 commit f0ab121
Show file tree
Hide file tree
Showing 63 changed files with 2,478 additions and 1,654 deletions.
10 changes: 5 additions & 5 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="turbo-root" content="/pagy">
<meta name="turbo-cache-control" content="no-cache" data-turbo-track="reload" data-track-token="3.5.0.761357189795">
<meta name="turbo-cache-control" content="no-cache" data-turbo-track="reload" data-track-token="3.5.0.761357413815">

<!-- See retype.com -->
<meta name="generator" content="Retype 3.5.0">
Expand All @@ -28,11 +28,11 @@

<script data-cfasync="false">(function () { var el = document.documentElement, m = localStorage.getItem("doc_theme"), wm = window.matchMedia; if (m === "dark" || (!m && wm && wm("(prefers-color-scheme: dark)").matches)) { el.classList.add("dark") } else { el.classList.remove("dark") } })();</script>

<link href="/pagy/resources/css/retype.css?v=3.5.0.761357189795" rel="stylesheet">
<link href="/pagy/resources/css/retype.css?v=3.5.0.761357413815" rel="stylesheet">

<script data-cfasync="false" src="/pagy/resources/js/config.js?v=3.5.0.761357189795" data-turbo-eval="false" defer></script>
<script data-cfasync="false" src="/pagy/resources/js/config.js?v=3.5.0.761357413815" data-turbo-eval="false" defer></script>
<script data-cfasync="false" src="/pagy/resources/js/retype.js?v=3.5.0" data-turbo-eval="false" defer></script>
<script id="lunr-js" data-cfasync="false" src="/pagy/resources/js/lunr.js?v=3.5.0.761357189795" data-turbo-eval="false" defer></script>
<script id="lunr-js" data-cfasync="false" src="/pagy/resources/js/lunr.js?v=3.5.0.761357413815" data-turbo-eval="false" defer></script>
</head>
<body>
<div id="docs-app" class="relative text-base antialiased text-gray-700 bg-white font-body dark:bg-dark-850 dark:text-dark-300">
Expand All @@ -49,7 +49,7 @@
<div class="flex items-center px-2 md:px-6">
<a id="docs-site-logo" href="/pagy/" class="flex items-center leading-snug text-2xl">
<span class="dark:text-white font-semibold line-clamp-1 md:line-clamp-2">Pagy</span>
</a><span class="hidden px-2 py-1 ml-4 text-sm font-semibold leading-none text-root-logo-label-text bg-root-logo-label-bg rounded-sm md:inline-block">6.5.0</span>
</a><span class="hidden px-2 py-1 ml-4 text-sm font-semibold leading-none text-root-logo-label-text bg-root-logo-label-bg rounded-sm md:inline-block">7.0.0</span>
</div>

<span class="hidden h-8 border-r md:inline-block dark:border-dark-650"></span>
Expand Down
6 changes: 3 additions & 3 deletions apps/pagy_standalone_app.ru
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ require 'bundler/inline'
# NOTICE: if you get any installation error with the following setup
# temporarily remove the Gemfile and Gemfile.lock from the repo (they may interfere with the bundler/inline)

gemfile true do
gemfile false do
source 'https://rubygems.org'
gem 'oj'
gem 'rack'
Expand Down Expand Up @@ -54,7 +54,7 @@ Pagy::DEFAULT.freeze
require 'sinatra/base'
# Sinatra application
class PagyStandaloneApp < Sinatra::Base
PAGY_JS = "pagy#{'-dev' if ENV['DEBUG']}.js"
PAGY_JS = "pagy#{'-dev' if ENV['DEBUG']}.js".freeze

configure do
enable :inline_templates
Expand Down Expand Up @@ -87,7 +87,7 @@ class MockCollection < Array
end

def offset(value)
@collection = self[value..-1]
@collection = self[value..]
self
end

Expand Down
15 changes: 9 additions & 6 deletions categories/backend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="turbo-root" content="/pagy">
<meta name="turbo-cache-control" content="no-cache" data-turbo-track="reload" data-track-token="3.5.0.761357189795">
<meta name="turbo-cache-control" content="no-cache" data-turbo-track="reload" data-track-token="3.5.0.761357413815">

<!-- See retype.com -->
<meta name="generator" content="Retype 3.5.0">
Expand All @@ -28,11 +28,11 @@

<script data-cfasync="false">(function () { var el = document.documentElement, m = localStorage.getItem("doc_theme"), wm = window.matchMedia; if (m === "dark" || (!m && wm && wm("(prefers-color-scheme: dark)").matches)) { el.classList.add("dark") } else { el.classList.remove("dark") } })();</script>

<link href="../../resources/css/retype.css?v=3.5.0.761357189795" rel="stylesheet">
<link href="../../resources/css/retype.css?v=3.5.0.761357413815" rel="stylesheet">

<script data-cfasync="false" src="../../resources/js/config.js?v=3.5.0.761357189795" data-turbo-eval="false" defer></script>
<script data-cfasync="false" src="../../resources/js/config.js?v=3.5.0.761357413815" data-turbo-eval="false" defer></script>
<script data-cfasync="false" src="../../resources/js/retype.js?v=3.5.0" data-turbo-eval="false" defer></script>
<script id="lunr-js" data-cfasync="false" src="../../resources/js/lunr.js?v=3.5.0.761357189795" data-turbo-eval="false" defer></script>
<script id="lunr-js" data-cfasync="false" src="../../resources/js/lunr.js?v=3.5.0.761357413815" data-turbo-eval="false" defer></script>
</head>
<body>
<div id="docs-app" class="relative text-base antialiased text-gray-700 bg-white font-body dark:bg-dark-850 dark:text-dark-300">
Expand All @@ -49,7 +49,7 @@
<div class="flex items-center px-2 md:px-6">
<a id="docs-site-logo" href="../../" class="flex items-center leading-snug text-2xl">
<span class="dark:text-white font-semibold line-clamp-1 md:line-clamp-2">Pagy</span>
</a><span class="hidden px-2 py-1 ml-4 text-sm font-semibold leading-none text-root-logo-label-text bg-root-logo-label-bg rounded-sm md:inline-block">6.5.0</span>
</a><span class="hidden px-2 py-1 ml-4 text-sm font-semibold leading-none text-root-logo-label-text bg-root-logo-label-bg rounded-sm md:inline-block">7.0.0</span>
</div>

<span class="hidden h-8 border-r md:inline-block dark:border-dark-650"></span>
Expand Down Expand Up @@ -284,6 +284,9 @@ <h1>
</div>
</a>
<a class="no-link mb-6 overflow-hidden border border-gray-200 rounded-lg md:flex dark:border-dark-700 hover:border-gray-400 dark:hover:border-dark-450" href="../../docs/extras/calendar/">
<div class="relative shrink-0 bg-gray-300 md:w-5/12 pb-9/16 md:pb-0 dark:bg-dark-450">
<img class="absolute object-cover w-full h-full" src="../../docs/assets/images/calendar-app.png">
</div>
<div class="p-6">
<div class="text-xs font-semibold text-blue-500 uppercase dark:text-blue-400">Backend &#8226; Extra</div>
<div class="mt-2 text-lg font-semibold leading-snug text-gray-900 dark:text-white md:text-xl">Calendar</div>
Expand All @@ -308,7 +311,7 @@ <h1>
<div class="p-6">
<div class="text-xs font-semibold text-blue-500 uppercase dark:text-blue-400">Backend &#8226; Extra</div>
<div class="mt-2 text-lg font-semibold leading-snug text-gray-900 dark:text-white md:text-xl">Headers</div>
<div class="line-clamp-3"><p class="hidden mt-2 md:block">Add RFC-8288 compliant http response headers (and other helpers) useful for API pagination.</p></div>
<div class="line-clamp-3"><p class="hidden mt-2 md:block">Add RFC-8288 compliant http response headers (and other helpers) useful for API pagination. It also follows the header casing introduced by </p></div>
</div>
</a>
<a class="no-link mb-6 overflow-hidden border border-gray-200 rounded-lg md:flex dark:border-dark-700 hover:border-gray-400 dark:hover:border-dark-450" href="../../docs/extras/jsonapi/">
Expand Down
12 changes: 6 additions & 6 deletions categories/class/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="turbo-root" content="/pagy">
<meta name="turbo-cache-control" content="no-cache" data-turbo-track="reload" data-track-token="3.5.0.761357189795">
<meta name="turbo-cache-control" content="no-cache" data-turbo-track="reload" data-track-token="3.5.0.761357413815">

<!-- See retype.com -->
<meta name="generator" content="Retype 3.5.0">
Expand All @@ -28,11 +28,11 @@

<script data-cfasync="false">(function () { var el = document.documentElement, m = localStorage.getItem("doc_theme"), wm = window.matchMedia; if (m === "dark" || (!m && wm && wm("(prefers-color-scheme: dark)").matches)) { el.classList.add("dark") } else { el.classList.remove("dark") } })();</script>

<link href="../../resources/css/retype.css?v=3.5.0.761357189795" rel="stylesheet">
<link href="../../resources/css/retype.css?v=3.5.0.761357413815" rel="stylesheet">

<script data-cfasync="false" src="../../resources/js/config.js?v=3.5.0.761357189795" data-turbo-eval="false" defer></script>
<script data-cfasync="false" src="../../resources/js/config.js?v=3.5.0.761357413815" data-turbo-eval="false" defer></script>
<script data-cfasync="false" src="../../resources/js/retype.js?v=3.5.0" data-turbo-eval="false" defer></script>
<script id="lunr-js" data-cfasync="false" src="../../resources/js/lunr.js?v=3.5.0.761357189795" data-turbo-eval="false" defer></script>
<script id="lunr-js" data-cfasync="false" src="../../resources/js/lunr.js?v=3.5.0.761357413815" data-turbo-eval="false" defer></script>
</head>
<body>
<div id="docs-app" class="relative text-base antialiased text-gray-700 bg-white font-body dark:bg-dark-850 dark:text-dark-300">
Expand All @@ -49,7 +49,7 @@
<div class="flex items-center px-2 md:px-6">
<a id="docs-site-logo" href="../../" class="flex items-center leading-snug text-2xl">
<span class="dark:text-white font-semibold line-clamp-1 md:line-clamp-2">Pagy</span>
</a><span class="hidden px-2 py-1 ml-4 text-sm font-semibold leading-none text-root-logo-label-text bg-root-logo-label-bg rounded-sm md:inline-block">6.5.0</span>
</a><span class="hidden px-2 py-1 ml-4 text-sm font-semibold leading-none text-root-logo-label-text bg-root-logo-label-bg rounded-sm md:inline-block">7.0.0</span>
</div>

<span class="hidden h-8 border-r md:inline-block dark:border-dark-650"></span>
Expand Down Expand Up @@ -266,7 +266,7 @@ <h1>
<div class="p-6">
<div class="text-xs font-semibold text-blue-500 uppercase dark:text-blue-400">Core &#8226; Class</div>
<div class="mt-2 text-lg font-semibold leading-snug text-gray-900 dark:text-white md:text-xl">Pagy</div>
<div class="line-clamp-3"><p class="hidden mt-2 md:block">The scope of the <code v-pre>Pagy</code> class is keeping track of the all integers and variables involved in the pagination.</p></div>
<div class="line-clamp-3"><p class="hidden mt-2 md:block">The scope of the <code v-pre>Pagy</code> class is keeping track of the all integers and variables involved in the pagination. It basically takes a</p></div>
</div>
</a>
<a class="no-link mb-6 overflow-hidden border border-gray-200 rounded-lg md:flex dark:border-dark-700 hover:border-gray-400 dark:hover:border-dark-450" href="../../docs/api/calendar/">
Expand Down
12 changes: 6 additions & 6 deletions categories/core/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="turbo-root" content="/pagy">
<meta name="turbo-cache-control" content="no-cache" data-turbo-track="reload" data-track-token="3.5.0.761357189795">
<meta name="turbo-cache-control" content="no-cache" data-turbo-track="reload" data-track-token="3.5.0.761357413815">

<!-- See retype.com -->
<meta name="generator" content="Retype 3.5.0">
Expand All @@ -28,11 +28,11 @@

<script data-cfasync="false">(function () { var el = document.documentElement, m = localStorage.getItem("doc_theme"), wm = window.matchMedia; if (m === "dark" || (!m && wm && wm("(prefers-color-scheme: dark)").matches)) { el.classList.add("dark") } else { el.classList.remove("dark") } })();</script>

<link href="../../resources/css/retype.css?v=3.5.0.761357189795" rel="stylesheet">
<link href="../../resources/css/retype.css?v=3.5.0.761357413815" rel="stylesheet">

<script data-cfasync="false" src="../../resources/js/config.js?v=3.5.0.761357189795" data-turbo-eval="false" defer></script>
<script data-cfasync="false" src="../../resources/js/config.js?v=3.5.0.761357413815" data-turbo-eval="false" defer></script>
<script data-cfasync="false" src="../../resources/js/retype.js?v=3.5.0" data-turbo-eval="false" defer></script>
<script id="lunr-js" data-cfasync="false" src="../../resources/js/lunr.js?v=3.5.0.761357189795" data-turbo-eval="false" defer></script>
<script id="lunr-js" data-cfasync="false" src="../../resources/js/lunr.js?v=3.5.0.761357413815" data-turbo-eval="false" defer></script>
</head>
<body>
<div id="docs-app" class="relative text-base antialiased text-gray-700 bg-white font-body dark:bg-dark-850 dark:text-dark-300">
Expand All @@ -49,7 +49,7 @@
<div class="flex items-center px-2 md:px-6">
<a id="docs-site-logo" href="../../" class="flex items-center leading-snug text-2xl">
<span class="dark:text-white font-semibold line-clamp-1 md:line-clamp-2">Pagy</span>
</a><span class="hidden px-2 py-1 ml-4 text-sm font-semibold leading-none text-root-logo-label-text bg-root-logo-label-bg rounded-sm md:inline-block">6.5.0</span>
</a><span class="hidden px-2 py-1 ml-4 text-sm font-semibold leading-none text-root-logo-label-text bg-root-logo-label-bg rounded-sm md:inline-block">7.0.0</span>
</div>

<span class="hidden h-8 border-r md:inline-block dark:border-dark-650"></span>
Expand Down Expand Up @@ -266,7 +266,7 @@ <h1>
<div class="p-6">
<div class="text-xs font-semibold text-blue-500 uppercase dark:text-blue-400">Core &#8226; Class</div>
<div class="mt-2 text-lg font-semibold leading-snug text-gray-900 dark:text-white md:text-xl">Pagy</div>
<div class="line-clamp-3"><p class="hidden mt-2 md:block">The scope of the <code v-pre>Pagy</code> class is keeping track of the all integers and variables involved in the pagination.</p></div>
<div class="line-clamp-3"><p class="hidden mt-2 md:block">The scope of the <code v-pre>Pagy</code> class is keeping track of the all integers and variables involved in the pagination. It basically takes a</p></div>
</div>
</a>
<a class="no-link mb-6 overflow-hidden border border-gray-200 rounded-lg md:flex dark:border-dark-700 hover:border-gray-400 dark:hover:border-dark-450" href="../../docs/api/backend/">
Expand Down
Loading

0 comments on commit f0ab121

Please sign in to comment.