Skip to content

Commit ddd1820

Browse files
committed
Setup readme as main docs page
1 parent 7f38686 commit ddd1820

5 files changed

Lines changed: 39 additions & 12 deletions

File tree

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@
88
[![fair-software badge](https://img.shields.io/badge/fair--software.eu-%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8B-yellow)](https://fair-software.eu)
99
[![sonarcloud](https://github.com/EcoExtreML/stemmus_scope_processing/actions/workflows/sonarcloud.yml/badge.svg)](https://github.com/EcoExtreML/stemmus_scope_processing/actions/workflows/sonarcloud.yml)
1010
[![github license badge](https://img.shields.io/github/license/EcoExtreML/stemmus_scope_processing)](https://github.com/EcoExtreML/stemmus_scope_processing)
11+
[![Documentation Status](https://readthedocs.org/projects/pystemmusscope/badge/?version=latest)](https://pystemmusscope.readthedocs.io/en/latest/?badge=latest)
1112

12-
<!-- [![RSD](https://img.shields.io/badge/rsd-pystemmusscope-00a3e3.svg)](https://www.research-software.nl/software/pystemmusscope)
13-
[![workflow pypi badge](https://img.shields.io/pypi/v/pystemmusscope.svg?colorB=blue)](https://pypi.python.org/project/pystemmusscope/)
13+
<!-- [![RSD](https://img.shields.io/badge/rsd-pystemmusscope-00a3e3.svg)](https://www.research-software.nl/software/pystemmusscope)
14+
[![workflow pypi badge](https://img.shields.io/pypi/v/pystemmusscope.svg?colorB=blue)](https://pypi.python.org/project/pystemmusscope/)
1415
[![DOI](https://zenodo.org/badge/DOI/<replace-with-created-DOI>.svg)](https://doi.org/<replace-with-created-DOI>)
1516
[![workflow cii badge](https://bestpractices.coreinfrastructure.org/projects/<replace-with-created-project-identifier>/badge)](https://bestpractices.coreinfrastructure.org/projects/<replace-with-created-project-identifier>)
1617
[![workflow scc badge](https://sonarcloud.io/api/project_badges/measure?project=EcoExtreML_stemmus_scope_processing&metric=coverage)](https://sonarcloud.io/dashboard?id=EcoExtreML_stemmus_scope_processing)
17-
[![Documentation Status](https://readthedocs.org/projects/stemmus_scope_processing/badge/?version=latest)](https://stemmus_scope_processing.readthedocs.io/en/latest/?badge=latest)
18-
[![cffconvert](https://github.com/EcoExtreML/stemmus_scope_processing/actions/workflows/cffconvert.yml/badge.svg)](https://github.com/EcoExtreML/stemmus_scope_processing/actions/workflows/cffconvert.yml)
18+
[![cffconvert](https://github.com/EcoExtreML/stemmus_scope_processing/actions/workflows/cffconvert.yml/badge.svg)](https://github.com/EcoExtreML/stemmus_scope_processing/actions/workflows/cffconvert.yml)
1919
[![markdown-link-check](https://github.com/EcoExtreML/stemmus_scope_processing/actions/workflows/markdown-link-check.yml/badge.svg)](https://github.com/EcoExtreML/stemmus_scope_processing/actions/workflows/markdown-link-check.yml) -->
2020

2121

22-
This repositary includes python modules for running the STEMMUS-SCOPE model in a notebook.
22+
This repositary includes python modules for running the STEMMUS-SCOPE model in a notebook.
2323

2424
The workflow is executed using python and MATLAB Runtime on a Unix-like system.
2525
The python packages are listed in the
@@ -65,7 +65,7 @@ In a terminal:
6565
# Download MATLAB Runtime for Linux
6666
wget https://ssd.mathworks.com/supportfiles/downloads/R2021a/Release/6/deployment_files/installer/complete/glnxa64/MATLAB_Runtime_R2021a_Update_6_glnxa64.zip
6767

68-
# Unzip the file
68+
# Unzip the file
6969
unzip MATLAB_Runtime_R2021a_Update_6_glnxa64.zip
7070

7171
# Install it
@@ -114,7 +114,7 @@ can not be installed there.
114114
The execution of the model includes following steps:
115115

116116
- Update/set config files
117-
- Create input directories, prepare input files
117+
- Create input directories, prepare input files
118118
- Run the model
119119
- Create output directories, prepare output files
120120

docs/conf.py

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717

1818
# -- Project information -----------------------------------------------------
1919

20-
project = u"PyStemmusScope"
21-
copyright = u"2022, Netherlands eScience Center"
22-
author = u"Sarah Alidoost"
20+
project = "PyStemmusScope"
21+
copyright = "2022, Netherlands eScience Center"
22+
author = "Sarah Alidoost"
2323

2424
# The version info for the project you're documenting, acts as replacement for
2525
# |version| and |release|, also used in various other places throughout the
@@ -76,6 +76,20 @@
7676
#
7777
# html_theme_options = {}
7878

79+
# Custom sidebar templates, must be a dictionary that maps document names
80+
# to template names.
81+
#
82+
# This is required for the alabaster theme
83+
# refs: http://alabaster.readthedocs.io/en/latest/installation.html#sidebars
84+
html_sidebars = {
85+
"**": [
86+
'globaltoc.html',
87+
"relations.html", # needs 'show_related': True theme option to display
88+
"searchbox.html",
89+
]
90+
}
91+
92+
7993
# -- Options for Intersphinx
8094

8195
intersphinx_mapping = {'python': ('https://docs.python.org/3', None),

docs/contributing_link.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.. include:: ../CONTRIBUTING.md
2+
:parser: myst_parser.sphinx_

docs/index.rst

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,21 @@
33
You can adapt this file completely to your liking, but it should at least
44
contain the root `toctree` directive.
55
6-
Welcome to PyStemmusScope's documentation!
7-
==========================================================
6+
7+
.. include:: ../README.md
8+
:parser: myst_parser.sphinx_
89

910
.. toctree::
1011
:maxdepth: 2
1112
:caption: Contents:
13+
:hidden:
14+
15+
Readme <readme_link>
16+
Project Setup <project_setup.md>
17+
Developer Readme <README.dev.md>
18+
Contributing <contributing_link>
19+
Code of Conduct <CODE_OF_CONDUCT.md>
20+
Changelog <CHANGELOG.md>
1221

1322
Indices and tables
1423
==================

docs/readme_link.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.. include:: ../README.md
2+
:parser: myst_parser.sphinx_

0 commit comments

Comments
 (0)