Skip to content

Commit d53c61d

Browse files
committed
Deployed ae6faea to dev with MkDocs 1.5.3 and mike 2.0.0
1 parent c59aae5 commit d53c61d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+1999
-40
lines changed

dev/404.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,27 @@
408408

409409

410410

411+
<li class="md-nav__item">
412+
<a href="/pyvalidators/dev/api/cron/" class="md-nav__link">
413+
414+
415+
<span class="md-ellipsis">
416+
cron
417+
</span>
418+
419+
420+
</a>
421+
</li>
422+
423+
424+
425+
426+
427+
428+
429+
430+
431+
411432
<li class="md-nav__item">
412433
<a href="/pyvalidators/dev/api/domain/" class="md-nav__link">
413434

dev/_build/man/validators.1

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
2727
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
2828
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
2929
..
30-
.TH "VALIDATORS" "1" "Mar 26, 2024" "0.24.0" "validators"
30+
.TH "VALIDATORS" "1" "Apr 02, 2024" "0.25.0" "validators"
3131
.SH NAME
3232
validators \- Python Data Validation for Humans™
3333
.sp
@@ -509,6 +509,35 @@ If \fIvalue\fP is a valid country code.
509509
(Literal[True])
510510
.UNINDENT
511511
.UNINDENT
512+
.SS cron
513+
.INDENT 0.0
514+
.TP
515+
.B validators.cron.cron(value: str, /)
516+
Return whether or not given value is a valid cron string.
517+
.sp
518+
Examples
519+
.sp
520+
.nf
521+
.ft C
522+
>>> cron(\(aq*/5 * * * *\(aq)
523+
# Output: True
524+
>>> cron(\(aq30\-20 * * * *\(aq)
525+
# Output: ValidationError(func=cron, ...)
526+
.ft P
527+
.fi
528+
.INDENT 7.0
529+
.TP
530+
.B Parameters
531+
\fBvalue\fP \-\- Cron string to validate.
532+
.TP
533+
.B Returns
534+
If \fIvalue\fP is a valid cron string.
535+
(ValidationError): If \fIvalue\fP is an invalid cron string.
536+
.TP
537+
.B Return type
538+
(Literal[True])
539+
.UNINDENT
540+
.UNINDENT
512541
.SS domain
513542
.INDENT 0.0
514543
.TP
@@ -535,10 +564,11 @@ Examples
535564
.IP \(bu 2
536565
\fBvalue\fP \-\- Domain string to validate.
537566
.IP \(bu 2
538-
\fBrfc_1034\fP \-\- Allow trailing dot in domain name.
567+
\fBrfc_1034\fP \-\- Allows optional trailing dot in the domain name.
539568
Ref: [RFC 1034](\fI\%https://www.rfc\-editor.org/rfc/rfc1034\fP).
540569
.IP \(bu 2
541570
\fBrfc_2782\fP \-\- Domain name is of type service record.
571+
Allows optional underscores in the domain name.
542572
Ref: [RFC 2782](\fI\%https://www.rfc\-editor.org/rfc/rfc2782\fP).
543573
.UNINDENT
544574
.TP
@@ -548,6 +578,9 @@ If \fIvalue\fP is a valid domain name.
548578
.TP
549579
.B Return type
550580
(Literal[True])
581+
.TP
582+
.B Raises
583+
\fB(\fP\fBUnicodeError\fP\fB)\fP \-\- If \fIvalue\fP cannot be encoded into \fIidna\fP or decoded into \fIutf\-8\fP\&.
551584
.UNINDENT
552585
.UNINDENT
553586
.SS email
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
cron
2+
----
3+
4+
.. module:: validators.cron
5+
.. autofunction:: cron

dev/_build/web/api/between.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@
164164
<li class="toctree-l1"><a class="reference internal" href="btc_address.html">btc_address</a></li>
165165
<li class="toctree-l1"><a class="reference internal" href="card.html">card</a></li>
166166
<li class="toctree-l1"><a class="reference internal" href="country_code.html">country_code</a></li>
167+
<li class="toctree-l1"><a class="reference internal" href="cron.html">cron</a></li>
167168
<li class="toctree-l1"><a class="reference internal" href="domain.html">domain</a></li>
168169
<li class="toctree-l1"><a class="reference internal" href="email.html">email</a></li>
169170
<li class="toctree-l1"><a class="reference internal" href="hashes.html">hashes</a></li>

dev/_build/web/api/btc_address.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@
164164
<li class="toctree-l1 current current-page"><a class="current reference internal" href="#">btc_address</a></li>
165165
<li class="toctree-l1"><a class="reference internal" href="card.html">card</a></li>
166166
<li class="toctree-l1"><a class="reference internal" href="country_code.html">country_code</a></li>
167+
<li class="toctree-l1"><a class="reference internal" href="cron.html">cron</a></li>
167168
<li class="toctree-l1"><a class="reference internal" href="domain.html">domain</a></li>
168169
<li class="toctree-l1"><a class="reference internal" href="email.html">email</a></li>
169170
<li class="toctree-l1"><a class="reference internal" href="hashes.html">hashes</a></li>

dev/_build/web/api/card.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@
164164
<li class="toctree-l1"><a class="reference internal" href="btc_address.html">btc_address</a></li>
165165
<li class="toctree-l1 current current-page"><a class="current reference internal" href="#">card</a></li>
166166
<li class="toctree-l1"><a class="reference internal" href="country_code.html">country_code</a></li>
167+
<li class="toctree-l1"><a class="reference internal" href="cron.html">cron</a></li>
167168
<li class="toctree-l1"><a class="reference internal" href="domain.html">domain</a></li>
168169
<li class="toctree-l1"><a class="reference internal" href="email.html">email</a></li>
169170
<li class="toctree-l1"><a class="reference internal" href="hashes.html">hashes</a></li>

dev/_build/web/api/country_code.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head><meta charset="utf-8"/>
44
<meta name="viewport" content="width=device-width,initial-scale=1"/>
55
<meta name="color-scheme" content="light dark"><meta name="viewport" content="width=device-width, initial-scale=1" />
6-
<link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="domain" href="domain.html" /><link rel="prev" title="card" href="card.html" />
6+
<link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="cron" href="cron.html" /><link rel="prev" title="card" href="card.html" />
77

88
<link rel="shortcut icon" href="../_static/favicon.svg"/><!-- Generated with Sphinx 7.1.2 and Furo 2024.01.29 -->
99
<title>country_code - validators 0.23.2 documentation</title>
@@ -164,6 +164,7 @@
164164
<li class="toctree-l1"><a class="reference internal" href="btc_address.html">btc_address</a></li>
165165
<li class="toctree-l1"><a class="reference internal" href="card.html">card</a></li>
166166
<li class="toctree-l1 current current-page"><a class="current reference internal" href="#">country_code</a></li>
167+
<li class="toctree-l1"><a class="reference internal" href="cron.html">cron</a></li>
167168
<li class="toctree-l1"><a class="reference internal" href="domain.html">domain</a></li>
168169
<li class="toctree-l1"><a class="reference internal" href="email.html">email</a></li>
169170
<li class="toctree-l1"><a class="reference internal" href="hashes.html">hashes</a></li>
@@ -257,12 +258,12 @@
257258
<footer>
258259

259260
<div class="related-pages">
260-
<a class="next-page" href="domain.html">
261+
<a class="next-page" href="cron.html">
261262
<div class="page-info">
262263
<div class="context">
263264
<span>Next</span>
264265
</div>
265-
<div class="title">domain</div>
266+
<div class="title">cron</div>
266267
</div>
267268
<svg class="furo-related-icon"><use href="#svg-arrow-right"></use></svg>
268269
</a>

0 commit comments

Comments
 (0)