Skip to content

Commit

Permalink
V1.0.8.3 (#58)
Browse files Browse the repository at this point in the history
* fix date for year 2062

* prepare for 1.0.8.3 release

* minor fix
  • Loading branch information
amitgaru2 authored Sep 28, 2024
1 parent 7b11481 commit 1c62821
Show file tree
Hide file tree
Showing 22 changed files with 389 additions and 174 deletions.
6 changes: 6 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,10 @@
you're comfortable with.**


## Preparing a new release
- Checkout out from the `master` branch with the name of branch of the version like `v1.0.8.3`.
- Update the release version in the `nepali_datetime/__init__.py` file name by updating the variable `__version__`.
- Update the documentation to reflect the release version by rebuilding the documentation inside `docs/` using the command `make html`. Make sure you install all the documentation dependecies before rebuilding it, which is in `docs/requirements.txt`.


#### *** HAPPY CONTRIBUTING ! ***
Binary file modified docs/doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/doctrees/index.doctree
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/html/.buildinfo
Original file line number Diff line number Diff line change
@@ -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: 57f6f394c0439f35cb638ed498425ae7
config: 97be61a33cdf8a356b9ae95aab6cca23
tags: 645f666f9bcd5a90fca523b33c5a78b7
2 changes: 1 addition & 1 deletion docs/html/_static/basic.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* Sphinx stylesheet -- basic theme.
*
* :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS.
* :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
Expand Down
12 changes: 6 additions & 6 deletions docs/html/_static/classic.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* Sphinx stylesheet -- classic theme.
*
* :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS.
* :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
Expand All @@ -19,7 +19,7 @@ html {
}

body {
font-family: 'Lucida Grande', Arial, sans-serif;
font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
font-size: 100%;
background-color: white;
color: #000;
Expand Down Expand Up @@ -74,7 +74,7 @@ div.sphinxsidebar {
}

div.sphinxsidebar h3 {
font-family: 'Lucida Grande', Arial, sans-serif;
font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
color: #444444;
font-size: 1.4em;
font-weight: normal;
Expand All @@ -87,7 +87,7 @@ div.sphinxsidebar h3 a {
}

div.sphinxsidebar h4 {
font-family: 'Lucida Grande', Arial, sans-serif;
font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
color: #444444;
font-size: 1.3em;
font-weight: normal;
Expand Down Expand Up @@ -147,7 +147,7 @@ div.body h3,
div.body h4,
div.body h5,
div.body h6 {
font-family: 'Lucida Grande', Arial, sans-serif;
font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
background-color: white;
font-weight: normal;
color: #1a1a1a;
Expand Down Expand Up @@ -254,7 +254,7 @@ th, dl.field-list > dt {
}

.viewcode-back {
font-family: 'Lucida Grande', Arial, sans-serif;
font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
}

div.viewcode-block:target {
Expand Down
2 changes: 1 addition & 1 deletion docs/html/_static/doctools.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* Base JavaScript utilities for all Sphinx HTML documentation.
*
* :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS.
* :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
Expand Down
2 changes: 1 addition & 1 deletion docs/html/_static/documentation_options.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const DOCUMENTATION_OPTIONS = {
VERSION: '1.0.8.2',
VERSION: '1.0.8.3',
LANGUAGE: 'en',
COLLAPSE_INDEX: false,
BUILDER: 'html',
Expand Down
4 changes: 2 additions & 2 deletions docs/html/_static/language_data.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
* This script contains the language-specific data used by searchtools.js,
* namely the list of stopwords, stemmer, scorer and splitter.
*
* :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS.
* :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/

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"];


/* Non-minified version is copied as a separate JS file, is available */
/* Non-minified version is copied as a separate JS file, if available */

/**
* Porter Stemmer
Expand Down
153 changes: 142 additions & 11 deletions docs/html/_static/pydoctheme.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
@import url('classic.css');

/* Common colours */
:root {
--good-color: rgb(41 100 51);
--good-border: rgb(79 196 100);
--middle-color: rgb(133 72 38);
--middle-border: rgb(244, 227, 76);
--bad-color: rgb(159 49 51);
--bad-border: rgb(244, 76, 78);
}

/* unset some styles from the classic stylesheet */
div.document,
div.body,
Expand Down Expand Up @@ -170,7 +180,7 @@ div.sphinxsidebar a:hover {
form.inline-search input,
div.sphinxsidebar input,
div.related input {
font-family: 'Lucida Grande', Arial, sans-serif;
font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
border: 1px solid #999999;
font-size: smaller;
border-radius: 3px;
Expand Down Expand Up @@ -232,7 +242,76 @@ div.body pre {
border: 1px solid #ac9;
}

div.body div.admonition,
/* Admonitions */
:root {
--admonition-background: #eee;
--admonition-border: #ccc;
--admonition-color: black;
--attention-background: #bbddff5c;
--attention-border: #0000ff36;
--caution-background: #ffc;
--caution-border: #dd6;
--danger-background: #ffe4e4;
--danger-border: red;
--error-background: #ffe4e4;
--error-border: red;
--hint-background: #dfd;
--hint-border: green;
--seealso-background: #ffc;
--seealso-border: #dd6;
--tip-background: #dfd;
--tip-border: green;
--warning-background: #ffe4e4;
--warning-border: red;
}

div.body div.admonition {
background-color: var(--admonition-background);
border: 1px solid var(--admonition-border);
border-radius: 3px;
color: var(--admonition-color);
}

div.body div.admonition.attention {
background-color: var(--attention-background);
border-color: var(--attention-border);
}

div.body div.admonition.caution {
background-color: var(--caution-background);
border-color: var(--caution-border);
}

div.body div.admonition.danger {
background-color: var(--danger-background);
border-color: var(--danger-border);
}

div.body div.admonition.error {
background-color: var(--error-background);
border-color: var(--error-border);
}

div.body div.admonition.hint {
background-color: var(--hint-background);
border-color: var(--hint-border);
}

div.body div.admonition.seealso {
background-color: var(--seealso-background);
border-color: var(--seealso-border);
}

div.body div.admonition.tip {
background-color: var(--tip-background);
border-color: var(--tip-border);
}

div.body div.admonition.warning {
background-color: var(--warning-background);
border-color: var(--warning-border);
}

div.body div.impl-detail {
border-radius: 3px;
}
Expand All @@ -241,10 +320,6 @@ div.body div.impl-detail > p {
margin: 0;
}

div.body div.seealso {
border: 1px solid #dddd66;
}

div.body a {
color: #0072aa;
}
Expand All @@ -258,7 +333,7 @@ div.body a:hover {
}

tt, code, pre {
font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", "Liberation Mono", Menlo, Monaco, Consolas, monospace;
font-family: Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
font-size: 96.5%;
}

Expand Down Expand Up @@ -323,8 +398,18 @@ div.footer a:hover {
color: #0095c4;
}

/* C API return value annotations */
:root {
--refcount: var(--good-color);
--refcount-return-borrowed-ref: var(--middle-color);
}

.refcount {
color: #060;
color: var(--refcount);
}

.refcount.return_borrowed_ref {
color: var(--refcount-return-borrowed-ref)
}

.stableabi {
Expand All @@ -333,7 +418,7 @@ div.footer a:hover {

dl > dt span ~ em,
.sig {
font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", "Liberation Mono", Menlo, Monaco, Consolas, monospace;
font-family: Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
}

.toctree-wrapper ul {
Expand Down Expand Up @@ -361,8 +446,7 @@ div.genindex-jumpbox a {
position: absolute;
top: 0;
right: 0;
text-size: 75%;
font-family: monospace;
font-family: Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
padding-left: 0.2em;
padding-right: 0.2em;
border-radius: 0 3px 0 0;
Expand Down Expand Up @@ -623,3 +707,50 @@ div.genindex-jumpbox a {
margin-top: -2em;
}
}

/* Version change directives */
:root {
--versionadded: var(--good-color);
--versionchanged: var(--middle-color);
--deprecated: var(--bad-color);

--versionadded-border: var(--good-border);
--versionchanged-border: var(--middle-border);
--deprecated-border: var(--bad-border);
}

div.versionadded,
div.versionchanged,
div.deprecated,
div.deprecated-removed {
border-left: 3px solid;
padding: 0 1rem;
}

div.versionadded {
border-left-color: var(--versionadded-border);
}

div.versionchanged {
border-left-color: var(--versionchanged-border);
}

div.deprecated,
div.deprecated-removed,
div.versionremoved {
border-left-color: var(--deprecated-border);
}

div.versionadded .versionmodified {
color: var(--versionadded);
}

div.versionchanged .versionmodified {
color: var(--versionchanged);
}

div.deprecated .versionmodified,
div.deprecated-removed .versionmodified,
div.versionremoved .versionmodified {
color: var(--deprecated);
}
44 changes: 40 additions & 4 deletions docs/html/_static/pydoctheme_dark.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/* Common colours */
:root {
--good-color: rgb(79 196 100);
--good-border: var(--good-color);
--middle-color: rgb(244, 227, 76);
--middle-border: var(--middle-color);
--bad-color: rgb(244, 76, 78);
--bad-border: var(--bad-color);
}


/* Browser elements */
:root {
Expand Down Expand Up @@ -79,10 +89,6 @@ table.docutils th {
background-color: #424242;
}

.refcount {
color: #afa;
}

.stableabi {
color: #bbf;
}
Expand All @@ -107,6 +113,29 @@ div.warning {
background-color: rgba(255, 0, 0, 0.5);
}

/* Admonitions */
:root {
--admonition-background: #ffffff1a;
--admonition-border: currentColor;
--admonition-color: #ffffffde;
--attention-background: #ffffff1a;
--attention-border: currentColor;
--caution-background: #ffff001a;
--caution-border: #dd6;
--danger-background: #f003;
--danger-border: #f66;
--error-background: #f003;
--error-border: #f66;
--hint-background: #0044117a;
--hint-border: green;
--seealso-background: #ffff001a;
--seealso-border: #dd6;
--tip-background: #0044117a;
--tip-border: green;
--warning-background: #ff000033;
--warning-border: #ff6666;
}

aside.topic,
div.topic,
div.note,
Expand Down Expand Up @@ -140,3 +169,10 @@ img.invert-in-dark-mode {
.sig.cpp .k, .sig.cpp .kt {
color: #5283ff;
}

/* Version change directives */
:root {
--versionadded: var(--good-color);
--versionchanged: var(--middle-color);
--deprecated: var(--bad-color);
}
Loading

0 comments on commit 1c62821

Please sign in to comment.