Skip to content

Commit e5997cc

Browse files
authored
Merge pull request #29 from telerik/docs-builder
migration to docs-builder
2 parents 2273f5a + 07541ef commit e5997cc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+348
-164
lines changed

_assetsApi/metadata-config.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"metadata": [{
3+
"src": [
4+
{
5+
"files": [
6+
"src/**.dll"
7+
]
8+
}
9+
],
10+
"dest": "metadata",
11+
"filter": "filterConfig.yml"
12+
}]
13+
}

_config.yml

Lines changed: 0 additions & 96 deletions
This file was deleted.

basic-usage/capture-https-traffic.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ position: 30
1111

1212
This article explains how to capture HTTP/S traffic with FiddlerCore
1313

14-
Once FiddlerCore is [configured]({%slug configuration %}), it starts to listen for a traffic on the background. When it captures any session, it notifies you by raising the following events:
14+
Once FiddlerCore is [configured](slug://configuration), it starts to listen for a traffic on the background. When it captures any session, it notifies you by raising the following events:
1515

1616
>tip The following event handlers are invoked on session-handling **background threads**.
1717
>
@@ -46,7 +46,8 @@ You should use this event to act when a session is completed. For example, notif
4646
Console.WriteLine($"Finished session: {session.fullUrl}");
4747
}
4848
```
49-
>tip These are only the most commonly used handlers. For the full list of events check [FiddlerApplication's API reference](/api/fiddler.fiddlerapplication).
49+
<!-- add API reference link to fiddler.fiddlerapplication-->
50+
>tip These are only the most commonly used handlers. For the full list of events check FiddlerApplication's API reference.
5051

5152
## FiddlerApplication.ClientCertificateProvider
5253

@@ -59,4 +60,4 @@ FiddlerApplication.ClientCertificateProvider = localCertificateSelectionCallback
5960

6061
## Next Steps
6162

62-
- [Import/export sessions]({%slug import-export-sessions%})
63+
- [Import/export sessions](slug://import-export-sessions)

basic-usage/configuration.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ class Program
5050
To configure FiddlerCore, you can use `FiddlerCoreStartupSettingsBuilder` class, which encapsulates the logic for creating `FiddlerCoreStartupSettting` instance, which in turn can be used as an argument for `FiddlerApplication.Startup(FiddlerCoreStartupSettings)` method.
5151

5252
`FiddlerCoreStartupSettingsBuilder` provides fluent API, for example a convenient usage is:
53+
5354
```c#
5455
FiddlerCoreStartupSettings startupSettings =
5556
new FiddlerCoreStartupSettingsBuilder()
@@ -74,7 +75,6 @@ FiddlerApplication.AfterSessionComplete += session =>
7475
{
7576
Console.WriteLine($"Finished session: {session.fullUrl}");
7677
}
77-
7878
FiddlerApplication.Startup(startupSettings);
7979
```
8080

@@ -89,7 +89,7 @@ The following configuration methods of `FiddlerCoreStartupSettingsBuilder` are a
8989
9090
#### System proxy settings:
9191

92-
> There are a lot of possible systems and types of connections which might have to be modified in order to set proper proxy settings, and the following methods handle only the most common scenarios. For more advanced proxy configuration, see [Register as System Proxy]({%slug register-as-system-proxy %}) article.
92+
> There are a lot of possible systems and types of connections which might have to be modified in order to set proper proxy settings, and the following methods handle only the most common scenarios. For more advanced proxy configuration, see [Register as System Proxy](slug://register-as-system-proxy) article.
9393
9494
- `RegisterAsSystemProxy()`: Modifies the local LAN connection's proxy settings to point to the port on which FiddlerCore is listening on localhost.
9595
- `MonitorAllConnections()`: Modifies all system connections' proxy settings to point to the port on which FiddlerCore is listening on localhost.
@@ -108,14 +108,15 @@ FiddlerApplication.Prefs.SetStringPref("fiddler.proxy.pacfile.text", "return 'PR
108108
#### Other settings:
109109

110110
- `EnableHTTP2()`: Enables the support for capturing HTTP/2 traffic. Available with FiddlerCore version 6.x.x and above.
111-
- `DecryptSSL()`: Enables decryption of HTTPS traffic. You should have a CertificateProvider loaded with trusted certificate. For more details see [Use Custom Root Certificate]({%slug use-custom-root-certificate %}) article.
111+
- `DecryptSSL()`: Enables decryption of HTTPS traffic. You should have a CertificateProvider loaded with trusted certificate. For more details see [Use Custom Root Certificate](slug://use-custom-root-certificate) article.
112112
- `UseClientTlsProvider(IClientTlsConnectionProvider customClientTlsProvider)`: Sets a custom client TLS provider for Fiddler. The provider will be used to authenticate an existing connection and return a stream to read/write data from/to it. Available with FiddlerCore version 6.x.x and above.
113113

114114
## Handling Events
115115

116-
The `FiddlerApplication` class exposes numerous events like `BeforeRequest`, `BeforeResponse`, `AfterSessionComplete`, and many more. Full list of all supported events can be found in the [FiddlerCore API reference](https://docs.telerik.com/fiddlercore/api/fiddler.fiddlerapplication#events).
116+
<!-- add API reference link to fiddler.fiddlerapplication#events-->
117+
The `FiddlerApplication` class exposes numerous events like `BeforeRequest`, `BeforeResponse`, `AfterSessionComplete`, and many more. Full list of all supported events can be found in the FiddlerCore API reference.
117118

118-
Learn more on how to use the FiddlerCore events in the [Capture HTTP/S Traffic]({%slug capture-https-traffic %}) article.
119+
Learn more on how to use the FiddlerCore events in the [Capture HTTP/S Traffic](slug://capture-https-traffic) article.
119120

120121
## Shutdown
121122

@@ -125,5 +126,5 @@ FidlerCore can be shut down using the following method of `FiddlerApplication`
125126
126127
## Next Steps
127128

128-
- [Register as System Proxy]({%slug register-as-system-proxy %})
129-
- [Use Custom Root Certificate]({%slug use-custom-root-certificate %})
129+
- [Register as System Proxy](slug://register-as-system-proxy)
130+
- [Use Custom Root Certificate](slug://use-custom-root-certificate)

basic-usage/import-export-sessions.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,21 @@ This article explains how to import and export sessions with FiddlerCore.
1414

1515
You can import sessions with FiddlerCore by using the following code:
1616
```c#
17-
Session[] loaded = Utilities.ReadSessionArchive(sazFilename, false, "", (file, part) =>
18-
{
19-
Console.WriteLine($"Enter the password for { part } (or just hit Enter to cancel):");
20-
string sResult = Console.ReadLine();
21-
Console.WriteLine();
22-
23-
return sResult;
24-
});
17+
Session[] loaded = Utilities.ReadSessionArchive(sazFilename, false, "", (file, part) =>
18+
{
19+
Console.WriteLine($"Enter the password for { part } (or just hit Enter to cancel):");
20+
string sResult = Console.ReadLine();
21+
Console.WriteLine();
22+
23+
return sResult;
24+
});
2525
```
2626

2727
## Export Sessions
2828

2929
You can export sessions with FiddlerCore by using the following code:
3030
```c#
31-
bool success = Utilities.WriteSessionArchive(filename, sessions.ToArray(), password, false);
31+
bool success = Utilities.WriteSessionArchive(filename, sessions.ToArray(), password, false);
3232
```
3333

3434
>tip With FiddlerCore version 6.0.0 and above, the SAZ archive will contain additional information about various metrics, such as timings and sizes, through the `SessionMetrics` class.
@@ -37,5 +37,5 @@ You can export sessions with FiddlerCore by using the following code:
3737

3838
There are cases when you may want to use custom provider to save FiddlerCore sessions. You do this by setting the following property:
3939
```c#
40-
FiddlerApplication.oSAZProvider = new CustomSazProvider();
40+
FiddlerApplication.oSAZProvider = new CustomSazProvider();
4141
```

basic-usage/register-as-system-proxy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ FiddlerCoreStartupSettings startupSettings =
2323
FiddlerApplication.Startup(startupSettings);
2424
```
2525

26-
There are more basic methods affecting the system proxy settings in the FiddlerCoreStartupSettings. You can read more in [Configuration/Proxy settings]({%slug configuration %}#system-proxy-settings) article.
26+
There are more basic methods affecting the system proxy settings in the FiddlerCoreStartupSettings. You can read more in [Configuration/Proxy settings](slug://configuration#system-proxy-settings) article.
2727

2828
## Advanced approach
2929
Instead of using the basic configuration methods, you can manually modify the proxy settings. The logic for modifying the system connections' proxy settings is separated in the Telerik.NetworkConnections assembly.
@@ -61,5 +61,5 @@ The following default implementations for `INetworkConnectionsDetector` are prov
6161
6262
## Next Steps
6363

64-
- [Capture HTTP/S Traffic]({%slug capture-https-traffic %})
64+
- [Capture HTTP/S Traffic](slug://capture-https-traffic)
6565

basic-usage/use-custom-root-certificate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@ The following code explains how to trust your root certificate.
5959

6060
## Next Steps
6161

62-
- [Import/export sessions]({%slug import-export-sessions%})
62+
- [Import/export sessions](slug://import-export-sessions)

docs-builder.yml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
top-navigation-product: fiddler-core
2+
path-prefix: /fiddler/fiddlercore/documentation
3+
default-title-prefix: FiddlerCore
4+
5+
primary-color: "#27c106" # Fiddler green
6+
7+
product-id: 1608
8+
product-code: FIDDLERCORE
9+
product-name: Progress Telerik FiddlerCore
10+
product-url: https://www.telerik.com/fiddlercore
11+
product-trial-url: https://www.telerik.com/try/fiddlercore
12+
13+
contribute-url: https://github.com/telerik/fiddler-core-docs/edit/master
14+
15+
search-engine-id: 001595215763381649090:bhf815yqanw # TODO get a new one for FiddlerCore
16+
# where should we add the google analytics and tag manager codes (refer to _config.yml)?
17+
avatar-path: ./images/common/avatar-ninja.svg # TODO get a FiddlerCore NINJA
18+
no-results-image-path: ./images/common/no-results.svg # TODO get a FiddlerCore no-results.png
19+
table-layout: fixed
20+
enable-tabbed-code-blocks: true
21+
22+
gitLastCommitDateEnabled: true
23+
24+
cta-overview: '@ProductLink is a powerful .NET library that allows you to capture and modify HTTP and HTTPS traffic.'
25+
cta-intro: '@ProductLink is a FiddlerCore is a .NET class library you can integrate into your .NET applications. Its available in .NET Standard 2.0, .NET Framework 4.0, and .NET Framework 4.5 flavors, which allows using it on Windows, Linux, Mac, and any other platform implementing .NET Standard.'
26+
27+
img-max-width: 100%
28+
center-images: false
29+
30+
meta:
31+
'*':
32+
hideCta: true #consult if we want to hide the CTA on all pages (currently incorrectly sjhowing 30-days trial for Fiddler Everywhere)
33+
getting-started:
34+
title: Getting Started
35+
position: 10
36+
basic-usage:
37+
title: Basic Usage
38+
position: 20
39+
knowledge-base:
40+
title: Knowledge Base
41+
position: 100
42+
relativeUrl: /knowledge-base
43+
hideChildren: true
44+
res_type: kb
45+
licensing:
46+
title: Licensing
47+
position: 200
48+
api:
49+
title: API Reference
50+
position: 300
51+
relativeUrl: /api
52+
hideChildren: true
53+
res_type: api
54+
55+
redirects:
56+
- from: ^/$
57+
to: /introduction

getting-started/download-product-files.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ Below you could find a list of the available files:
4141

4242
## Next Steps
4343

44-
- [FiddlerCore Configuration]({%slug configuration%})
44+
- [FiddlerCore Configuration](slug://configuration)

getting-started/first-steps.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,18 @@ This article explains everything you need to know about FiddlerCore before you s
1313

1414
## System Requirements
1515

16-
You can check the requirements for FiddlerCore suite in the [System Requirements]({%slug system-requirements%}) help article.
16+
You can check the requirements for FiddlerCore suite in the [System Requirements](slug://system-requirements) help article.
1717

1818
## Download FiddlerCore
1919

2020
See how to download the library in the following help articles:
2121

22-
* [Download Product Files]({%slug download-product-files%})
23-
* [Use Telerik NuGet Server]({%slug telerik-nuget-server%})
22+
* [Download Product Files](slug://download-product-files)
23+
* [Use Telerik NuGet Server](slug://telerik-nuget-server)
2424

2525
## Next Steps
2626

27-
[Check the system requirements]({%slug system-requirements%})
27+
[Check the system requirements](slug://system-requirements)
28+
[Using API Key to get FiddlerCore from Nuget](slug://telerik-nuget-sso)
29+
[Basic FiddlerCore configuration](slug://configuration)
30+
[Capturing HTTPS traffic with FiddlerCore](slug://capture-https-traffic)

0 commit comments

Comments
 (0)