Skip to content

Commit 1ccef7d

Browse files
docs: Setup readthedocs for medcat (#6)
* Setup readthedocs for medcat * docs: Add MedCAT logo for docs. Update links
1 parent 98b22cd commit 1ccef7d

File tree

7 files changed

+85
-10
lines changed

7 files changed

+85
-10
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
# Cogstack NLP
22

3-
[![Build Status](https://github.com/CogStack/cogstack-nlp/actions/workflows/medcat-v2-main.yml/badge.svg?branch=main)](https://github.com/CogStack/MedCAT2/actions/workflows/main.yml?query=branch%3main)
4-
[![Documentation Status](https://readthedocs.org/projects/medcat2/badge/?version=latest)](https://medcat2.readthedocs.io/en/latest/?badge=latest)
3+
[![Build Status](https://github.com/CogStack/cogstack-nlp/actions/workflows/medcat-v2_main.yml/badge.svg?branch=main)](https://github.com/CogStack/cogstack-nlp/actions/workflows/medcat-v2_main.yml/badge.svg?branch=main)
4+
[![Documentation Status](https://readthedocs.org/projects/cogstack-nlp/badge/?version=latest)](https://readthedocs.org/projects/cogstack-nlp/badge/?version=latest)
55
[![Latest release](https://img.shields.io/github/v/release/CogStack/MedCAT2)](https://github.com/CogStack/MedCAT2/releases/latest)
6+
<!-- [![pypi Version](https://img.shields.io/pypi/v/medcat.svg?style=flat-square&logo=pypi&logoColor=white)](https://pypi.org/project/medcat/) -->
67

78
Cogstack Natural Language Processing is for analysing clinical data using AI to draw insights from text in or documents in an Electronic Health Records.
89

910

1011
**Official Docs [here](https://medcat2.readthedocs.io/en/latest/)**
12+
1113
**Discussion Forum [discourse](https://discourse.cogstack.org/)**
1214

medcat-v2/.readthedocs.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ build:
1010
python: "3.10"
1111

1212
sphinx:
13-
configuration: docs/conf.py
13+
configuration: medcat-v2/docs/conf.py
1414

1515
python:
1616
install:
17-
- requirements: docs/requirements.txt
17+
- requirements: medcat-v2/docs/requirements.txt
1818
- method: pip
19-
path: .
19+
path: medcat-v2/

medcat-v2/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# Medical <img src="https://raw.githubusercontent.com/CogStack/MedCAT/main/media/cat-logo.png" width=45> oncept Annotation Tool (version 2)
1+
# Medical <img src="https://github.com/CogStack/cogstack-nlp/blob/main/media/cat-logo.png?raw=true" width=45> oncept Annotation Tool (version 2)
22

33
**There's a number of breaking changes in MedCAT v2 compared to v1.**
44
Details are outlined [here](docs/breaking_changes.md).
55

6-
[![Build Status](https://github.com/CogStack/MedCAT2/actions/workflows/main.yml/badge.svg?branch=main)](https://github.com/CogStack/MedCAT2/actions/workflows/main.yml?query=branch%3main)
7-
[![Documentation Status](https://readthedocs.org/projects/medcat2/badge/?version=latest)](https://medcat2.readthedocs.io/en/latest/?badge=latest)
6+
[![Build Status](https://github.com/CogStack/cogstack-nlp/actions/workflows/medcat-v2_main.yml/badge.svg?branch=main)](https://github.com/CogStack/cogstack-nlp/actions/workflows/medcat-v2_main.yml/badge.svg?branch=main)
7+
[![Documentation Status](https://readthedocs.org/projects/cogstack-nlp/badge/?version=latest)](https://readthedocs.org/projects/cogstack-nlp/badge/?version=latest)
88
[![Latest release](https://img.shields.io/github/v/release/CogStack/MedCAT2)](https://github.com/CogStack/MedCAT2/releases/latest)
99
<!-- [![pypi Version](https://img.shields.io/pypi/v/medcat.svg?style=flat-square&logo=pypi&logoColor=white)](https://pypi.org/project/medcat/) -->
1010

medcat-v2/docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
'css/overrides.css'
7676
]
7777

78-
html_logo = '../media/cat-logo.svg'
78+
html_logo = '../../media/cat-logo.svg'
7979

8080
html_theme_options = {
8181
'display_version': True,

medcat-v2/docs/main.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Medical <img src="https://github.com/CogStack/cogstack-nlp/blob/main/medcat-v2/media/cat-logo.png?raw=true" width=45>oncept Annotation Tool (v2)
1+
# Medical <img src="https://github.com/CogStack/cogstack-nlp/blob/main/media/cat-logo.png?raw=true" width=45>oncept Annotation Tool (v2)
22

33
**There's a number of breaking changes in MedCAT v2 compared to v1.**
44
Details are outlined [here](breaking_changes.md).

media/cat-logo.png

103 KB
Loading

media/cat-logo.svg

Lines changed: 73 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)