Skip to content

Commit a5454e1

Browse files
authored
Merge pull request #160 from Kyran-Cook/updated_Docs
Updated docs
2 parents 4693bd1 + 97ad396 commit a5454e1

Some content is hidden

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

55 files changed

+5745
-2589
lines changed

.readthedocs.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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+
# Build documentation in the "docs/" directory with Sphinx
14+
sphinx:
15+
configuration: docs/conf.py
16+
17+
# Optionally, but recommended,
18+
# declare the Python requirements required to build your documentation
19+
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
20+
python:
21+
install:
22+
- requirements: docs/requirements.txt

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/geodepy-logo-dark.png

17.9 KB
Loading
20.2 KB
Loading

docs/_static/geodepy-logo.png

16.3 KB
Loading

docs/_templates/sidebar/extra.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<div class="sidebar-extra" style="text-align:left; margin-top:0px; margin-bottom:5px ;">
2+
<p style="font-size:14px; margin-bottom:10px;">GeodePy is a package of tools for manipulating goespatial datasets using Python.</p>
3+
<a href="https://github.com/GeoscienceAustralia/GeodePy" target="_blank">
4+
<img src="https://img.shields.io/badge/GitHub-GeodePy-blue?logo=github" alt="GitHub Badge" />
5+
</a>
6+
</div>

docs/community/authors.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Authors
2+
=======
3+
4+
GeodePy is developed and maintained by the Geoscience Australia National Geodesy Team. Over time, many contributors have helped improve the package.
5+
6+
* **Craig Harrison** - Project Management - `harry093 <https://github.com/harry093>`_
7+
* **Josh Batchelor** - Initial Work, Geodesy and Surveying - `BatchelorJ <https://github.com/BatchelorJ>`_
8+
* **Jonathan Mettes** - Testing, Integration and Development - `jmettes <https://github.com/jmettes>`_
9+
* **Jack McCubbine** - Height Module - `JackMcCubbineGA <https://github.com/JackMcCubbineGA>`_
10+
* **Kyran Cook** - Documentation and Uplift - `KyranCookGA <https://github.com/KyranCookGA>`_
11+
12+
See also the list of `contributors <https://github.com/GeoscienceAustralia/geodepy/graphs/contributors>`_ who have participated in this project.

docs/community/contributing.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Contributing
2+
==================
3+
4+
We welcome contributions from the community to help improve GeodePy! Whether you're fixing bugs, adding new features, or enhancing documentation, your input is valuable. Open source projects live and die based on the support they recieve.
5+
6+
This document outlines some of the guidlines and advice for contributing to GeodePy.
7+
8+
Code of Conduct
9+
----------------
10+
11+
By participating in this project, you agree to abide by the `Python Software Foundation Code of Conduct <https://policies.python.org/python.org/code-of-conduct/>`_. Please read it to understand the expectations for behavior when contributing to this project.

0 commit comments

Comments
 (0)