Skip to content

Commit 82e877a

Browse files
authored
Merge pull request #161 from GeoscienceAustralia/updated_docs
Updated docs
2 parents 4693bd1 + 61e3a55 commit 82e877a

Some content is hidden

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

74 files changed

+9904
-2847
lines changed

.readthedocs.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Read the Docs configuration file
2+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3+
4+
# Required
5+
version: 2
6+
7+
# Set the OS, Python version, and other tools you might need
8+
build:
9+
os: ubuntu-24.04
10+
tools:
11+
python: "3.13"
12+
13+
apt_packages:
14+
- libgdal-dev
15+
- gdal-bin
16+
17+
# Build documentation in the "docs/" directory with Sphinx
18+
sphinx:
19+
configuration: docs/conf.py
20+
21+
# Optionally, but recommended,
22+
# declare the Python requirements required to build your documentation
23+
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
24+
python:
25+
install:
26+
- requirements: docs/requirements.txt

README.md

Lines changed: 28 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,33 @@
11
# ![GeodePy](https://github.com/GeoscienceAustralia/GeodePy/blob/master/docs/geodepy-logo.png)
22

3-
[![Travis](https://img.shields.io/travis/GeoscienceAustralia/GeodePy/master.svg?label=Travis%20CI)](https://travis-ci.org/GeoscienceAustralia/GeodePy) [![Coverage Status](https://coveralls.io/repos/github/GeoscienceAustralia/GeodePy/badge.svg)](https://coveralls.io/github/GeoscienceAustralia/GeodePy)
3+
GeodePy is a python package for precise geodetic and survey computations.
44

5-
This is a package of tools for manipulating geospatial datasets using Python and tested in Python 3.6.4.
5+
## Documentation
66

7-
### Tutorials
7+
See [here](https://geodepy.readthedocs.io/) for documentation around downloading and using GeodePy.
88

9-
See [here](https://github.com/GeoscienceAustralia/GeodePy/tree/master/docs/tutorials) for worked examples of common GeodePy functions and routines.
9+
## Features
1010

11-
### Dependencies
11+
GeodePy includes a variety of features for geodesy and geospatial data manipulation, including:
12+
13+
* Converting between coordinate types
14+
* Transforming between datums
15+
* Calculating geodetic distances and bearings
16+
* Working with geoid models
17+
* Surveying calculations
18+
* Various classes for angles, coordinates, and datums
19+
* Statistics
20+
* And more!
21+
22+
## Installation
23+
24+
GeodePy is available on PyPi:
25+
26+
```console
27+
$ pip install geodepy
28+
```
29+
30+
## Dependencies
1231

1332
This package requires the following PyPI Packages installed:
1433

@@ -19,32 +38,21 @@ SciPy
1938

2039
Additionally, the geodepy.height module requires the GDAL library (tested using GDAL 3.0.4). For more information, see [here](https://gdal.org/index.html) for information about GDAL, [here](https://anaconda.org/conda-forge/gdal) for Anaconda support for GDAL and [here](http://www.gisinternals.com/release.php) for GDAL Binaries for Windows.
2140

22-
### Testing
41+
## Testing
2342

2443
Run: `python -m unittest discover geodepy/tests/ --verbose`
2544

26-
## API
27-
28-
```
29-
cd api/
30-
virtualenv env
31-
source env/bin/activate
32-
pip install -r requirements.txt
33-
zappa deploy dev
34-
```
35-
36-
For subsequent updating run: `zappa update dev`
37-
38-
### Authors
45+
## Authors
3946

4047
* **Craig Harrison** - *Project Management* - [harry093](https://github.com/harry093)
4148
* **Josh Batchelor** - *Initial Work, Geodesy and Surveying* - [BatchelorJ](https://github.com/BatchelorJ)
4249
* **Jonathan Mettes** - *Testing, Integration and Deployment* - [jmettes](https://github.com/jmettes)
4350
* **Jack McCubbine** - *Height Module* - [JackMcCubbineGA](https://github.com/JackMcCubbineGA)
51+
* **Kyran Cook** - *Documentation and Uplift* - [Kyran-Cook](https://github.com/Kyran-Cook)
4452

4553
See also the list of [contributors](https://github.com/GeoscienceAustralia/geodepy/graphs/contributors) who participated in this project.
4654

47-
### License
55+
## License
4856

4957
Copyright 2018-2020 Geoscience Australia
5058

docs/Makefile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Minimal makefile for Sphinx documentation
2+
#
3+
4+
# You can set these variables from the command line, and also
5+
# from the environment for the first two.
6+
SPHINXOPTS ?=
7+
SPHINXBUILD ?= sphinx-build
8+
SOURCEDIR = .
9+
BUILDDIR = _build
10+
11+
# Put it first so that "make" without argument is like "make help".
12+
help:
13+
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
14+
15+
.PHONY: help Makefile
16+
17+
# Catch-all target: route all unknown targets to Sphinx using the new
18+
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
19+
%: Makefile
20+
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

docs/_static/custom.css

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
a {
2+
color: #00718e;
3+
}
4+
5+
a .sidebar-navigation{
6+
color: #00718e;
7+
}
8+
9+
.sidebar-tree a {
10+
color: #00718e !important; /* Sidebar links */
11+
}
12+
13+
.sidebar-tree svg {
14+
color: #00718e !important; /* Normal arrow color */
15+
}
16+
17+
/* Hide the TOC caption heading on the index page */
18+
.toctree-wrapper > p.caption {
19+
display: none;
20+
}
21+
22+
/* Style the custom TOC expander arrows */
23+
.toctree-expander {
24+
color: #00718e; /* Your preferred color */
25+
}
26+
27+
/* Optional: Hover effect */
28+
.toctree-expander:hover {
29+
color: #005f73;
30+
}
31+
32+

docs/_static/custom.js

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
document.addEventListener("DOMContentLoaded", function () {
2+
document.querySelectorAll(".collapsible-toc li").forEach(function (item) {
3+
const sublist = item.querySelector("ul");
4+
const link = item.querySelector("a");
5+
if (sublist && link) {
6+
const toggle = document.createElement("span");
7+
toggle.innerHTML = `
8+
<svg class="toctree-expander" viewBox="0 0 24 24" width="16" height="16" stroke="currentColor" fill="none" stroke-width="2">
9+
<polyline points="6 9 12 15 18 9"></polyline>
10+
</svg>
11+
`;
12+
toggle.style.cursor = "pointer";
13+
toggle.style.marginLeft = "8px";
14+
15+
toggle.addEventListener("click", function () {
16+
if (sublist.style.display === "none") {
17+
sublist.style.display = "block";
18+
toggle.querySelector("polyline").setAttribute("points", "6 15 12 9 18 15");
19+
} else {
20+
sublist.style.display = "none";
21+
toggle.querySelector("polyline").setAttribute("points", "6 9 12 15 18 9");
22+
}
23+
});
24+
25+
sublist.style.display = "none";
26+
link.insertAdjacentElement("afterend", toggle);
27+
}
28+
});
29+
});

docs/_static/favicon.ico

15 KB
Binary file not shown.

docs/_static/geodepy-logo-dark.png

17.9 KB
Loading
20.2 KB
Loading

docs/_static/geodepy-logo.png

16.3 KB
Loading

docs/_static/robots.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# test
2+
User-agent: *
3+
4+
Disallow: # Allow everything
5+
6+
Sitemap: https://geodepy.readthedocs.io/sitemap.xml

0 commit comments

Comments
 (0)