git.iko.soy/rowtype-yoga/purescript-docs-search
on master help sign in
CHANGELOG.md+1
since splitsnapshots
unifiedsplit
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
10Changes:
10Changes:
11- Package structure change: `dist/purescript-docs-search.cjs` has been moved to `dist/purescript-docs-search.cjs` due to NodeJS restrictions for `type: module` packages.
11- Package structure change: `dist/purescript-docs-search.cjs` has been moved to `dist/purescript-docs-search.cjs` due to NodeJS restrictions for `type: module` packages.
12+- Improve output for data and newtype constuctors ([#58](https://github.com/purescript/purescript-docs-search/pull/58))
12
13
13New features:
14New features:
14- Docs for each CLI option
15- Docs for each CLI option
README.md+4−4
@@ -1,8 +1,8 @@
1# purescript-docs-search
1# purescript-docs-search
2
2
3−[![Build status](https://travis-ci.org/spacchetti/purescript-docs-search.svg?branch=master)](https://travis-ci.org/spacchetti/purescript-docs-search)
3+[![Build status](https://github.com/purescript/purescript-docs-search/actions/workflows/build.yml/badge.svg)](https://github.com/purescript/purescript-docs-search/actions/workflows/build.yml)
4
4
5−An app that adds search capabilities to generated documentation for purescript code.
5+An app that adds search capabilities to generated documentation for PureScript code.
6
6
7It supports nearly-all functionality of [Pursuit](https://github.com/purescript/pursuit), including querying by type.
7It supports nearly-all functionality of [Pursuit](https://github.com/purescript/pursuit), including querying by type.
8
8
@@ -10,7 +10,7 @@ It supports nearly-all functionality of [Pursuit](https://github.com/purescript/
10
10
11When using [spago](https://github.com/spacchetti/spago), you don't need to install this app manually: run `spago docs` or `spago search`.
11When using [spago](https://github.com/spacchetti/spago), you don't need to install this app manually: run `spago docs` or `spago search`.
12
12
13−Otherwise, use [npx](https://github.com/npm/npx): `npx purescript-docs-search`.
13+Otherwise, use NPM (`npm install purescript-docs-search`) or [npx](https://github.com/npm/npx): `npx purescript-docs-search`.
14
14
15## Usage
15## Usage
16
16
@@ -45,4 +45,4 @@ npm install
45npm run build # or build-dev to skip JS compression stage
45npm run build # or build-dev to skip JS compression stage
46```
46```
47
47
48−Use `spago docs --no-search && ./dist/purescript-docs-search build-index` to generate the docs and patch them using the local version of the app.
48+Use `spago docs --no-search && ./dist/purescript-docs-search.cjs build-index` to generate the docs and patch them using the local version of the app.
src/Docs/Search/Interactive.purs−1
@@ -297,7 +297,6 @@ showExternDataSignature { kind } { name } =
297 keyword "foreign data" <>
297 keyword "foreign data" <>
298 space <>
298 space <>
299 yellow (unwrap name) <>
299 yellow (unwrap name) <>
300− space <>
301 syntax " :: " <>
300 syntax " :: " <>
302 showType kind
301 showType kind
303
302