Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit e5abec1

Browse files
committed
Merge branch 'main' into deprecate-process-ids
2 parents 2273898 + 0b31dc5 commit e5abec1

File tree

7 files changed

+16
-8
lines changed

7 files changed

+16
-8
lines changed

.cruft.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"template": "https://github.com/ecmwf-projects/cookiecutter-conda-package",
3-
"commit": "10b34190df391ff68b327ed9a330c412769fc474",
3+
"commit": "3b3ac4ab7d8039431b21fec307a590e995c83dfa",
44
"checkout": null,
55
"context": {
66
"cookiecutter": {

.github/workflows/on-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,6 @@ jobs:
242242
with:
243243
name: distribution
244244
path: dist
245-
- uses: pypa/gh-action-pypi-publish@v1.10.3
245+
- uses: pypa/gh-action-pypi-publish@v1.12.2
246246
with:
247247
verbose: true

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
version.py
33

44
# Sphinx automatic generation of API
5+
docs/README.md
56
docs/_api/
67

78
# Combined environments

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ repos:
1717
- id: blackdoc
1818
additional_dependencies: [black==23.11.0]
1919
- repo: https://github.com/astral-sh/ruff-pre-commit
20-
rev: v0.7.1
20+
rev: v0.7.3
2121
hooks:
2222
- id: ruff
2323
args: [--fix, --show-fixes]
@@ -34,6 +34,6 @@ repos:
3434
- id: pretty-format-toml
3535
args: [--autofix]
3636
- repo: https://github.com/gitleaks/gitleaks
37-
rev: v8.21.1
37+
rev: v8.21.2
3838
hooks:
3939
- id: gitleaks

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ template-update:
2929
pre-commit run --all-files cruft -c .pre-commit-config-cruft.yaml
3030

3131
docs-build:
32-
cd docs && rm -fr _api && make clean && make html
32+
cp README.md docs/. && cd docs && rm -fr _api && make clean && make html
3333

3434
# DO NOT EDIT ABOVE THIS LINE, ADD COMMANDS BELOW
3535

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
CADS API Python client
44

5-
Documentation: https://ecmwf-projects.github.io/cads-api-client/
5+
Technical documentation: https://ecmwf-projects.github.io/cads-api-client/
6+
7+
## Configuration
68

79
The `ApiClient` requires the `url` to the API root and a valid API `key`. You can also set the `CADS_API_URL` and `CADS_API_KEY` environment variables, or use a configuration file. The configuration file must be located at `~/.cads-api-client.json`, or at the path specified by the `CADS_API_RC` environment variable.
810

docs/index.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
1-
# Welcome to cads_api_client's documentation!
1+
# Welcome to cads-api-client's documentation!
22

3-
CADS API Python client.
3+
The `cads-api-client` provides programmatic access to the CDS, ADS and EWDS data catalogues.
4+
These pages provide technical documentation for advanced users and/or developers.
5+
For a more detailed and user friendly documentation please refer to the
6+
[Climate Data Store (CDS) User Guide](https://confluence.ecmwf.int/x/vTRtD) in the Copernicus
7+
Knowledge Base.
48

59
```{toctree}
610
:caption: 'Contents:'
711
:maxdepth: 2
812
13+
README.md
914
API Reference <_api/cads_api_client/index>
1015
```
1116

0 commit comments

Comments
 (0)