Skip to content

Commit b273b5b

Browse files
authored
MRG: Merge pull request #71 from octue/doc/fix-sphinx-documentation
Fix sphinx documentation
2 parents 48a8bf5 + c486b12 commit b273b5b

File tree

3 files changed

+10
-17
lines changed

3 files changed

+10
-17
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,11 @@ repos:
3333
rev: 0.0.1
3434
hooks:
3535
- id: build-docs
36+
language_version: python3
3637
additional_dependencies:
38+
- 'Sphinx>=2,<3'
39+
- 'sphinx-rtd-theme==0.5.0'
40+
- 'sphinx-tabs==1.2.1'
3741
- 'scipy~=1.5.2'
3842
- 'jsonschema~=3.2.0'
3943

README.md

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,18 @@
11
[![PyPI version](https://badge.fury.io/py/octue.svg)](https://badge.fury.io/py/octue)
22
[![codecov](https://codecov.io/gh/octue/octue-sdk-python/branch/main/graph/badge.svg?token=4KdR7fmwcT)](https://codecov.io/gh/octue/octue-sdk-python)
3-
[![Documentation Status](https://readthedocs.org/projects/octue/badge/?version=latest)](https://octue.readthedocs.io/en/latest/?badge=latest)
3+
[![Documentation Status](https://readthedocs.org/projects/octue-python-sdk/badge/?version=latest)](https://octue-python-sdk.readthedocs.io/en/latest/?badge=latest)
44
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit)
55
[![black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)
66
[![black-girls-code](https://img.shields.io/badge/black%20girls-code-f64279.svg)](https://www.blackgirlscode.com/)
77

88
# octue-sdk-python <span><img src="http://slurmed.com/fanart/javier/213_purple-fruit-snake.gif" alt="Purple Fruit Snake" width="100"/></span>
99

10-
Utilities for running python based data services, digital twins and applications with the Octue toolkit and [twined](https://www.twined.readthedocs.io) SDK for python based apps running within octue.
11-
12-
[See documentation.](https://octue.readthedocs.io/en/latest)
10+
Utilities for running python based data services, digital twins and applications with the Octue toolkit and [twined](https://twined.readthedocs.io/en/latest/?badge=latest) SDK for python based apps running within octue.
1311

1412

1513
## Developer notes
1614

17-
**Documentation for use of the library is [here](https://{{library_name}}.readthedocs.io). You don't need to pay attention to the following unless you plan to develop {{library_name}} itself.**
18-
19-
### Getting started
20-
21-
1. Click 'use this template' to the top right, and away you go.
22-
2. Search for `{{` in your new repository. Do search and replace for the various terms - it's obvious what they are, like replace `{{github_username}}` with your github username!
23-
3. Set up the license you need in `LICENSE`.
24-
4. If you need to deploy to pypi, you have to do the first deploy manually - travis can't do that for you. [See the packaging instructions](https://packaging.python.org/tutorials/distributing-packages/#uploading-your-project-to-pypi).
15+
**Documentation for use of the library is [here](https://octue-python-sdk.readthedocs.io). You don't need to pay attention to the following unless you plan to develop `octue-sdk-python` itself.**
2516

2617
### Pre-Commit
2718

docs/requirements.txt

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11

22
# Required by the python script for building documentation
3-
Sphinx==1.8.3
4-
sphinx-rtd-theme==0.4.2
5-
sphinx-tabs==1.1.10
6-
breathe==4.11.1
7-
exhale==0.2.1
3+
Sphinx>=2,<3
4+
sphinx-rtd-theme==0.5.0
5+
sphinx-tabs==1.2.1

0 commit comments

Comments
 (0)