Skip to content

Commit

Permalink
Manual overhaul of API docs (#451)
Browse files Browse the repository at this point in the history
  • Loading branch information
ml-evs authored Sep 13, 2023
1 parent a78ba75 commit c419c39
Show file tree
Hide file tree
Showing 20 changed files with 34 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ in the Department of Chemistry at the University of Cambridge.
- A simple, intuitive UI for recording sample metadata and relationships with
other samples (batches, offshoots), alongside synthesis parameters and raw data.
- Basic analysis and plotting of live and archived data attached to a sample, e.g.,
characterisation via XRD or NMR, electrochemical cycling data and images -- see Blocks for a complete list.
characterisation via XRD or NMR, electrochemical cycling data and images (see "Data blocks" section for a complete list).
- Interactive network visualisation of the connections between samples and inventory.

## Development status
Expand Down
3 changes: 3 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ markdown_extensions:
- toc:
permalink: true

extra_css:
- css/reference.css

plugins:
- mkdocstrings:
default_handler: python
Expand Down
6 changes: 4 additions & 2 deletions pydatalab/docs/.pages
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@ nav:
- index.md
- INSTALL.md
- design
- 'Model schemas': schemas
- api_reference.md
- schemas
- blocks
- rest_api.md
- config.md
1 change: 0 additions & 1 deletion pydatalab/docs/api_reference.md

This file was deleted.

1 change: 0 additions & 1 deletion pydatalab/docs/api_reference/.pages

This file was deleted.

1 change: 1 addition & 0 deletions pydatalab/docs/blocks/.pages
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
title: Data blocks
1 change: 1 addition & 0 deletions pydatalab/docs/blocks/apps/.pages
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
title: Applications
2 changes: 2 additions & 0 deletions pydatalab/docs/blocks/apps/chat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
title: Whinchat (LLM assistant)
::: pydatalab.apps.chat
2 changes: 2 additions & 0 deletions pydatalab/docs/blocks/apps/echem.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
title: Electrochemistry
::: pydatalab.apps.echem
2 changes: 2 additions & 0 deletions pydatalab/docs/blocks/apps/eis.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
title: EIS
::: pydatalab.apps.eis
2 changes: 2 additions & 0 deletions pydatalab/docs/blocks/apps/nmr.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
title: NMR
::: pydatalab.apps.nmr
1 change: 1 addition & 0 deletions pydatalab/docs/blocks/apps/raman.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: pydatalab.apps.raman
2 changes: 2 additions & 0 deletions pydatalab/docs/blocks/apps/tga.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
title: TGA
::: pydatalab.apps.tga
2 changes: 2 additions & 0 deletions pydatalab/docs/blocks/apps/xrd.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
title: XRD
::: pydatalab.apps.xrd
1 change: 1 addition & 0 deletions pydatalab/docs/blocks/base.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: pydatalab.blocks.base
1 change: 1 addition & 0 deletions pydatalab/docs/blocks/common.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: pydatalab.blocks.common
2 changes: 2 additions & 0 deletions pydatalab/docs/config.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
title: Server configuration
::: pydatalab.config
3 changes: 3 additions & 0 deletions pydatalab/docs/css/reference.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.md-grid {
max-width: 70rem;
}
3 changes: 3 additions & 0 deletions pydatalab/docs/rest_api.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# REST API

::: pydatalab.routes.v0_1
2 changes: 1 addition & 1 deletion pydatalab/docs/schemas/.pages
Original file line number Diff line number Diff line change
@@ -1 +1 @@
title: "Schemas"
title: "Data models"

0 comments on commit c419c39

Please sign in to comment.