Skip to content

Commit 374e484

Browse files
Merge pull request #87 from Stanford-NavLab/derek/release-0.1.8
Derek/release 0.1.8
2 parents 769a56f + 759da00 commit 374e484

11 files changed

Lines changed: 1892 additions & 914 deletions

File tree

.github/workflows/build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ jobs:
3636
virtualenvs-create: true
3737
virtualenvs-in-project: true
3838
installer-parallel: true # default option selected currently
39-
version: 1.1.14
4039
# Load cached environment, if it exists
4140
- name: Load cached poetry environment
4241
id: cached-poetry-dependencies

build_docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
# export requirements.txt for buildings docs
3-
poetry export -f requirements.txt --output ./docs/source/requirements.txt --dev --without-hashes
3+
poetry export -f requirements.txt --output ./docs/source/requirements.txt --with dev --without-hashes
44
cd docs
55

66
echo "Rebuilding References"

docs/source/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
'sphinx.ext.napoleon',
4343
'nbsphinx',
4444
'nbsphinx_link',
45+
'IPython.sphinxext.ipython_console_highlighting',
4546
]
4647

4748
# Specify which files are source files for Sphinx

docs/source/contributing/development.rst

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ Pull Request Review Workflow
174174

175175
If the feature branch included new functionality, the following
176176
should have also been updated:
177-
177+
178178
* the "Code Organization" section of the :code:`README.md`
179179
* the "Code Organization" section of
180180
:code:`docs/source/index.rst` to match the :code:`README.md`
@@ -204,3 +204,29 @@ Pull Request Review Workflow
204204
See the :ref:`Coverage Report<coverage>` section for more details.
205205

206206
7. Submit your approval or any comments on GitHub.
207+
208+
New Package Release Workflow
209+
----------------------------
210+
211+
1. Create new branch for the release:
212+
213+
.. code-block:: bash
214+
215+
git checkout -b your-name/release-X.Y.Z
216+
217+
2. Open the ``pyproject.toml`` file and under the ``[tool.poetry]``
218+
group change the ``version = X.Y.Z`` variable to match the new
219+
package version number.
220+
221+
3. Create a new pull request and merge to the ``main`` branch using the
222+
development process above.
223+
224+
4. Go to the `releases page <https://github.com/Stanford-NavLab/gnss_lib_py/releases>`__
225+
on GitHub and click the ``Draft a new release`` button on the top.
226+
Click ``Choose a tag`` and add a new tag named ``X.Y.Z`` matching the
227+
new package version number. Target the ``main`` branch. Finally,
228+
click the ``Publish release`` button.
229+
230+
5. Allow time for the release to build and then check
231+
`pypi <https://pypi.org/project/gnss-lib-py/>`__
232+
to ensure that the release was built successfully.

docs/source/contributing/documentation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ If you wish to add python dependencies:
162162

163163
* add the new dependency to the poetry dependency list with
164164
:code:`poetry add package=version` or if the dependency is a
165-
development tool :code:`poetry add --dev package=version`
165+
development tool :code:`poetry add package=version --group dev`
166166

167167
If you wish to remove python dependencies, use :code:`poetry remove package`.
168168

docs/source/install.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Linux/WSL2 and MacOS
107107
if different than 3.8.9) to set the Python version that code in the
108108
repository will run.
109109

110-
5. Install :code:`poetry` using the instructions
110+
5. Install :code:`poetry>=1.2` using the instructions
111111
`here <https://python-poetry.org/docs/master/#installation>`__.
112112

113113
6. Install Python dependencies using :code:`poetry install`.

docs/source/reference/reference.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,29 @@
33
Reference
44
=========
55

6+
General GNSS References
7+
-----------------------
8+
9+
The GNSS in ``gnss_lib_py`` stands for Global Navigation Satellite
10+
System(s). The following is a list of references that might be helpful
11+
in learning more about GNSS:
12+
13+
* *Global Positioning System: Signals, Measurements, and Performance* by
14+
Pratap Misra and Per Enge.
15+
* *Positioning, Navigation, and Timing Technologies in the 21st Century*
16+
edited by Y. Jade Morton, Frank van Diggelen, James J. Spilker Jr,
17+
Bradford W. Parkinson, Sherman Lo, and Grace Gao.
18+
* *Understanding GPS/GNSS: Principles and Applications* edited by
19+
Elliott D. Kaplan and Christopher J. Hegarty.
20+
* "GPS: An Introduction to Satellite Navigation" by Frank van Diggelen
21+
found on `YouTube <https://www.youtube.com/playlist?list=PLGvhNIiu1ubyEOJga50LJMzVXtbUq6CPo>`__:
22+
a playlist of online classes that teach a broad overview of GNSS
23+
topics.
24+
* "GPS" by Bartosz Ciechanowski found at
25+
`ciechanow.ski/gps <https://ciechanow.ski/gps/>`__:
26+
a visually-appealing and interactive blog post about some of the
27+
basic principles of GNSS positioning.
28+
629
Package Architecture
730
--------------------
831

docs/source/requirements.txt

Lines changed: 158 additions & 145 deletions
Large diffs are not rendered by default.

poetry.lock

Lines changed: 1542 additions & 639 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "gnss-lib-py"
3-
version = "0.1.7"
3+
version = "0.1.8"
44
description = "Modular Python tool for parsing, analyzing, and visualizing Global Navigation Satellite Systems (GNSS) data and state estimates"
55
authors = ["Derek Knowles <dcknowles@stanford.edu>",
66
"Ashwin Kanhere <akanhere@stanford.edu>",
@@ -35,7 +35,7 @@ matplotlib = "^3.5.1"
3535
plotly = "^5.8.0"
3636
kaleido = "0.2.1"
3737

38-
[tool.poetry.dev-dependencies]
38+
[tool.poetry.group.dev.dependencies]
3939
Sphinx = "^4.1.1"
4040
sphinx-rtd-theme = "^0.5.2"
4141
sphinxcontrib-napoleon = "^0.7"

0 commit comments

Comments
 (0)