Skip to content

Commit

Permalink
[DOCS]: Fix both the welcome page and readme (#65)
Browse files Browse the repository at this point in the history
* Create draft PR for #64
* Fix readme and document links

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Edwards <[email protected]>
  • Loading branch information
1 parent ceaf1bd commit a734235
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 20 deletions.
13 changes: 4 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,29 +20,28 @@ JSONPath is a query language for JSON, allowing you to navigate and extract data
Hyperbee.Json's JSONPath implementation is designed for optimal performance, ensuring low memory allocations and fast query execution.
It fully conforms to [RFC 9535](https://www.rfc-editor.org/rfc/rfc9535.html).

[Read more about JsonPath](jsonpath/index.md)
[Read more about JsonPath syntax](jsonpath/jsonpath-syntax.md)
[Read more about JsonPath](https://stillpoint-software.github.io/hyperbee.json/jsonpath/jsonpath.html)

## JSONPointer

JSONPointer is a syntax for identifying a specific value within a JSON document. It is simple and easy to use, making it an excellent
choice for pinpointing exact values. Hyperbee.Json's JsonPointer implementation adheres to [RFC 6901](https://www.rfc-editor.org/rfc/rfc6901.html).

[Documentation for JsonPointer coming soon]
[Read more about JsonPointer](https://stillpoint-software.github.io/hyperbee.json/jsonpointer.html)

## JSONPatch

JSONPatch is a format for describing changes to a JSON document. It allows you to apply partial modifications to JSON data efficiently.
Hyperbee.Json supports JsonPatch as defined in [RFC 6902](https://www.rfc-editor.org/rfc/rfc6902.html), ensuring compatibility and reliability.

[Read more about JsonPatch](jsonpatch.md)
[Read more about JsonPatch](https://stillpoint-software.github.io/hyperbee.json/jsonpatch.html)

## JSONDiff

JSONDiff allows you to compute the difference between two JSON documents, which is useful for versioning and synchronization.
Hyperbee.Json's implementation is optimized for performance and low memory usage, adhering to the standards set in [RFC 6902](https://www.rfc-editor.org/rfc/rfc6902.html).

[Read more about JsonDiff](jsonpatch.md)
[Read more about JsonDiff](https://stillpoint-software.github.io/hyperbee.json/jsonpatch.html#jsondiff)

## Getting Started

Expand All @@ -54,10 +53,6 @@ Install via NuGet:
dotnet add package Hyperbee.Json
```

## Documentation

Documentation can be found in the project's `/docs` folder.

## Benchmarks

Here is a performance comparison of various queries on the standard book store document.
Expand Down
8 changes: 8 additions & 0 deletions docs/_config.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
title: Hyperbee Json
description: Documentation for Hyperbee Json.
remote_theme: pmarsceill/just-the-docs
baseurl: "/hyperbee.json/"
url: "https://stillpoint-software.github.io"

aux_links:
"GitHub Repository":
- "//github.com/Stillpoint-Software/hyperbee.json"

# logo: "/assets/icon.png"
search_enabled: true # Enable search

# External navigation links
nav_external_links:
- title: Stillpoint Software
url: https://www.stillpointsoftware.net/
opens_in_new_tab: true
5 changes: 4 additions & 1 deletion docs/docs.projitems
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,12 @@
<None Include="$(MSBuildThisFileDirectory)additional-classes.md" />
<None Include="$(MSBuildThisFileDirectory)index.md" />
<None Include="$(MSBuildThisFileDirectory)jsonpatch.md" />
<None Include="$(MSBuildThisFileDirectory)jsonpath\comparison.md" />
<None Include="$(MSBuildThisFileDirectory)jsonpath\functions.md" />
<None Include="$(MSBuildThisFileDirectory)jsonpath\index.md" />
<None Include="$(MSBuildThisFileDirectory)jsonpath\jsonpath.md" />
<None Include="$(MSBuildThisFileDirectory)jsonpath\overview.md" />
<None Include="$(MSBuildThisFileDirectory)jsonpath\syntax.md" />
<None Include="$(MSBuildThisFileDirectory)jsonpointer.md" />
<None Include="$(MSBuildThisFileDirectory)_config.yml" />
</ItemGroup>
</Project>
13 changes: 4 additions & 9 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,29 +26,28 @@ JSONPath is a query language for JSON, allowing you to navigate and extract data
Hyperbee.Json's JSONPath implementation is designed for optimal performance, ensuring low memory allocations and fast query execution.
It fully conforms to [RFC 9535](https://www.rfc-editor.org/rfc/rfc9535.html).

[Read more about JsonPath](jsonpath/index.md)
[Read more about JsonPath syntax](jsonpath/jsonpath-syntax.md)
[Read more about JsonPath]({{ site.url }}{{ site.baseurl }}jsonpath/jsonpath.html)

## JSONPointer

JSONPointer is a syntax for identifying a specific value within a JSON document. It is simple and easy to use, making it an excellent
choice for pinpointing exact values. Hyperbee.Json's JsonPointer implementation adheres to [RFC 6901](https://www.rfc-editor.org/rfc/rfc6901.html).

[Documentation for JsonPointer coming soon]
[Read more about JsonPointer]({{ site.url }}{{ site.baseurl }}jsonpointer.html)

## JSONPatch

JSONPatch is a format for describing changes to a JSON document. It allows you to apply partial modifications to JSON data efficiently.
Hyperbee.Json supports JsonPatch as defined in [RFC 6902](https://www.rfc-editor.org/rfc/rfc6902.html), ensuring compatibility and reliability.

[Read more about JsonPatch](jsonpatch.md)
[Read more about JsonPatch]({{ site.url }}{{ site.baseurl }}jsonpatch.html)

## JSONDiff

JSONDiff allows you to compute the difference between two JSON documents, which is useful for versioning and synchronization.
Hyperbee.Json's implementation is optimized for performance and low memory usage, adhering to the standards set in [RFC 6902](https://www.rfc-editor.org/rfc/rfc6902.html).

[Read more about JsonDiff](jsonpatch.md)
[Read more about JsonDiff]({{ site.url }}{{ site.baseurl }}jsonpatch.html#jsondiff)

## Getting Started

Expand All @@ -60,10 +59,6 @@ Install via NuGet:
dotnet add package Hyperbee.Json
```

## Additional Documentation

Additional documentation can be found in the project's `/docs` folder.

## Credits

Hyperbee.Json is built upon the great work of several open-source projects. Special thanks to:
Expand Down
4 changes: 3 additions & 1 deletion docs/jsonpatch.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ var patch = new JsonPatch(
);
```

Or by using JsonDiff to generate a patch from two JSON documents.
### JsonDiff

JsonPatch `PatchOperation` can also be generated from the difference between two JSON documents.

```csharp
var source = JsonNode.Parse(
Expand Down

0 comments on commit a734235

Please sign in to comment.