Skip to content

Commit

Permalink
docs and testing to install
Browse files Browse the repository at this point in the history
Signed-off-by: John Shepherd <john@openrobotics.org>
  • Loading branch information
John Shepherd committed Jan 20, 2021
1 parent e0285ec commit 44c2864
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 52 deletions.
52 changes: 0 additions & 52 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ designed to support simulation and rapid development of robot applications.

[Usage](#usage)

[Documentation](#documentation)

[Testing](#testing)

[Folder Structure](#folder-structure)

[Code of Conduct](#code-of-conduct)
Expand Down Expand Up @@ -145,54 +141,6 @@ sudo update-alternatives --install \

Please refer to the [examples directory](https://github.com/ignitionrobotics/ign-physics/raw/master/examples/).

# Documentation

API and tutorials can be found at [https://ignitionrobotics.org/libs/physics](https://ignitionrobotics.org/libs/physics).

You can also generate the documentation from a clone of this repository by following these steps.

1. You will need Doxygen. On Ubuntu Doxygen can be installed using

```
sudo apt-get install doxygen
```

2. Clone the repository

```
git clone https://github.com/ignitionrobotics/ign-physics -b ign-physics2
```

3. Configure and build the documentation.

```
cd ign-physics; mkdir build; cd build; cmake ../; make doc
```

4. View the documentation by running the following command from the build directory.

```
firefox doxygen/html/index.html
```

# Testing

Follow these steps to run tests and static code analysis in your clone of this repository.

1. Follow the [source install instruction](#source-install).

2. Run tests.

```
make test
```

3. Static code checker.

```
make codecheck
```

# Folder Structure

Refer to the following table for information about important directories and files in this repository.
Expand Down
47 changes: 47 additions & 0 deletions tutorials/02_installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,3 +194,50 @@ This assumes you have created and activated a Conda environment while installing
```
cmake --install . --config Release
```

# Documentation

API and tutorials can be found at [https://ignitionrobotics.org/libs/physics](https://ignitionrobotics.org/libs/physics).

You can also generate the documentation from a clone of this repository by following these steps.

1. You will need Doxygen. On Ubuntu Doxygen can be installed using
```
sudo apt-get install doxygen
```

2. Clone the repository
```
git clone https://github.com/ignitionrobotics/ign-physics -b ign-physics2
```

3. Configure and build the documentation.
```
cd ign-physics
mkdir build
cd build
cmake ..
make doc
```

4. View the documentation by running the following command from the build directory.
```
firefox doxygen/html/index.html
```

# Testing

Follow these steps to run tests and static code analysis in your clone of this repository.

1. Follow the [source install instruction](#source-install).

2. Run tests.
```
make test
```

3. Static code checker.
```
make codecheck
```

0 comments on commit 44c2864

Please sign in to comment.