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

Commit

Permalink
Merge branch 'main' into deprecate-process-ids
Browse files Browse the repository at this point in the history
  • Loading branch information
malmans2 committed Nov 13, 2024
2 parents 2273898 + 0b31dc5 commit e5abec1
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .cruft.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"template": "https://github.com/ecmwf-projects/cookiecutter-conda-package",
"commit": "10b34190df391ff68b327ed9a330c412769fc474",
"commit": "3b3ac4ab7d8039431b21fec307a590e995c83dfa",
"checkout": null,
"context": {
"cookiecutter": {
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,6 @@ jobs:
with:
name: distribution
path: dist
- uses: pypa/gh-action-pypi-publish@v1.10.3
- uses: pypa/gh-action-pypi-publish@v1.12.2
with:
verbose: true
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
version.py

# Sphinx automatic generation of API
docs/README.md
docs/_api/

# Combined environments
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ repos:
- id: blackdoc
additional_dependencies: [black==23.11.0]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.1
rev: v0.7.3
hooks:
- id: ruff
args: [--fix, --show-fixes]
Expand All @@ -34,6 +34,6 @@ repos:
- id: pretty-format-toml
args: [--autofix]
- repo: https://github.com/gitleaks/gitleaks
rev: v8.21.1
rev: v8.21.2
hooks:
- id: gitleaks
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ template-update:
pre-commit run --all-files cruft -c .pre-commit-config-cruft.yaml

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

# DO NOT EDIT ABOVE THIS LINE, ADD COMMANDS BELOW

Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

CADS API Python client

Documentation: https://ecmwf-projects.github.io/cads-api-client/
Technical documentation: https://ecmwf-projects.github.io/cads-api-client/

## Configuration

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.

Expand Down
9 changes: 7 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
# Welcome to cads_api_client's documentation!
# Welcome to cads-api-client's documentation!

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

```{toctree}
:caption: 'Contents:'
:maxdepth: 2
README.md
API Reference <_api/cads_api_client/index>
```

Expand Down

0 comments on commit e5abec1

Please sign in to comment.