Skip to content

Commit 15d81d5

Browse files
committed
Merge branch 'master' into dev
2 parents 13963a1 + 4584019 commit 15d81d5

File tree

1 file changed

+5
-24
lines changed

1 file changed

+5
-24
lines changed

README.md

+5-24
Original file line numberDiff line numberDiff line change
@@ -14,30 +14,11 @@ AngleSharp Diffing makes it possible to compare AngleSharp _control_ nodes and _
1414

1515
The _control_ nodes represents the expected HTML tree, i.e. how the nodes are expected to look, and the _test_ nodes represents the nodes that should be compared to the _control_ nodes.
1616

17-
**Differences:** There are three types off `IDiff` differences, that the library can return.
18-
19-
- `NodeDiff`/`AttrDiff`: Represents a difference between a control and test node or a control and test attribute.
20-
- `MissingNodeDiff`/`MissingAttrDiff`: Represents a difference where a control node or control attribute was expected to exist, but was not found in the test nodes tree.
21-
- `UnexpectedNodeDiff`/`UnexpectedAttrDiff`: Represents a difference where a test node or test attribute was unexpectedly found in the test nodes tree, but did not have a match in the control nodes tree.
22-
23-
# Usage
24-
To find the differences between a control HTML fragment and a test HTML fragment, using the default options, the easiest way is to use the `DiffBuilder` class, like so:
25-
26-
```csharp
27-
var controlHtml = "<p>Hello World</p>";
28-
var testHtml = "<p>World, I say hello</p>";
29-
var diffs = DiffBuilder
30-
.Compare(control)
31-
.WithTest(test)
32-
.Build();
33-
```
34-
35-
Read more about the available options on the [Options](/docs/Options.md) page.
36-
37-
# Documentation
38-
- [Options](/docs/Options.md)
39-
- [Creating custom diffing options](/docs/CustomOptions.md)
40-
- [Difference engine internals](/docs/DiffingEngineInternals.md)
17+
### Documentation:
18+
- [Getting started](https://github.com/AngleSharp/AngleSharp.Diffing/wiki/Getting-Started)
19+
- [Diffing options](https://github.com/AngleSharp/AngleSharp.Diffing/wiki/Diffing-Options)
20+
- [Creating custom diffing strategies](https://github.com/AngleSharp/AngleSharp.Diffing/wiki/Getting-Started)
21+
- [Difference Engine Internals](https://github.com/AngleSharp/AngleSharp.Diffing/wiki/Difference-Engine-Internals)
4122

4223
## Acknowledgments
4324
- [Florian Rappl](https://github.com/FlorianRappl) from the AngleSharp team for providing ideas, input and sample code for working with AngleSharp.

0 commit comments

Comments
 (0)