Skip to content

Commit

Permalink
update vernum and docs (add sprit version to requirements.txt for rtd)
Browse files Browse the repository at this point in the history
  • Loading branch information
RJbalikian committed Apr 21, 2024
1 parent a32ff2e commit 64ff53b
Show file tree
Hide file tree
Showing 37 changed files with 73 additions and 63 deletions.
4 changes: 2 additions & 2 deletions conda/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package:
name: sprit
version: 0.1.76-dev
version: 0.1.77-dev

source:
git_url: https://github.com/RJbalikian/SPRIT-HVSR
git_tag: v0.1.76-dev
git_tag: v0.1.77-dev

build:
number: 0
Expand Down
2 changes: 1 addition & 1 deletion docs/.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: adf8a986140eb0979728394b48a22ce3
config: 3ec2dc0c500d5ab653d07e56613a52ee
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file modified docs/_build/doctrees/environment.pickle
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/_build/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: adf8a986140eb0979728394b48a22ce3
config: 3ec2dc0c500d5ab653d07e56613a52ee
tags: 645f666f9bcd5a90fca523b33c5a78b7
4 changes: 2 additions & 2 deletions docs/_build/html/_modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Overview: module code &mdash; sprit 0.1.76-dev documentation</title>
<title>Overview: module code &mdash; sprit 0.1.77-dev documentation</title>
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="../_static/css/theme.css?v=19f00094" />

Expand All @@ -12,7 +12,7 @@
<script src="../_static/js/html5shiv.min.js"></script>
<![endif]-->

<script src="../_static/documentation_options.js?v=cd4508d8"></script>
<script src="../_static/documentation_options.js?v=3035379e"></script>
<script src="../_static/doctools.js?v=9a2dae69"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../_static/js/theme.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/_modules/sprit/sprit_cli.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>sprit.sprit_cli &mdash; sprit 0.1.76-dev documentation</title>
<title>sprit.sprit_cli &mdash; sprit 0.1.77-dev documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=19f00094" />

Expand All @@ -12,7 +12,7 @@
<script src="../../_static/js/html5shiv.min.js"></script>
<![endif]-->

<script src="../../_static/documentation_options.js?v=cd4508d8"></script>
<script src="../../_static/documentation_options.js?v=3035379e"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/js/theme.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/_modules/sprit/sprit_gui.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>sprit.sprit_gui &mdash; sprit 0.1.76-dev documentation</title>
<title>sprit.sprit_gui &mdash; sprit 0.1.77-dev documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=19f00094" />

Expand All @@ -12,7 +12,7 @@
<script src="../../_static/js/html5shiv.min.js"></script>
<![endif]-->

<script src="../../_static/documentation_options.js?v=cd4508d8"></script>
<script src="../../_static/documentation_options.js?v=3035379e"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/js/theme.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/_modules/sprit/sprit_hvsr.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>sprit.sprit_hvsr &mdash; sprit 0.1.76-dev documentation</title>
<title>sprit.sprit_hvsr &mdash; sprit 0.1.77-dev documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=19f00094" />

Expand All @@ -12,7 +12,7 @@
<script src="../../_static/js/html5shiv.min.js"></script>
<![endif]-->

<script src="../../_static/documentation_options.js?v=cd4508d8"></script>
<script src="../../_static/documentation_options.js?v=3035379e"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/js/theme.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/_modules/sprit/sprit_jupyter_UI.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>sprit.sprit_jupyter_UI &mdash; sprit 0.1.76-dev documentation</title>
<title>sprit.sprit_jupyter_UI &mdash; sprit 0.1.77-dev documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=19f00094" />

Expand All @@ -12,7 +12,7 @@
<script src="../../_static/js/html5shiv.min.js"></script>
<![endif]-->

<script src="../../_static/documentation_options.js?v=cd4508d8"></script>
<script src="../../_static/documentation_options.js?v=3035379e"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/js/theme.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/_modules/sprit/sprit_utils.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>sprit.sprit_utils &mdash; sprit 0.1.76-dev documentation</title>
<title>sprit.sprit_utils &mdash; sprit 0.1.77-dev documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=19f00094" />

Expand All @@ -12,7 +12,7 @@
<script src="../../_static/js/html5shiv.min.js"></script>
<![endif]-->

<script src="../../_static/documentation_options.js?v=cd4508d8"></script>
<script src="../../_static/documentation_options.js?v=3035379e"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/js/theme.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/_static/documentation_options.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const DOCUMENTATION_OPTIONS = {
VERSION: '0.1.76-dev',
VERSION: '0.1.77-dev',
LANGUAGE: 'en',
COLLAPSE_INDEX: false,
BUILDER: 'html',
Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Index &mdash; sprit 0.1.76-dev documentation</title>
<title>Index &mdash; sprit 0.1.77-dev documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />

Expand All @@ -12,7 +12,7 @@
<script src="_static/js/html5shiv.min.js"></script>
<![endif]-->

<script src="_static/documentation_options.js?v=cd4508d8"></script>
<script src="_static/documentation_options.js?v=3035379e"></script>
<script src="_static/doctools.js?v=9a2dae69"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/js/theme.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/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="viewport" content="width=device-width, initial-scale=1.0" />
<title>Welcome to the documentation for SpRIT! &mdash; sprit 0.1.76-dev documentation</title>
<title>Welcome to the documentation for SpRIT! &mdash; sprit 0.1.77-dev documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />

Expand All @@ -13,7 +13,7 @@
<script src="_static/js/html5shiv.min.js"></script>
<![endif]-->

<script src="_static/documentation_options.js?v=cd4508d8"></script>
<script src="_static/documentation_options.js?v=3035379e"></script>
<script src="_static/doctools.js?v=9a2dae69"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/js/theme.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/py-modindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Python Module Index &mdash; sprit 0.1.76-dev documentation</title>
<title>Python Module Index &mdash; sprit 0.1.77-dev documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />

Expand All @@ -12,7 +12,7 @@
<script src="_static/js/html5shiv.min.js"></script>
<![endif]-->

<script src="_static/documentation_options.js?v=cd4508d8"></script>
<script src="_static/documentation_options.js?v=3035379e"></script>
<script src="_static/doctools.js?v=9a2dae69"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/js/theme.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Search &mdash; sprit 0.1.76-dev documentation</title>
<title>Search &mdash; sprit 0.1.77-dev documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />

Expand All @@ -13,7 +13,7 @@
<script src="_static/js/html5shiv.min.js"></script>
<![endif]-->

<script src="_static/documentation_options.js?v=cd4508d8"></script>
<script src="_static/documentation_options.js?v=3035379e"></script>
<script src="_static/doctools.js?v=9a2dae69"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/js/theme.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/sprit.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="viewport" content="width=device-width, initial-scale=1.0" />
<title>sprit package &mdash; sprit 0.1.76-dev documentation</title>
<title>sprit package &mdash; sprit 0.1.77-dev documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />

Expand All @@ -13,7 +13,7 @@
<script src="_static/js/html5shiv.min.js"></script>
<![endif]-->

<script src="_static/documentation_options.js?v=cd4508d8"></script>
<script src="_static/documentation_options.js?v=3035379e"></script>
<script src="_static/doctools.js?v=9a2dae69"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/js/theme.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/sprit.sprit_cli.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="viewport" content="width=device-width, initial-scale=1.0" />
<title>sprit.sprit_cli module &mdash; sprit 0.1.76-dev documentation</title>
<title>sprit.sprit_cli module &mdash; sprit 0.1.77-dev documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />

Expand All @@ -13,7 +13,7 @@
<script src="_static/js/html5shiv.min.js"></script>
<![endif]-->

<script src="_static/documentation_options.js?v=cd4508d8"></script>
<script src="_static/documentation_options.js?v=3035379e"></script>
<script src="_static/doctools.js?v=9a2dae69"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/js/theme.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/sprit.sprit_gui.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="viewport" content="width=device-width, initial-scale=1.0" />
<title>sprit.sprit_gui module &mdash; sprit 0.1.76-dev documentation</title>
<title>sprit.sprit_gui module &mdash; sprit 0.1.77-dev documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />

Expand All @@ -13,7 +13,7 @@
<script src="_static/js/html5shiv.min.js"></script>
<![endif]-->

<script src="_static/documentation_options.js?v=cd4508d8"></script>
<script src="_static/documentation_options.js?v=3035379e"></script>
<script src="_static/doctools.js?v=9a2dae69"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/js/theme.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/sprit.sprit_hvsr.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="viewport" content="width=device-width, initial-scale=1.0" />
<title>sprit.sprit_hvsr module &mdash; sprit 0.1.76-dev documentation</title>
<title>sprit.sprit_hvsr module &mdash; sprit 0.1.77-dev documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />

Expand All @@ -13,7 +13,7 @@
<script src="_static/js/html5shiv.min.js"></script>
<![endif]-->

<script src="_static/documentation_options.js?v=cd4508d8"></script>
<script src="_static/documentation_options.js?v=3035379e"></script>
<script src="_static/doctools.js?v=9a2dae69"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/js/theme.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/sprit.sprit_jupyter_UI.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="viewport" content="width=device-width, initial-scale=1.0" />
<title>sprit.sprit_jupyter_UI module &mdash; sprit 0.1.76-dev documentation</title>
<title>sprit.sprit_jupyter_UI module &mdash; sprit 0.1.77-dev documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />

Expand All @@ -13,7 +13,7 @@
<script src="_static/js/html5shiv.min.js"></script>
<![endif]-->

<script src="_static/documentation_options.js?v=cd4508d8"></script>
<script src="_static/documentation_options.js?v=3035379e"></script>
<script src="_static/doctools.js?v=9a2dae69"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/js/theme.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/sprit.sprit_utils.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="viewport" content="width=device-width, initial-scale=1.0" />
<title>sprit.sprit_utils module &mdash; sprit 0.1.76-dev documentation</title>
<title>sprit.sprit_utils module &mdash; sprit 0.1.77-dev documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />

Expand All @@ -13,7 +13,7 @@
<script src="_static/js/html5shiv.min.js"></script>
<![endif]-->

<script src="_static/documentation_options.js?v=cd4508d8"></script>
<script src="_static/documentation_options.js?v=3035379e"></script>
<script src="_static/doctools.js?v=9a2dae69"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/js/theme.js"></script>
Expand Down
13 changes: 11 additions & 2 deletions docs/_generate_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import markdown


RELEASE_VERSION = "0.1.76-dev"
RELEASE_VERSION = "0.1.77-dev"

VERBOSE = True

Expand Down Expand Up @@ -45,6 +45,7 @@
confFPath = docsDir.joinpath('conf.py')
condaFPath = repoDir.joinpath('conda/meta.yaml')
initFPath = spritDir.joinpath('__init__.py')
requirePath = docsDir.joinpath('requirements.txt')

# Set the package name, SUB_DIRectory, and output directory
OUTPUT_DIR = docsDir
Expand All @@ -58,7 +59,7 @@

if VERBOSE:
print('Updating version/release numbers')
confFilePaths = [setupFPath, pyprojectFPath, condaFPath, confFPath, initFPath]
confFilePaths = [setupFPath, pyprojectFPath, condaFPath, confFPath, initFPath, requirePath]
for cFile in confFilePaths:
if cFile.exists():
with open(cFile.as_posix(), mode='r', encoding='utf-8') as f:
Expand Down Expand Up @@ -90,6 +91,14 @@
NEWVERTEXT = r'__version__ = "'+RELEASE_VERSION+'"'
cFileText = re.sub(VERTEXT, NEWVERTEXT, cFileText, flags=re.DOTALL)

# intended for requirements.txt
VERTEXT = r"sprit==.*?"
if 'dev' in RELEASE_VERSION:
relVer = RELEASE_VERSION.replace('-', '.')+'0'
else:
relVer = RELEASE_VERSION
NEWVERTEXT = r'sprit=='+relVer
cFileText = re.sub(VERTEXT, NEWVERTEXT, cFileText, flags=re.DOTALL)

with open(cFile.as_posix(), mode='w', encoding='utf-8') as f:
f.write(cFileText)
Expand Down
2 changes: 1 addition & 1 deletion docs/_static/documentation_options.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const DOCUMENTATION_OPTIONS = {
VERSION: '0.1.76-dev',
VERSION: '0.1.77-dev',
LANGUAGE: 'en',
COLLAPSE_INDEX: false,
BUILDER: 'html',
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
project = 'sprit'
copyright = '2024, Author'
author = 'Riley Balikian'
release = '0.1.76-dev'
release = '0.1.77-dev'

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Expand Down
4 changes: 2 additions & 2 deletions docs/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Index &mdash; sprit 0.1.76-dev documentation</title>
<title>Index &mdash; sprit 0.1.77-dev documentation</title>
<link rel="stylesheet" type="text/css" href="pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="theme.css?v=19f00094" />

Expand All @@ -12,7 +12,7 @@
<script src="html5shiv.min.js"></script>
<![endif]-->

<script src="documentation_options.js?v=cd4508d8"></script>
<script src="documentation_options.js?v=3035379e"></script>
<script src="doctools.js?v=9a2dae69"></script>
<script src="sphinx_highlight.js?v=dc90522c"></script>
<script src="theme.js"></script>
Expand Down
Loading

0 comments on commit 64ff53b

Please sign in to comment.