Skip to content

Commit

Permalink
docs: reorganize README with emphasis on end user documentation (#333)
Browse files Browse the repository at this point in the history
Fixes #265
  • Loading branch information
chrispcampbell authored Jul 24, 2023
1 parent 8a3ead0 commit 064148b
Show file tree
Hide file tree
Showing 27 changed files with 834 additions and 737 deletions.
857 changes: 270 additions & 587 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/sir/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ cd ./sir
# Create a new project (you can also use yarn or pnpm here, if preferred).
# Be sure to choose the "Default" template, which will make use of the
# existing files in the `config` directory.
npm create @sdeverywhere
npm create @sdeverywhere@latest

# Enter development mode for the sample model. This will start a live
# development environment that will build a WebAssembly version of the
Expand Down
2 changes: 1 addition & 1 deletion examples/template-default/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The project includes:
```sh
# Create a new project (you can also use yarn or pnpm here, if preferred).
# Be sure to choose the "Default" template.
npm create @sdeverywhere
npm create @sdeverywhere@latest

# Enter development mode for your model. This will start a live
# development environment that will build a WebAssembly version of the
Expand Down
2 changes: 1 addition & 1 deletion examples/template-minimal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ to add the `@sdeverywhere/plugin-config` package to your project.)
```sh
# Create a new project (you can also use yarn or pnpm here, if preferred).
# Be sure to choose the "Minimal" template.
npm create @sdeverywhere
npm create @sdeverywhere@latest

# Enter development mode for your model. This will start a live
# development environment that will build a WebAssembly version of the
Expand Down
Binary file removed notes/Code Generation Diagram.pdf
Binary file not shown.
Binary file removed notes/Code-Generation-Diagram.png
Binary file not shown.
Binary file removed notes/Run Loop Diagram.pdf
Binary file not shown.
Binary file removed notes/Run-Loop-Diagram.png
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file removed notes/Visitor Classes Diagram.afdesign
Binary file not shown.
Binary file removed notes/Visitor Classes Diagram.pdf
Binary file not shown.
Binary file removed notes/Visitor-Classes-Diagram.png
Binary file not shown.
Binary file removed notes/smooth3.png
Binary file not shown.
26 changes: 25 additions & 1 deletion packages/build/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,30 @@
# @sdeverywhere/build

This package provides the core build and plugin API for SDEverywhere.
This package provides the core build and plugin API for [SDEverywhere](https://github.com/climateinteractive/SDEverywhere).

## Quick Start

The best way to get started with SDEverywhere is to follow the [Quick Start](https://github.com/climateinteractive/SDEverywhere#quick-start) instructions.
If you follow those instructions, the `@sdeverywhere/build` package will be added to your project automatically, in which case you can skip the following section.

## Install

```sh
# npm
npm install --save-dev @sdeverywhere/build

# pnpm
pnpm add -D @sdeverywhere/build

# yarn
yarn add -D @sdeverywhere/build
```

## Usage

Most users do not need to interact with the `@sdeverywhere/build` package directly; it is primarily used in the implementation of the `sde` command line tool (from the `@sdeverywhere/cli` package).

However, if you are building a custom plugin or a tool that drives the build process programmatically, you can refer to the API documentation below for more details.

## Documentation

Expand Down
30 changes: 28 additions & 2 deletions packages/check-core/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,33 @@
# @sdeverywhere/check-core

This package provides the core implementation of SDEverywhere's system dynamics
model checking and comparison functionality.
This package provides the core implementation of the System Dynamics model checking and comparison functionality in [SDEverywhere](https://github.com/climateinteractive/SDEverywhere).

## Quick Start

The best way to get started with SDEverywhere is to follow the [Quick Start](https://github.com/climateinteractive/SDEverywhere#quick-start) instructions.
If you follow those instructions, the `@sdeverywhere/plugin-check` package will be added to your project, and that package uses `@sdeverywhere/check-core` as an implementation detail.
Therefore, most users do not need to install this package directly.

## Install

As noted above, most users do not need to install this package directly, but for more advanced use cases, it can be installed as follows.

```sh
# npm
npm install @sdeverywhere/check-core

# pnpm
pnpm add @sdeverywhere/check-core

# yarn
yarn add @sdeverywhere/check-core
```

## Usage

Most users do not need to interact with the `@sdeverywhere/check-core` package directly; it is primarily used in the implementation of `@sdeverywhere/plugin-check` and the related UI package, `@sdeverywhere/check-ui-shell`.

However, if you would like to build a custom tool for running checks and comparison tests on models, you can refer to the API documentation below for more details.

## Documentation

Expand Down
36 changes: 31 additions & 5 deletions packages/check-ui-shell/README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,37 @@
# @sdeverywhere/check-ui-shell

This package provides a complete user interface for a model check/comparison
report as generated by SDEverywhere.
This package provides a complete user interface for a model check/comparison report as generated by [SDEverywhere](https://github.com/climateinteractive/SDEverywhere).

Note: Most developers will not need to work with this package directly.
It is generally used as an implementation detail by the
`@sdeverywhere/plugin-check` package as part of generating a report.
## Quick Start

The best way to get started with SDEverywhere is to follow the [Quick Start](https://github.com/climateinteractive/SDEverywhere#quick-start) instructions.
If you follow those instructions, the `@sdeverywhere/plugin-check` package will be added to your project, and that package uses `@sdeverywhere/check-ui-shell` as an implementation detail.
Therefore, most users do not need to install this package directly.

## Install

As noted above, most users do not need to install this package directly, but for more advanced use cases, it can be installed as follows.

```sh
# npm
npm install @sdeverywhere/check-ui-shell

# pnpm
pnpm add @sdeverywhere/check-ui-shell

# yarn
yarn add @sdeverywhere/check-ui-shell
```

## Usage

Most users do not need to interact with the `@sdeverywhere/check-ui-shell` package directly; it is primarily used in the implementation of the `@sdeverywhere/plugin-check` package.

However, if you would like to build a custom tool for running checks and comparison tests on models, you can refer to the API documentation below for more details.

## Documentation

API documentation is available in the [`docs`](./docs/index.md) directory.

## License

Expand Down
Loading

0 comments on commit 064148b

Please sign in to comment.