Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
78cd0ca
DOC: Document using `TWINED_SERVICES_TOPIC_NAME` envvar
cortadocodes Aug 5, 2025
4269418
REF: Move `start` CLI subcommand under `octue twined service` command
cortadocodes Aug 5, 2025
81abef7
REV: Revert "REF: Remove `google_crc32c` warning suppression"
cortadocodes Aug 7, 2025
abb512e
DEP: Add `mkdocs-material`
cortadocodes Aug 15, 2025
19cc299
WIP: Disable sphinx pre-commit step
cortadocodes Aug 15, 2025
3a3a322
DOC: Add basic setup for Material for Mkdocs
cortadocodes Aug 15, 2025
1710a74
DOC: Enable mkdocs admonitions and privacy plugin
cortadocodes Aug 15, 2025
8ad32ae
DOC: Add light/dark mode toggle with system preference default
cortadocodes Aug 15, 2025
c597ca4
DOC: Add index page
cortadocodes Aug 15, 2025
8761b24
DOC: Add asking questions page
cortadocodes Aug 15, 2025
e11a255
DOC: Set navigation order
cortadocodes Aug 15, 2025
ad30ca0
DOC: Add installation page
cortadocodes Aug 15, 2025
ffd6d00
DOC: Add data containers page
cortadocodes Aug 15, 2025
019f2d1
DOC: Configure mkdocs navigation
cortadocodes Aug 15, 2025
38a288c
DEP: Add `mkdocs-glightbox` to provide image zooming to docs
cortadocodes Aug 17, 2025
f0e5dad
DOC: Improve image support in docs
cortadocodes Aug 17, 2025
a0d4816
DOC: Move images into new docs directory
cortadocodes Aug 17, 2025
b09dfaf
DOC: Add dataset docs
cortadocodes Aug 17, 2025
ce31cb7
DOC: Add datafile docs
cortadocodes Aug 17, 2025
46ed231
DOC: Adjust definition format in docs intro page
cortadocodes Aug 17, 2025
22b4496
DOC: Add manifest doc
cortadocodes Aug 17, 2025
6a85431
DOC: Add services doc
cortadocodes Aug 17, 2025
dc26bd7
DOC: Update CLI printout in readme
cortadocodes Aug 17, 2025
6f69f05
DOC: Replace "Octue SDK" with "Twined" in docs
cortadocodes Aug 17, 2025
b6744a1
DOC: Add creating services doc
cortadocodes Aug 17, 2025
5551838
DOC: Add updating services doc
cortadocodes Aug 17, 2025
168466d
DOC: Add local service running docs
cortadocodes Aug 17, 2025
244ab1b
DOC: Add deploying services doc
cortadocodes Aug 17, 2025
f3c0d8c
DOC: Add testing services doc
cortadocodes Aug 17, 2025
50076fa
DOC: Add troubleshooting doc
cortadocodes Aug 17, 2025
0ca8676
DOC: Add logging doc
cortadocodes Aug 17, 2025
4ffa941
DOC: Add authentication doc
cortadocodes Aug 17, 2025
ff79d81
ENH: Update version compatibility table script for markdown format
cortadocodes Aug 17, 2025
d61005d
DOC: Add inter-service compatibility doc
cortadocodes Aug 17, 2025
a098a4e
DOC: Add licence and version history docs
cortadocodes Aug 17, 2025
b491464
DOC: Add downloading datafiles doc
cortadocodes Aug 17, 2025
f3f7bd6
DOC: Add creating apps doc
cortadocodes Aug 17, 2025
d1917cd
DOC: Add available filters doc
cortadocodes Aug 17, 2025
05b5378
DOC: Remove `.rst` based docs
cortadocodes Aug 17, 2025
3c25472
DOC: Update path to image in readme
cortadocodes Aug 17, 2025
3c3fd6e
DOC: Remove old docs requirements file
cortadocodes Aug 17, 2025
6d16394
DOC: Enable search in docs
cortadocodes Aug 18, 2025
1ebad21
DOC: Add copyright and links to footer
cortadocodes Aug 18, 2025
3d9be3b
DEP: Add `mike` for docs
cortadocodes Aug 18, 2025
5b4518f
DOC: Add versioning to docs
cortadocodes Aug 18, 2025
6516220
DOC: Use Octue colours in docs
cortadocodes Aug 18, 2025
a5c4b24
DOC: Add Octue logo to docs
cortadocodes Aug 18, 2025
20a5858
DOC: Add Octue logo favicon to docs
cortadocodes Aug 18, 2025
d0a06d3
DEP: Remove dependencies and config from old documentation
cortadocodes Aug 18, 2025
9421f0e
DOC: Add old twined docs
cortadocodes Aug 18, 2025
6f0ed22
DOC: Move `CONTRIBUTING.md` to repo root
cortadocodes Aug 18, 2025
e4740c4
DOC: Move docs up a directory
cortadocodes Aug 18, 2025
2c0c9eb
DOC: Update `CONTRIBUTING.md`
cortadocodes Aug 18, 2025
8f8120a
OPS: Add CI for deploying docs
cortadocodes Aug 18, 2025
080be20
WIP: Test building docs
cortadocodes Aug 18, 2025
8057d9e
OPS: Fix docs deployment
cortadocodes Aug 18, 2025
2e18088
REV: Revert "WIP: Test building docs"
cortadocodes Aug 18, 2025
7404d25
DOC: Move `nav` section in `mkdocs.yml` to top
cortadocodes Aug 18, 2025
0979232
DOC: Move data containers docs into section
cortadocodes Aug 18, 2025
b682f24
CHO: Update version compatibility metadata
cortadocodes Aug 18, 2025
b88ce12
DEP: Add `tabulate` for version table script
cortadocodes Aug 18, 2025
a77165b
DOC: Add readthedocs config
cortadocodes Aug 19, 2025
f793455
DOC: Pin python version used to build docs
cortadocodes Aug 19, 2025
8e9c8e9
DOC: Remove `mike` version handler from docs
cortadocodes Aug 19, 2025
93b8811
DOC: Loosen docs python pin slightly
cortadocodes Aug 19, 2025
da7e4a5
DEP: Remove `mike`
cortadocodes Aug 19, 2025
9e040ad
OPS: Remove GitHub pages CI job
cortadocodes Aug 19, 2025
a5e96bc
DOC: Fix path to image in readme
cortadocodes Aug 19, 2025
daddfdd
DOC: Update documentation URL
cortadocodes Aug 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,6 @@ repos:
hooks:
- id: prettier

- repo: https://github.com/thclark/pre-commit-sphinx
rev: 0.0.3
hooks:
- id: build-docs
language_version: python3
additional_dependencies:
- "poetry==1.2.0b2"
- "Sphinx>=5,<8"
- "sphinx-rtd-theme>=1,<2"
- "sphinx-tabs>=3,<4"
- "sphinx-toolbox>=3"
- "git+https://github.com/octue/octue-sdk-python.git@main"

- repo: https://github.com/windpioneers/pre-commit-hooks
rev: 0.0.5
hooks:
Expand Down
18 changes: 7 additions & 11 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
# Read the Docs configuration file for Sphinx projects
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

version: 2

build:
os: ubuntu-22.04
os: "ubuntu-24.04"
tools:
python: "3.10"

sphinx:
configuration: docs/source/conf.py
python: "3.13"
jobs:
pre_install:
- pip install -r docs/requirements.txt

python:
install:
- requirements: docs/requirements.txt
mkdocs:
configuration: mkdocs.yml
30 changes: 3 additions & 27 deletions docs/contributing.md → CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,36 +84,12 @@ You can run pre-commit hooks without making a commit, too, like:
pre-commit run black --all-files
```

or

```
# -v gives verbose output, useful for figuring out why docs won't build
pre-commit run build-docs -v
```

## Documentation

### Building documents automatically

The documentation will build automatically in a pre-configured environment when you make a commit.

In fact, the way `pre-commit` works, you won't be allowed to make the commit unless the documentation builds. This way
we avoid getting broken documentation pushed to the main repository on any commit so we can rely on builds working.

### Building documents manually

**If you did need to build the documentation**

Install `doxygen`. On a mac, that's `brew install doxygen`; other systems may differ.

Install sphinx and other requirements for building the docs:
To serve the docs locally, run:

```
pip install -r docs/requirements.txt
mkdocs serve
```

Run the build process:

```
sphinx-build -b html docs/source docs/html
```
This makes the docs available on `localhost` via a hot-reloading server
18 changes: 4 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[![black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.10961975.svg)](https://doi.org/10.5281/zenodo.10961975)

# Octue Python SDK <img src="./docs/source/images/213_purple-fruit-snake-transparent.gif" alt="Purple Fruit Snake" width="100"/></span>
# Octue Python SDK <img src="./docs/images/213_purple-fruit-snake-transparent.gif" alt="Purple Fruit Snake" width="100"/></span>

The python SDK for running [Octue](https://octue.com) data services, digital twins, and applications - get faster data
groundwork so you have more time for the science!
Expand Down Expand Up @@ -36,30 +36,20 @@ octue --help
```text
Usage: octue [OPTIONS] COMMAND [ARGS]...

The CLI for the Octue SDK. Use it to start an Octue data service or digital
twin locally or run an analysis on one locally.
The CLI for Octue SDKs and APIs, most notably Twined.

Read more in the docs: https://octue-python-sdk.readthedocs.io/en/latest/

Options:
--id UUID UUID of the analysis being undertaken. None
(for local use) will cause a unique ID to be
generated.
--logger-uri TEXT Stream logs to a websocket at the given URI.
--log-level [debug|info|warning|error]
Log level used for the analysis. [default:
info]
--force-reset / --no-force-reset
Forces a reset of analysis cache and outputs
[For future use, currently not implemented]
[default: force-reset]
--version Show the version and exit.
-h, --help Show this message and exit.

Commands:
deploy Deploy a python app to the cloud as an Octue service or digital...
run Run an analysis on the given input data using an Octue service...
start Start an Octue service or digital twin locally as a child so it...
twined The Twined CLI.
```

## Deprecated code
Expand Down Expand Up @@ -95,4 +85,4 @@ python3 -m unittest

## Contributing

Take a look at our [contributing](/docs/contributing.md) page.
Take a look at our [contributing](/CONTRIBUTING.md) page.
2 changes: 0 additions & 2 deletions docs/.gitignore

This file was deleted.

Loading
Loading