Skip to content

Commit 5fffedd

Browse files
committed
version 1.20250524.1
1 parent 11c7204 commit 5fffedd

60 files changed

Lines changed: 672 additions & 2090 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
2-
# This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 28e4dd014c866139c423cd1b8938181a
2+
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3+
config: 95450080859c1c6d3c9fe0eb45911e3c
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

apps/_documentation/static/en/_static/basic.css

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
/*
2+
* basic.css
3+
* ~~~~~~~~~
4+
*
25
* Sphinx stylesheet -- basic theme.
6+
*
7+
* :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS.
8+
* :license: BSD, see LICENSE for details.
9+
*
310
*/
411

512
/* -- main layout ----------------------------------------------------------- */
@@ -108,11 +115,15 @@ img {
108115
/* -- search page ----------------------------------------------------------- */
109116

110117
ul.search {
111-
margin-top: 10px;
118+
margin: 10px 0 0 20px;
119+
padding: 0;
112120
}
113121

114122
ul.search li {
115-
padding: 5px 0;
123+
padding: 5px 0 5px 20px;
124+
background-image: url(file.png);
125+
background-repeat: no-repeat;
126+
background-position: 0 7px;
116127
}
117128

118129
ul.search li a {
@@ -741,6 +752,14 @@ abbr, acronym {
741752
cursor: help;
742753
}
743754

755+
.translated {
756+
background-color: rgba(207, 255, 207, 0.2)
757+
}
758+
759+
.untranslated {
760+
background-color: rgba(255, 207, 207, 0.2)
761+
}
762+
744763
/* -- code displays --------------------------------------------------------- */
745764

746765
pre {

apps/_documentation/static/en/_static/doctools.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
/*
2+
* doctools.js
3+
* ~~~~~~~~~~~
4+
*
25
* Base JavaScript utilities for all Sphinx HTML documentation.
6+
*
7+
* :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS.
8+
* :license: BSD, see LICENSE for details.
9+
*
310
*/
411
"use strict";
512

apps/_documentation/static/en/_static/documentation_options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const DOCUMENTATION_OPTIONS = {
2-
VERSION: '20250511',
2+
VERSION: '20250518',
33
LANGUAGE: 'en',
44
COLLAPSE_INDEX: false,
55
BUILDER: 'html',

apps/_documentation/static/en/_static/language_data.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
/*
2+
* language_data.js
3+
* ~~~~~~~~~~~~~~~~
4+
*
25
* This script contains the language-specific data used by searchtools.js,
36
* namely the list of stopwords, stemmer, scorer and splitter.
7+
*
8+
* :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS.
9+
* :license: BSD, see LICENSE for details.
10+
*
411
*/
512

613
var stopwords = ["a", "and", "are", "as", "at", "be", "but", "by", "for", "if", "in", "into", "is", "it", "near", "no", "not", "of", "on", "or", "such", "that", "the", "their", "then", "there", "these", "they", "this", "to", "was", "will", "with"];

apps/_documentation/static/en/_static/searchtools.js

Lines changed: 18 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
/*
2+
* searchtools.js
3+
* ~~~~~~~~~~~~~~~~
4+
*
25
* Sphinx JavaScript utilities for the full-text search.
6+
*
7+
* :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS.
8+
* :license: BSD, see LICENSE for details.
9+
*
310
*/
411
"use strict";
512

@@ -13,7 +20,7 @@ if (typeof Scorer === "undefined") {
1320
// and returns the new score.
1421
/*
1522
score: result => {
16-
const [docname, title, anchor, descr, score, filename, kind] = result
23+
const [docname, title, anchor, descr, score, filename] = result
1724
return score
1825
},
1926
*/
@@ -40,14 +47,6 @@ if (typeof Scorer === "undefined") {
4047
};
4148
}
4249

43-
// Global search result kind enum, used by themes to style search results.
44-
class SearchResultKind {
45-
static get index() { return "index"; }
46-
static get object() { return "object"; }
47-
static get text() { return "text"; }
48-
static get title() { return "title"; }
49-
}
50-
5150
const _removeChildren = (element) => {
5251
while (element && element.lastChild) element.removeChild(element.lastChild);
5352
};
@@ -65,13 +64,9 @@ const _displayItem = (item, searchTerms, highlightTerms) => {
6564
const showSearchSummary = DOCUMENTATION_OPTIONS.SHOW_SEARCH_SUMMARY;
6665
const contentRoot = document.documentElement.dataset.content_root;
6766

68-
const [docName, title, anchor, descr, score, _filename, kind] = item;
67+
const [docName, title, anchor, descr, score, _filename] = item;
6968

7069
let listItem = document.createElement("li");
71-
// Add a class representing the item's type:
72-
// can be used by a theme's CSS selector for styling
73-
// See SearchResultKind for the class names.
74-
listItem.classList.add(`kind-${kind}`);
7570
let requestUrl;
7671
let linkUrl;
7772
if (docBuilder === "dirhtml") {
@@ -120,10 +115,8 @@ const _finishSearch = (resultCount) => {
120115
"Your search did not match any documents. Please make sure that all words are spelled correctly and that you've selected enough categories."
121116
);
122117
else
123-
Search.status.innerText = Documentation.ngettext(
124-
"Search finished, found one page matching the search query.",
125-
"Search finished, found ${resultCount} pages matching the search query.",
126-
resultCount,
118+
Search.status.innerText = _(
119+
"Search finished, found ${resultCount} page(s) matching the search query."
127120
).replace('${resultCount}', resultCount);
128121
};
129122
const _displayNextItem = (
@@ -145,7 +138,7 @@ const _displayNextItem = (
145138
else _finishSearch(resultCount);
146139
};
147140
// Helper function used by query() to order search results.
148-
// Each input is an array of [docname, title, anchor, descr, score, filename, kind].
141+
// Each input is an array of [docname, title, anchor, descr, score, filename].
149142
// Order the results by score (in opposite order of appearance, since the
150143
// `_displayNextItem` function uses pop() to retrieve items) and then alphabetically.
151144
const _orderResultsByScoreThenName = (a, b) => {
@@ -255,7 +248,6 @@ const Search = {
255248
searchSummary.classList.add("search-summary");
256249
searchSummary.innerText = "";
257250
const searchList = document.createElement("ul");
258-
searchList.setAttribute("role", "list");
259251
searchList.classList.add("search");
260252

261253
const out = document.getElementById("search-results");
@@ -326,7 +318,7 @@ const Search = {
326318
const indexEntries = Search._index.indexentries;
327319

328320
// Collect multiple result groups to be sorted separately and then ordered.
329-
// Each is an array of [docname, title, anchor, descr, score, filename, kind].
321+
// Each is an array of [docname, title, anchor, descr, score, filename].
330322
const normalResults = [];
331323
const nonMainIndexResults = [];
332324

@@ -345,7 +337,6 @@ const Search = {
345337
null,
346338
score + boost,
347339
filenames[file],
348-
SearchResultKind.title,
349340
]);
350341
}
351342
}
@@ -363,7 +354,6 @@ const Search = {
363354
null,
364355
score,
365356
filenames[file],
366-
SearchResultKind.index,
367357
];
368358
if (isMain) {
369359
normalResults.push(result);
@@ -485,7 +475,6 @@ const Search = {
485475
descr,
486476
score,
487477
filenames[match[0]],
488-
SearchResultKind.object,
489478
]);
490479
};
491480
Object.keys(objects).forEach((prefix) =>
@@ -513,11 +502,9 @@ const Search = {
513502
// perform the search on the required terms
514503
searchTerms.forEach((word) => {
515504
const files = [];
516-
// find documents, if any, containing the query word in their text/title term indices
517-
// use Object.hasOwnProperty to avoid mismatching against prototype properties
518505
const arr = [
519-
{ files: terms.hasOwnProperty(word) ? terms[word] : undefined, score: Scorer.term },
520-
{ files: titleTerms.hasOwnProperty(word) ? titleTerms[word] : undefined, score: Scorer.title },
506+
{ files: terms[word], score: Scorer.term },
507+
{ files: titleTerms[word], score: Scorer.title },
521508
];
522509
// add support for partial matches
523510
if (word.length > 2) {
@@ -549,9 +536,8 @@ const Search = {
549536

550537
// set score for the word in each file
551538
recordFiles.forEach((file) => {
552-
if (!scoreMap.has(file)) scoreMap.set(file, new Map());
553-
const fileScores = scoreMap.get(file);
554-
fileScores.set(word, record.score);
539+
if (!scoreMap.has(file)) scoreMap.set(file, {});
540+
scoreMap.get(file)[word] = record.score;
555541
});
556542
});
557543

@@ -590,7 +576,7 @@ const Search = {
590576
break;
591577

592578
// select one (max) score for the file.
593-
const score = Math.max(...wordList.map((w) => scoreMap.get(file).get(w)));
579+
const score = Math.max(...wordList.map((w) => scoreMap.get(file)[w]));
594580
// add result to the result list
595581
results.push([
596582
docNames[file],
@@ -599,7 +585,6 @@ const Search = {
599585
null,
600586
score,
601587
filenames[file],
602-
SearchResultKind.text,
603588
]);
604589
}
605590
return results;

apps/_documentation/static/en/chapter-01.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
77

88
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
9-
<title>What is py4web? &mdash; py4web 20250511 documentation</title>
9+
<title>What is py4web? &mdash; py4web 20250518 documentation</title>
1010
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=b86133f3" />
1111
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=e59714d7" />
1212
<link rel="stylesheet" type="text/css" href="_static/css/toggle.css?v=029c1802" />
@@ -15,8 +15,8 @@
1515
<link rel="shortcut icon" href="_static/logo-32x32.ico"/>
1616
<script src="_static/jquery.js?v=5d32c60e"></script>
1717
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
18-
<script src="_static/documentation_options.js?v=5dd671af"></script>
19-
<script src="_static/doctools.js?v=9bcbadda"></script>
18+
<script src="_static/documentation_options.js?v=da3dc6b9"></script>
19+
<script src="_static/doctools.js?v=9a2dae69"></script>
2020
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
2121
<script src="_static/js/toggle.js?v=e1b5a5a1"></script>
2222
<script src="_static/js/theme.js"></script>
@@ -253,7 +253,7 @@ <h2>Acknowledgments<a class="headerlink" href="#acknowledgments" title="Link to
253253
<label for="switch"></label>
254254
</span>
255255

256-
v: 20250511
256+
v: 20250518
257257
<span class="fa fa-caret-down"></span>
258258
</span>
259259
<div class="rst-other-versions">

apps/_documentation/static/en/chapter-02.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
77

88
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
9-
<title>Help, resources and hints &mdash; py4web 20250511 documentation</title>
9+
<title>Help, resources and hints &mdash; py4web 20250518 documentation</title>
1010
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=b86133f3" />
1111
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=e59714d7" />
1212
<link rel="stylesheet" type="text/css" href="_static/css/toggle.css?v=029c1802" />
@@ -15,8 +15,8 @@
1515
<link rel="shortcut icon" href="_static/logo-32x32.ico"/>
1616
<script src="_static/jquery.js?v=5d32c60e"></script>
1717
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
18-
<script src="_static/documentation_options.js?v=5dd671af"></script>
19-
<script src="_static/doctools.js?v=9bcbadda"></script>
18+
<script src="_static/documentation_options.js?v=da3dc6b9"></script>
19+
<script src="_static/doctools.js?v=9a2dae69"></script>
2020
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
2121
<script src="_static/js/toggle.js?v=e1b5a5a1"></script>
2222
<script src="_static/js/theme.js"></script>
@@ -260,7 +260,7 @@ <h2>How to contribute<a class="headerlink" href="#how-to-contribute" title="Link
260260
<label for="switch"></label>
261261
</span>
262262

263-
v: 20250511
263+
v: 20250518
264264
<span class="fa fa-caret-down"></span>
265265
</span>
266266
<div class="rst-other-versions">

apps/_documentation/static/en/chapter-03.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
77

88
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
9-
<title>Installation and Startup &mdash; py4web 20250511 documentation</title>
9+
<title>Installation and Startup &mdash; py4web 20250518 documentation</title>
1010
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=b86133f3" />
1111
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=e59714d7" />
1212
<link rel="stylesheet" type="text/css" href="_static/tabs.css?v=a5c4661c" />
@@ -16,8 +16,8 @@
1616
<link rel="shortcut icon" href="_static/logo-32x32.ico"/>
1717
<script src="_static/jquery.js?v=5d32c60e"></script>
1818
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
19-
<script src="_static/documentation_options.js?v=5dd671af"></script>
20-
<script src="_static/doctools.js?v=9bcbadda"></script>
19+
<script src="_static/documentation_options.js?v=da3dc6b9"></script>
20+
<script src="_static/doctools.js?v=9a2dae69"></script>
2121
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
2222
<script src="_static/tabs.js?v=3030b3cb"></script>
2323
<script src="_static/js/toggle.js?v=e1b5a5a1"></script>
@@ -358,7 +358,7 @@ <h2>First run<a class="headerlink" href="#first-run" title="Link to this heading
358358
http://localhost:8000/{yourappname}/index
359359
</pre></div>
360360
</div>
361-
<p>In order to stop py4web, you need to hit <kbd class="kbd docutils literal notranslate">Control</kbd>-<kbd class="kbd docutils literal notranslate">C</kbd> on the window where you run it.</p>
361+
<p>In order to stop py4web, you need to hit <kbd class="kbd compound docutils literal notranslate"><kbd class="kbd docutils literal notranslate">Control</kbd>-<kbd class="kbd docutils literal notranslate">C</kbd></kbd> on the window where you run it.</p>
362362
<div class="admonition note">
363363
<p class="admonition-title">Note</p>
364364
<p>ONLY the <strong>Default</strong> app is special because if does not require the “{appname}/” prefix in the path, like all the other apps do.
@@ -740,7 +740,7 @@ <h3>Deployment on Ubuntu<a class="headerlink" href="#deployment-on-ubuntu" title
740740
<label for="switch"></label>
741741
</span>
742742

743-
v: 20250511
743+
v: 20250518
744744
<span class="fa fa-caret-down"></span>
745745
</span>
746746
<div class="rst-other-versions">

apps/_documentation/static/en/chapter-04.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
77

88
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
9-
<title>The Dashboard &mdash; py4web 20250511 documentation</title>
9+
<title>The Dashboard &mdash; py4web 20250518 documentation</title>
1010
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=b86133f3" />
1111
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=e59714d7" />
1212
<link rel="stylesheet" type="text/css" href="_static/css/toggle.css?v=029c1802" />
@@ -15,8 +15,8 @@
1515
<link rel="shortcut icon" href="_static/logo-32x32.ico"/>
1616
<script src="_static/jquery.js?v=5d32c60e"></script>
1717
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
18-
<script src="_static/documentation_options.js?v=5dd671af"></script>
19-
<script src="_static/doctools.js?v=9bcbadda"></script>
18+
<script src="_static/documentation_options.js?v=da3dc6b9"></script>
19+
<script src="_static/doctools.js?v=9a2dae69"></script>
2020
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
2121
<script src="_static/js/toggle.js?v=e1b5a5a1"></script>
2222
<script src="_static/js/theme.js"></script>
@@ -194,7 +194,7 @@ <h2>Login into the Dashboard<a class="headerlink" href="#login-into-the-dashboar
194194
<label for="switch"></label>
195195
</span>
196196

197-
v: 20250511
197+
v: 20250518
198198
<span class="fa fa-caret-down"></span>
199199
</span>
200200
<div class="rst-other-versions">

0 commit comments

Comments
 (0)