Skip to content

Commit

Permalink
adds documentation setup and skeleton
Browse files Browse the repository at this point in the history
  • Loading branch information
SandyRogers committed May 24, 2022
1 parent 13d28cb commit 01475fb
Show file tree
Hide file tree
Showing 8 changed files with 75 additions and 1 deletion.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Use [Black](https://black.readthedocs.io/en/stable/).

## Testing
```shell
pip install -r requirements-dev.txt
pytest
```

Expand All @@ -51,4 +52,18 @@ python manage.py runserver
```

## Deployment
TODO
TODO

## Documentation
There is an [mkdocs](https://www.mkdocs.org/) based documentation pack in the `docs/` folder
configured by `mkdocs.yml`.
This is suitable for serving on [ReadTheDocs](https://readthedocs.org/).

To develop documentation:
```shell
pip install -r requirements-docs.txt
mkdocs serve
```
and edit the Markdown files in `docs/*.md`.

If you add a new file (page), add it to the navigation by editing the `nav` field of `mkdocs.yml`.
1 change: 1 addition & 0 deletions docs/api.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# API for programmatic access
15 changes: 15 additions & 0 deletions docs/data.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Datasets

## ENA Projects

## ENA Samples

## ENA Checklist Metadata

## Biosamples Metadata

## MGnify: Metagenomics

## MetaboLights: Metabolomics

## Summary analyses
13 changes: 13 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# HoloFood Data Portal - Documentation

## Holofood Data Portal
The database and website to present [Holofood](https://www.holofood.eu) samples,
and unify the datasets stored in supporting services.

## Background
HoloFood is a consortium and project focussed on understanding the biomolecular
and physiological processes triggered by incorporating feed additives and novel
sustainable feeds in farmed animals.

The data portal is a public website and API for browsing the Samples and datasets
created by the project, which are stored in publicly-accessible data repositories.
7 changes: 7 additions & 0 deletions docs/partners.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Admin access for HoloFood partners

## Managing the database

## Authoring new Summary Analysis documents

## Editing and publishing Summary Analysis documents
7 changes: 7 additions & 0 deletions docs/website.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Browsing the website

## Finding Samples

## Downloading sample lists and metadata

## Finding analysis summaries
15 changes: 15 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
site_name: HoloFood Data Portal Documentation
repo_url: https://github.com/EBI-Metagenomics/holofood-database/
site_description: Documentation for the HoloFood Data Portal – a hub for accessing datasets and samples creating by the HoloFood Project
site_author: HoloFood Consortium

theme:
name: readthedocs
highlightjs: true

nav:
- 'index.md'
- 'data.md'
- 'website.md'
- 'api.md'
- 'partners.md'
1 change: 1 addition & 0 deletions requirements-docs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mkdocs==1.3.0

0 comments on commit 01475fb

Please sign in to comment.