Skip to content

Commit

Permalink
Changes to documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
spaaaacccee committed Apr 26, 2024
1 parent e4631f8 commit 074a289
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 22 deletions.
27 changes: 15 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,28 @@

![logo64](./docs/assets/22-09-2023/logo64.png)

# Visualiser
# Posthoc Visualiser

Visualise pathfinding search and more.
[Open Posthoc](https://http://posthoc.pathfinding.ai/)

[Open Visualiser](https://path-visualiser.github.io/app)
**Posthoc** is a way to build quick-and-dirty visualisations ✨ for sequential decision-making algorithms, such as search algorithms 🚀.

## Start Development Server
![Alt text](./docs/assets/screenshot.png)

```bash
git clone https://github.com/path-visualiser/app
cd ./app
npm i
npm start
```
It's easy to get started.

1. Print logs as [search traces](https://path-visualiser.github.io/docs/search-trace)
2. Load those into the [Posthoc visualiser](https://path-visualiser.github.io/docs/category/posthoc-visualiser)
3. Voila!

## Documentation

[View documentation](https://path-visualiser.github.io)

## Changelog

[View Changelog](./docs/changelog.md)
[View changelog](./docs/changelog.md)

## Releases

[View Releases](https://github.com/path-visualiser/app/releases)
[View releases](https://github.com/path-visualiser/app/releases)
10 changes: 3 additions & 7 deletions client/src/components/title-bar/TitleBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { startCase } from "lodash";
import PopupState, { bindMenu, bindTrigger } from "material-ui-popup-state";
import { nanoid as id } from "nanoid";
import logo from "public/logo512.png";
import { docs, repository, version } from "public/manifest.json";
import { changelog, repository, version, docs } from "public/manifest.json";
import {
ReactElement,
ReactNode,
Expand Down Expand Up @@ -193,17 +193,13 @@ export const TitleBar = () => {
name: "Changelog",
key: "changelog",
action: () =>
open(`${docs}/changelog-${version}.md`, "_blank"),
open(`${changelog}/changelog-${version}.md`, "_blank"),
},
{
type: "action",
name: "Documentation",
key: "documentation",
action: () =>
open(
`https://path-visualiser.github.io/docs/overview/`,
"_blank"
),
action: () => open(docs, "_blank"),
},
],
},
Expand Down
4 changes: 2 additions & 2 deletions client/src/pages/ExplorePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import {
} from "lodash";
import { map as mapAsync } from "promise-tools";
import { FeatureDescriptor } from "protocol/FeatureQuery";
import { homepage, name } from "public/manifest.json";
import { docs, name } from "public/manifest.json";
import { CSSProperties, ReactNode, useMemo, useState } from "react";
import { useAsync } from "react-async-hook";
import { useLoadingState } from "slices/loading";
Expand Down Expand Up @@ -408,7 +408,7 @@ export function ExplorePage({ template: Page }: PageContentProps) {
documentation instead.
</Type>
<Button
onClick={() => window.open(homepage, "_blank")}
onClick={() => window.open(docs, "_blank")}
startIcon={<LaunchOutlined />}
>
Open Documentation
Expand Down
2 changes: 1 addition & 1 deletion client/src/pages/TreePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ export function TreePage({ template: Page }: PageContentProps) {
Step {selected.current.step}
</Typography>
</ListItem>
<Box px={2}>
<Box px={2} py={1}>
<PropertyList
event={selected.current.event}
vertical
Expand Down

0 comments on commit 074a289

Please sign in to comment.