Skip to content

Commit

Permalink
deploy: 2df3fa2
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaberetta committed Jan 31, 2024
1 parent 11c7c69 commit 8445b1c
Show file tree
Hide file tree
Showing 130 changed files with 2,052 additions and 1,840 deletions.
8 changes: 5 additions & 3 deletions 404.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

<!DOCTYPE html>

<html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
Expand All @@ -14,6 +14,7 @@
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
<script src="_static/jquery.js"></script>
<script src="_static/underscore.js"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js"></script>
<script src="_static/doctools.js"></script>
<script src="_static/js/breadcrumbs.js"></script>
<script src="_static/js/common.js"></script>
Expand All @@ -29,8 +30,9 @@

<link rel="stylesheet" href="_static/custom.css" type="text/css" />




<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />

</head><body>
<header role="banner" class="main-header" id="main-header">
Expand Down Expand Up @@ -101,7 +103,7 @@ <h1 class="main-search__header">What do you need help with?</h1>
<section class="page__body" role="main">

<section id="sorry">
<h1>Sorry<a class="headerlink" href="#sorry" title="Permalink to this headline"></a></h1>
<h1>Sorry<a class="headerlink" href="#sorry" title="Permalink to this heading"></a></h1>
<p>We couldn’t find this page. Why not try searching for an answer above?</p>
<div class="line-block">
<div class="line">If something about this site is broken, please report it to us:</div>
Expand Down
2 changes: 1 addition & 1 deletion _sources/question_library.md.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Using the Question Library
**Last updated:** <a href="https://github.com/kobotoolbox/docs/blob/d5cdd698b4a91c3c45216f5a0f91ff7f0704a495/source/question_library.md" class="reference">19 Jun 2020</a>
**Last updated:** <a href="https://github.com/kobotoolbox/docs/blob/c2d5a91fe52a459c8c21cd0dea32515940920820/source/question_library.md" class="reference">5 Jan 2024</a>

## Adding Questions to your Library

Expand Down
2 changes: 1 addition & 1 deletion _sources/recently_updated.md.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Recently updated Support Articles

<!--This page is auto generated using the `scripts/last-updated.py` script, do not update manually-->
1. [Using the Question Library](question_library.md) (5 Jan 2024)
1. [KoboToolbox Integration on monday.com](kobotoolbox_monday_integration.md) (10 Oct 2023)
1. [Resetting Passwords](reset_password.md) (22 Sep 2023)
1. [Using the API](api.md) (21 Sep 2023)
Expand All @@ -10,4 +11,3 @@
1. [HIPAA Compliance](hipaa_compliance.md) (11 Sep 2023)
1. [Connecting to your data using synchronous exports](synchronous_exports.md) (11 Sep 2023)
1. [Data Storage](data_storage.md) (11 Sep 2023)
1. ["Photo", "Audio", "Video" and "File" question types](photo_audio_video_file.md) (11 Sep 2023)
5 changes: 2 additions & 3 deletions _sources/restrict_responses.md.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Restricting Text Responses With Regular Expressions
**Last updated:** <a href="https://github.com/kobotoolbox/docs/blob/8e3556237cfd8cd779e6155c21d74c0db88a9c01/source/restrict_responses.md" class="reference">9 Mar 2023</a>
**Last updated:** <a href="https://github.com/kobotoolbox/docs/blob/277e107501fe66e6c20530c8d8925541e918a89c/source/restrict_responses.md" class="reference">20 Apr 2023</a>

A regular expression, or regex, is a search pattern used for matching specific
characters and ranges of characters within a string. It is widely used to
Expand Down Expand Up @@ -148,8 +148,7 @@ guarantee that they are valid, only that they follow an expected pattern.</p>

| **Regex** | **Description** |
| :----------------------------------------------------------------------------------------------------------------- | :----------------------------------------------------------------------- |
| `regex(., '^[A-Za-z0-9._%+-]+@[A-Za-z0-9-]+[.][A-Za-z]{2,}$')` | Restrict an input with a valid email address e.g. `example.domin.com` |
| `regex(., '^[A-Za-z0-9._%+-]+@[A-Za-z0-9-]+[.][A-Za-z.]{2,}$')` or `regex(., '^([\W\d\D]+[@][\D]+[.][\D]{2,})+$')` | Restrict an input with a valid email address e.g. `example.domin.com.np` |
| `regex(., '^[A-Za-z0-9._%+-]+@[A-Za-z0-9-]+[.][A-Za-z.]{2,}$')` or `regex(., '^([\W\d\D]+[@][\D]+[.][\D]{2,})+$')` | Restrict an input with a valid email address e.g. `example.domain.com` or `example.domain.com.np` |

## Examples related to use of time inputs

Expand Down
134 changes: 134 additions & 0 deletions _static/_sphinx_javascript_frameworks_compat.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
/*
* _sphinx_javascript_frameworks_compat.js
* ~~~~~~~~~~
*
* Compatability shim for jQuery and underscores.js.
*
* WILL BE REMOVED IN Sphinx 6.0
* xref RemovedInSphinx60Warning
*
*/

/**
* select a different prefix for underscore
*/
$u = _.noConflict();


/**
* small helper function to urldecode strings
*
* See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/decodeURIComponent#Decoding_query_parameters_from_a_URL
*/
jQuery.urldecode = function(x) {
if (!x) {
return x
}
return decodeURIComponent(x.replace(/\+/g, ' '));
};

/**
* small helper function to urlencode strings
*/
jQuery.urlencode = encodeURIComponent;

/**
* This function returns the parsed url parameters of the
* current request. Multiple values per key are supported,
* it will always return arrays of strings for the value parts.
*/
jQuery.getQueryParameters = function(s) {
if (typeof s === 'undefined')
s = document.location.search;
var parts = s.substr(s.indexOf('?') + 1).split('&');
var result = {};
for (var i = 0; i < parts.length; i++) {
var tmp = parts[i].split('=', 2);
var key = jQuery.urldecode(tmp[0]);
var value = jQuery.urldecode(tmp[1]);
if (key in result)
result[key].push(value);
else
result[key] = [value];
}
return result;
};

/**
* highlight a given string on a jquery object by wrapping it in
* span elements with the given class name.
*/
jQuery.fn.highlightText = function(text, className) {
function highlight(node, addItems) {
if (node.nodeType === 3) {
var val = node.nodeValue;
var pos = val.toLowerCase().indexOf(text);
if (pos >= 0 &&
!jQuery(node.parentNode).hasClass(className) &&
!jQuery(node.parentNode).hasClass("nohighlight")) {
var span;
var isInSVG = jQuery(node).closest("body, svg, foreignObject").is("svg");
if (isInSVG) {
span = document.createElementNS("http://www.w3.org/2000/svg", "tspan");
} else {
span = document.createElement("span");
span.className = className;
}
span.appendChild(document.createTextNode(val.substr(pos, text.length)));
node.parentNode.insertBefore(span, node.parentNode.insertBefore(
document.createTextNode(val.substr(pos + text.length)),
node.nextSibling));
node.nodeValue = val.substr(0, pos);
if (isInSVG) {
var rect = document.createElementNS("http://www.w3.org/2000/svg", "rect");
var bbox = node.parentElement.getBBox();
rect.x.baseVal.value = bbox.x;
rect.y.baseVal.value = bbox.y;
rect.width.baseVal.value = bbox.width;
rect.height.baseVal.value = bbox.height;
rect.setAttribute('class', className);
addItems.push({
"parent": node.parentNode,
"target": rect});
}
}
}
else if (!jQuery(node).is("button, select, textarea")) {
jQuery.each(node.childNodes, function() {
highlight(this, addItems);
});
}
}
var addItems = [];
var result = this.each(function() {
highlight(this, addItems);
});
for (var i = 0; i < addItems.length; ++i) {
jQuery(addItems[i].parent).before(addItems[i].target);
}
return result;
};

/*
* backward compatibility for jQuery.browser
* This will be supported until firefox bug is fixed.
*/
if (!jQuery.browser) {
jQuery.uaMatch = function(ua) {
ua = ua.toLowerCase();

var match = /(chrome)[ \/]([\w.]+)/.exec(ua) ||
/(webkit)[ \/]([\w.]+)/.exec(ua) ||
/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) ||
/(msie) ([\w.]+)/.exec(ua) ||
ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) ||
[];

return {
browser: match[ 1 ] || "",
version: match[ 2 ] || "0"
};
};
jQuery.browser = {};
jQuery.browser[jQuery.uaMatch(navigator.userAgent).browser] = true;
}
23 changes: 14 additions & 9 deletions _static/alabaster.css
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ div.relations {
}


div.sphinxsidebar {
max-height: 100%;
overflow-y: auto;
}

div.sphinxsidebar a {
color: #444;
text-decoration: none;
Expand Down Expand Up @@ -155,6 +160,14 @@ div.sphinxsidebar input {
font-size: 1em;
}

div.sphinxsidebar #searchbox input[type="text"] {
width: 160px;
}

div.sphinxsidebar .search > div {
display: table-cell;
}

div.sphinxsidebar hr {
border: none;
height: 1px;
Expand Down Expand Up @@ -638,15 +651,7 @@ a:hover tt, a:hover code {
display: none!important;
}

/* Make nested-list/multi-paragraph items look better in Releases changelog
* pages. Without this, docutils' magical list fuckery causes inconsistent
* formatting between different release sub-lists.
*/
div#changelog > div.section > ul > li > p:only-child {
margin-bottom: 0;
}

/* Hide fugly table cell borders in ..bibliography:: directive output */
/* Hide ugly table cell borders in ..bibliography:: directive output */
table.docutils.citation, table.docutils.citation td, table.docutils.citation th {
border: none;
/* Below needed in some edge cases; if not applied, bottom shadows appear */
Expand Down
34 changes: 29 additions & 5 deletions _static/basic.css
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ table.modindextable td {
/* -- general body styles --------------------------------------------------- */

div.body {
min-width: 450px;
min-width: inherit;
max-width: 800px;
}

Expand Down Expand Up @@ -428,10 +428,6 @@ table.docutils td, table.docutils th {
border-bottom: 1px solid #aaa;
}

table.footnote td, table.footnote th {
border: 0 !important;
}

th {
text-align: left;
padding-right: 5px;
Expand Down Expand Up @@ -615,6 +611,7 @@ ul.simple p {
margin-bottom: 0;
}

/* Docutils 0.17 and older (footnotes & citations) */
dl.footnote > dt,
dl.citation > dt {
float: left;
Expand All @@ -632,6 +629,33 @@ dl.citation > dd:after {
clear: both;
}

/* Docutils 0.18+ (footnotes & citations) */
aside.footnote > span,
div.citation > span {
float: left;
}
aside.footnote > span:last-of-type,
div.citation > span:last-of-type {
padding-right: 0.5em;
}
aside.footnote > p {
margin-left: 2em;
}
div.citation > p {
margin-left: 4em;
}
aside.footnote > p:last-of-type,
div.citation > p:last-of-type {
margin-bottom: 0em;
}
aside.footnote > p:last-of-type:after,
div.citation > p:last-of-type:after {
content: "";
clear: both;
}

/* Footnotes & citations ends */

dl.field-list {
display: grid;
grid-template-columns: fit-content(30%) auto;
Expand Down
Loading

0 comments on commit 8445b1c

Please sign in to comment.