Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc refinement #18

Merged
merged 2 commits into from
Mar 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Documentation

on:
push:
branches:
- main

jobs:
build:

runs-on: windows-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: "3.8"

- name: Install mikeplus
run: pip install .[dev]

- name: MkDocs
run: mkdocs build

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: site
41 changes: 36 additions & 5 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,40 @@
# mikeplus Documentation
![logo](https://raw.githubusercontent.com/DHI/mikepluspy/main/images/logo/mikeplus-py.svg)
# MIKE+Py: automate your workflows.

## Install
```
pip install mikeplus
```
MIKE+Py is a python interface for MIKE+. Its main features include:
* Modifying the MIKE+ database in a way that is consistent with the GUI.
* Run different kinds of simulations (e.g. MIKE 1D, EPANET, SWMM)
* Access certain GUI tools pythonically (e.g. import/export tool).

> [!CAUTION]
> MIKE+Py is experimental and under development.
> * Be aware that there may be bugs or unexpected behavior - use with caution.
> * Always make copies of your MIKE+ databases and verify the outcome of scripts.
> * If you encounter any issues or have any feedback, please report them on [GitHub Issues](https://github.com/DHI/mikepluspy/issues).

## Requirements
* MIKE+ 2024 (or greater) with valid license
* Python x64 3.8 to 3.12
* Windows operating system

## Installation

The version of MIKE+Py you install must match the version of MIKE+ installed on your desktop.

> [!NOTE]
> MIKE+Py is not yet available on PyPI since it is in the initial development stages.

| MIKE+ Version | Install command|
|:--------------|:---------------|
| MIKE+ 2024 | `pip install https://github.com/DHI/mikepluspy/archive/refs/tags/v2024.0-latest.zip` |


## Examples
Please check out the jupyter notebooks here: https://github.com/DHI/mikepluspy/tree/main/notebooks

## Where can I get help?
* General help, new ideas and feature requests - [GitHub Discussions](http://github.com/DHI/mikepluspy/discussions)
* Bugs - [GitHub Issues](https://github.com/DHI/mikepluspy/issues)


## Getting started
Expand Down
Loading