Skip to content

Commit

Permalink
remove docs website, moved to trapi-predict-kit
Browse files Browse the repository at this point in the history
  • Loading branch information
vemonet committed Jul 21, 2023
1 parent e24a2cc commit d7dabd0
Show file tree
Hide file tree
Showing 41 changed files with 131 additions and 1,184 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/test-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,27 +79,3 @@ jobs:
- name: Test with pytest with coverage
run: |
pytest -s --cov src/openpredict --cov-report xml:coverage.xml tests/integration/*
build-docs:
needs: [ tests ]
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9

- name: Install dependencies
run: |
pip install ".[doc]"
- name: Deploy mkdocs on GitHub Pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git pull
mkdocs gh-deploy
20 changes: 0 additions & 20 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,26 +193,6 @@ Push to the [MaastrichtU-IDS GitHub Container Registry](https://github.com/orgs/
docker push ghcr.io/maastrichtu-ids/openpredict-api:latest
```

### 📖 Generate pydoc for the code

Documentation in [docs/README-pydoc.md](https://github.com/MaastrichtU-IDS/translator-openpredict/tree/master/docs/README-pydoc.md) is generated from the Python source code doc strings using [pydoc-markdown](https://pydoc-markdown.readthedocs.io/en/latest/).

```bash
pip3 install pydoc-markdown
```

Generate markdown documentation page for the `openpredict` package in `docs/`

```bash
pydoc-markdown --render-toc -p openpredict > docs/README-pydoc.md
```

Modify the generated page title automatically:

```bash
find docs/README-pydoc.md -type f -exec sed -i "s/# Table of Contents/# OpenPredict Package documentation 🔮🐍/g" {} +
```

### Update the TRAPI version

Get the latest TRAPI YAML: https://github.com/NCATSTranslator/ReasonerAPI/blob/master/TranslatorReasonerAPI.yaml
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ The `/predicates` operation will return the entities and relations provided by t

We provide [Jupyter Notebooks](https://jupyter.org/) with examples to use the OpenPredict API:

1. [Query the OpenPredict API](https://github.com/MaastrichtU-IDS/translator-openpredict/blob/master/docs/openpredict-examples.ipynb)
2. [Generate embeddings with pyRDF2Vec](https://github.com/MaastrichtU-IDS/translator-openpredict/blob/master/docs/openpredict-pyrdf2vec-embeddings.ipynb), and import them in the OpenPredict API
1. [Query the OpenPredict API](https://github.com/MaastrichtU-IDS/translator-openpredict/blob/master/resources/openpredict-examples.ipynb)
2. [Generate embeddings with pyRDF2Vec](https://github.com/MaastrichtU-IDS/translator-openpredict/blob/master/resources/openpredict-pyrdf2vec-embeddings.ipynb), and import them in the OpenPredict API

#### Add embedding :station:

Expand Down Expand Up @@ -171,7 +171,7 @@ The API will return the list of predicted target for the given entity, the label

Diagram of the data model used for OpenPredict, based on the ML Schema ontology (`mls`):

![OpenPredict datamodel](https://raw.githubusercontent.com/MaastrichtU-IDS/translator-openpredict/master/docs/OpenPREDICT_datamodel.jpg)
![OpenPredict datamodel](https://raw.githubusercontent.com/MaastrichtU-IDS/translator-openpredict/master/resources/OpenPREDICT_datamodel.jpg)

---

Expand Down
203 changes: 0 additions & 203 deletions docs/README.md

This file was deleted.

Binary file removed docs/assets/FAIR_data_principles.png
Binary file not shown.
4 changes: 0 additions & 4 deletions docs/assets/custom.css

This file was deleted.

6 changes: 0 additions & 6 deletions docs/assets/fontawesome.min.js

This file was deleted.

Binary file removed docs/assets/icon.png
Binary file not shown.
6 changes: 0 additions & 6 deletions docs/assets/solid.min.js

This file was deleted.

90 changes: 0 additions & 90 deletions docs/getting-started/create-model.md

This file was deleted.

Loading

0 comments on commit d7dabd0

Please sign in to comment.