Skip to content

Commit

Permalink
update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
RSchwan committed Jun 18, 2024
1 parent bc4d25a commit 4aa61fa
Show file tree
Hide file tree
Showing 8 changed files with 48 additions and 57 deletions.
4 changes: 2 additions & 2 deletions docs/interfaces/c_cpp/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ nav_order: 1

### Building and Installing PIQP

* Clone PIQP from Github recursively
* Clone PIQP from Github
```shell
git clone https://github.com/PREDICT-EPFL/piqp.git --recurse-submodules
git clone https://github.com/PREDICT-EPFL/piqp.git
```
* Build PIQP in a `build` folder
```shell
Expand Down
4 changes: 2 additions & 2 deletions docs/interfaces/matlab/getting_started.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
title: Getting Started
layout: default
parent: Matlab
parent: Matlab / Octave
grand_parent: Interfaces
nav_order: 2
nav_order: 3
---

{% root_include _common/problem_formulation.md %}
Expand Down
2 changes: 1 addition & 1 deletion docs/interfaces/matlab/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Matlab
title: Matlab / Octave
layout: default
nav_order: 3
parent: Interfaces
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Installation
title: Installation (Matlab)
layout: default
parent: Matlab
parent: Matlab / Octave
grand_parent: Interfaces
nav_order: 1
---
Expand All @@ -21,9 +21,9 @@ install_piqp

### Building and Installing PIQP

* Clone PIQP from Github recursively
* Clone PIQP from Github
```shell
git clone https://github.com/PREDICT-EPFL/piqp.git --recurse-submodules
git clone https://github.com/PREDICT-EPFL/piqp.git
```
* Build the interface in Matlab by executing the following commands
```matlab
Expand Down
37 changes: 37 additions & 0 deletions docs/interfaces/matlab/installation_octave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
title: Installation (Octave)
layout: default
parent: Matlab / Octave
grand_parent: Interfaces
nav_order: 2
---

## Installing package

PIQP can be directly installed running the following command

```matlab
pkg install "https://github.com/PREDICT-EPFL/piqp/releases/latest/download/piqp-octave.tar.gz"
```

Before using PIQP in Octave make sure to load it in your script with
```matlab
pkg load piqp
```

## Building and Installing from Source

* Clone PIQP from Github
```shell
git clone https://github.com/PREDICT-EPFL/piqp.git
```
* Package PIQP in Octave by executing the following commands
```matlab
cd interfaces/octave
package_piqp
```
This will download all dependencies and package the Octave interface into a `piqp-octave.tar.gz` file.
You can then install the package with
```matlab
pkg install piqp-octave.tar.gz
```
6 changes: 0 additions & 6 deletions docs/interfaces/octave/index.md

This file was deleted.

40 changes: 0 additions & 40 deletions docs/interfaces/octave/installation.md

This file was deleted.

4 changes: 2 additions & 2 deletions docs/interfaces/python/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ conda install -c conda-forge piqp

### Building and Installing PIQP

* Clone PIQP from Github recursively
* Clone PIQP from Github
```shell
git clone https://github.com/PREDICT-EPFL/piqp.git --recurse-submodules
git clone https://github.com/PREDICT-EPFL/piqp.git
```
* Building and installing PIQP
```shell
Expand Down

0 comments on commit 4aa61fa

Please sign in to comment.