diff --git a/.github/workflows/build-dev.yml b/.github/workflows/build-dev.yml
index 26c0b4bf0..4679d8862 100644
--- a/.github/workflows/build-dev.yml
+++ b/.github/workflows/build-dev.yml
@@ -22,12 +22,12 @@ jobs:
steps:
-
name: Checkout
- uses: actions/checkout@v3
- -
- name: Setup .NET
- uses: actions/setup-dotnet@v3
- with:
- dotnet-version: '7.0.102'
+ uses: actions/checkout@v4
+# -
+# name: Setup .NET
+# uses: actions/setup-dotnet@v3
+# with:
+# dotnet-version: '7.0.102'
-
name: Unshallow
run: git fetch --prune --unshallow
diff --git a/.github/workflows/pull-request-docs.yml b/.github/workflows/pull-request-docs.yml
new file mode 100644
index 000000000..a28ed530d
--- /dev/null
+++ b/.github/workflows/pull-request-docs.yml
@@ -0,0 +1,20 @@
+name: Build and test PRs with docs
+
+on:
+ pull_request:
+ paths:
+ - docs/**
+
+jobs:
+ docs:
+ runs-on: ubuntu-latest
+ steps:
+ -
+ name: Checkout
+ uses: actions/checkout@v4
+ -
+ name: Build docs
+ run: |
+ cd docs
+ yarn install
+ yarn build
diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml
index 1daf73fbb..fa1806ee4 100644
--- a/.github/workflows/pull-request.yml
+++ b/.github/workflows/pull-request.yml
@@ -1,6 +1,9 @@
name: Build and test PRs
-on: [pull_request]
+on:
+ pull_request:
+ paths-ignore:
+ - docs/**
permissions:
contents: read
@@ -26,11 +29,6 @@ jobs:
-
name: Checkout
uses: actions/checkout@v4
-# -
-# name: Setup .NET
-# uses: actions/setup-dotnet@v3
-# with:
-# dotnet-version: '8.0'
-
name: Run tests
run: dotnet test -f ${{ matrix.dotnet }}
@@ -54,12 +52,7 @@ jobs:
steps:
-
name: Checkout
- uses: actions/checkout@v3
-# -
-# name: Setup .NET
-# uses: actions/setup-dotnet@v3
-# with:
-# dotnet-version: '8.0'
+ uses: actions/checkout@v4
-
name: Run tests
run: dotnet test -f ${{ matrix.dotnet }}
@@ -73,16 +66,3 @@ jobs:
test-results/**/*.xml
test-results/**/*.trx
test-results/**/*.json
-
- docs:
- runs-on: ubuntu-latest
-
- steps:
- -
- name: Checkout
- uses: actions/checkout@v3
- -
- name: Build docs
- run: |
- yarn install
- yarn docs:build
diff --git a/.idea/.gitignore b/.idea/.gitignore
index b58b603fe..9b0e31c26 100644
--- a/.idea/.gitignore
+++ b/.idea/.gitignore
@@ -3,3 +3,4 @@
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
+/material_theme_project_new.xml
diff --git a/Directory.Packages.props b/Directory.Packages.props
index df91988b6..fd7ce005e 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -12,9 +12,9 @@
8.0.3
-
+
-
+
diff --git a/RestSharp.sln b/RestSharp.sln
index 711c5536c..b3efff12e 100644
--- a/RestSharp.sln
+++ b/RestSharp.sln
@@ -446,36 +446,6 @@ Global
{FE778406-ADCF-45A1-B775-A054B55BFC50}.Release|x64.Build.0 = Release|Any CPU
{FE778406-ADCF-45A1-B775-A054B55BFC50}.Release|x86.ActiveCfg = Release|Any CPU
{FE778406-ADCF-45A1-B775-A054B55BFC50}.Release|x86.Build.0 = Release|Any CPU
- {5E8D472F-5A12-4CD8-8DBE-E3F6E0F76798}.Debug.Appveyor|Any CPU.ActiveCfg = Debug|Any CPU
- {5E8D472F-5A12-4CD8-8DBE-E3F6E0F76798}.Debug.Appveyor|Any CPU.Build.0 = Debug|Any CPU
- {5E8D472F-5A12-4CD8-8DBE-E3F6E0F76798}.Debug.Appveyor|ARM.ActiveCfg = Debug|Any CPU
- {5E8D472F-5A12-4CD8-8DBE-E3F6E0F76798}.Debug.Appveyor|ARM.Build.0 = Debug|Any CPU
- {5E8D472F-5A12-4CD8-8DBE-E3F6E0F76798}.Debug.Appveyor|Mixed Platforms.ActiveCfg = Debug|Any CPU
- {5E8D472F-5A12-4CD8-8DBE-E3F6E0F76798}.Debug.Appveyor|Mixed Platforms.Build.0 = Debug|Any CPU
- {5E8D472F-5A12-4CD8-8DBE-E3F6E0F76798}.Debug.Appveyor|x64.ActiveCfg = Debug|Any CPU
- {5E8D472F-5A12-4CD8-8DBE-E3F6E0F76798}.Debug.Appveyor|x64.Build.0 = Debug|Any CPU
- {5E8D472F-5A12-4CD8-8DBE-E3F6E0F76798}.Debug.Appveyor|x86.ActiveCfg = Debug|Any CPU
- {5E8D472F-5A12-4CD8-8DBE-E3F6E0F76798}.Debug.Appveyor|x86.Build.0 = Debug|Any CPU
- {5E8D472F-5A12-4CD8-8DBE-E3F6E0F76798}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {5E8D472F-5A12-4CD8-8DBE-E3F6E0F76798}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {5E8D472F-5A12-4CD8-8DBE-E3F6E0F76798}.Debug|ARM.ActiveCfg = Debug|Any CPU
- {5E8D472F-5A12-4CD8-8DBE-E3F6E0F76798}.Debug|ARM.Build.0 = Debug|Any CPU
- {5E8D472F-5A12-4CD8-8DBE-E3F6E0F76798}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
- {5E8D472F-5A12-4CD8-8DBE-E3F6E0F76798}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
- {5E8D472F-5A12-4CD8-8DBE-E3F6E0F76798}.Debug|x64.ActiveCfg = Debug|Any CPU
- {5E8D472F-5A12-4CD8-8DBE-E3F6E0F76798}.Debug|x64.Build.0 = Debug|Any CPU
- {5E8D472F-5A12-4CD8-8DBE-E3F6E0F76798}.Debug|x86.ActiveCfg = Debug|Any CPU
- {5E8D472F-5A12-4CD8-8DBE-E3F6E0F76798}.Debug|x86.Build.0 = Debug|Any CPU
- {5E8D472F-5A12-4CD8-8DBE-E3F6E0F76798}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {5E8D472F-5A12-4CD8-8DBE-E3F6E0F76798}.Release|Any CPU.Build.0 = Release|Any CPU
- {5E8D472F-5A12-4CD8-8DBE-E3F6E0F76798}.Release|ARM.ActiveCfg = Release|Any CPU
- {5E8D472F-5A12-4CD8-8DBE-E3F6E0F76798}.Release|ARM.Build.0 = Release|Any CPU
- {5E8D472F-5A12-4CD8-8DBE-E3F6E0F76798}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
- {5E8D472F-5A12-4CD8-8DBE-E3F6E0F76798}.Release|Mixed Platforms.Build.0 = Release|Any CPU
- {5E8D472F-5A12-4CD8-8DBE-E3F6E0F76798}.Release|x64.ActiveCfg = Release|Any CPU
- {5E8D472F-5A12-4CD8-8DBE-E3F6E0F76798}.Release|x64.Build.0 = Release|Any CPU
- {5E8D472F-5A12-4CD8-8DBE-E3F6E0F76798}.Release|x86.ActiveCfg = Release|Any CPU
- {5E8D472F-5A12-4CD8-8DBE-E3F6E0F76798}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/docs/.gitignore b/docs/.gitignore
new file mode 100644
index 000000000..b2d6de306
--- /dev/null
+++ b/docs/.gitignore
@@ -0,0 +1,20 @@
+# Dependencies
+/node_modules
+
+# Production
+/build
+
+# Generated files
+.docusaurus
+.cache-loader
+
+# Misc
+.DS_Store
+.env.local
+.env.development.local
+.env.test.local
+.env.production.local
+
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
diff --git a/docs/.idea/.gitignore b/docs/.idea/.gitignore
index b58b603fe..13566b81b 100644
--- a/docs/.idea/.gitignore
+++ b/docs/.idea/.gitignore
@@ -3,3 +3,6 @@
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
diff --git a/docs/.idea/codeStyles/codeStyleConfig.xml b/docs/.idea/codeStyles/codeStyleConfig.xml
deleted file mode 100644
index a55e7a179..000000000
--- a/docs/.idea/codeStyles/codeStyleConfig.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/.idea/dictionaries/alexey.xml b/docs/.idea/dictionaries/alexey.xml
deleted file mode 100644
index 3fdb12f80..000000000
--- a/docs/.idea/dictionaries/alexey.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
- deserialized
-
-
-
\ No newline at end of file
diff --git a/docs/.idea/material_theme_project_new.xml b/docs/.idea/material_theme_project_new.xml
new file mode 100644
index 000000000..8cde3b428
--- /dev/null
+++ b/docs/.idea/material_theme_project_new.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/.idea/misc.xml b/docs/.idea/misc.xml
deleted file mode 100644
index 28a804d89..000000000
--- a/docs/.idea/misc.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js
deleted file mode 100644
index 31d27d4b4..000000000
--- a/docs/.vuepress/config.js
+++ /dev/null
@@ -1,64 +0,0 @@
-module.exports = {
- title: "RestSharp",
- description: "Simple .NET client for HTTP REST APIs",
- plugins: ["@vuepress/active-header-links"],
- head: [
- ["link", {rel: "apple-touch-icon", sizes: "180x180", href: "/apple-touch-icon.png"}],
- ["link", {rel: "icon", type: "image/png", sizes: "32x32", href: "/favicon-32x32.png"}],
- ["link", {rel: "icon", type: "image/png", sizes: "16x16", href: "/favicon-16x16.png"}],
- ["link", {rel: "manifest", href: "/site.webmanifest"}]
- ],
- themeConfig: {
- logo: "/restsharp.png",
- navbar: [
- {text: "Migration from legacy", link: "/v107/"},
- {text: "Documentation", link: "/intro.html"},
- {text: "Get help", link: "/support/"},
- {text: "NuGet", link: "https://nuget.org/packages/RestSharp"}
- ],
- sidebarDepth: 2,
- sidebar: {
- "/": [
- {
- text: "",
- header: "RestSharp",
- children: [
- "intro.md",
- "usage.md",
- "serialization.md",
- "authenticators.md",
- "interceptors.md",
- "error-handling.md"
- ]
- }
- ],
- "/v107/": [
- {
- text: "",
- header: "Migration from legacy",
- children: [
- "/v107/README.md"
- ]
- }
- ],
- "/support/": [
- {
- text: "",
- header: "Get help",
- children: [
- "/support/README.md"
- ]
- }
- ]
- },
- searchPlaceholder: "Search...",
- lastUpdated: "Last Updated",
- repo: "restsharp/RestSharp",
-
- docsRepo: "restsharp/RestSharp",
- docsDir: "docs",
- docsBranch: "dev",
- editLinks: true,
- editLinkText: "Help us by improving this page!"
- }
-}
diff --git a/docs/.vuepress/styles/index.scss b/docs/.vuepress/styles/index.scss
deleted file mode 100644
index 20047a04c..000000000
--- a/docs/.vuepress/styles/index.scss
+++ /dev/null
@@ -1,4 +0,0 @@
-:root {
- --content-width: 940px;
- --homepage-width: 1060px;
-}
diff --git a/docs/.vuepress/styles/palette.scss b/docs/.vuepress/styles/palette.scss
deleted file mode 100644
index 03bea932a..000000000
--- a/docs/.vuepress/styles/palette.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-$MQNarrow: 1120px !default;
-$MQMobile: 719px !default;
-$MQMobileNarrow: 419px !default;
diff --git a/docs/CI-CD_DOCUMENTATION/CI-CD_DOCUMENTATION.md b/docs/CI-CD_DOCUMENTATION/CI-CD_DOCUMENTATION.md
deleted file mode 100644
index 65603d7f0..000000000
--- a/docs/CI-CD_DOCUMENTATION/CI-CD_DOCUMENTATION.md
+++ /dev/null
@@ -1,67 +0,0 @@
-# RestSharp CI/CD documentation
-
-## 1. Set up Dependabot
-
-Dependabot is a GitHub native security tool that goes through the dependencies in the project and creates alerts, and PRs with updates when a new and/or non-vulnerable version is found.
-
-- for PRs with version updates, this pipeline comes pre-configured for all current dependency sources in the project, so at "Insights" tab -> "Dependency graph" -> "Dependabot", you should be able to see all tracked sources of dependencies, when they have been checked last and view a full log of the last check
-
-![Dependabot_tab](./Dependabot_tab.png)
-
-![Dependabot_log_page](./Dependabot_log_page.png)
-
-### Set up security alerts and updates
-##### - GitHub, through Dependabot, also natively offers a security check for vulnerable dependencies
-
-1. Go to the project's GitHub repository and click on the **Settings** tab
-
-2. Go to **Security & analysis** section
-
-3. Click "Enable" for both "Dependabot alerts" and "Dependabot security updates"
-
-- By enabling "Dependabot alerts", you would be notified for any vulnerable dependencies in the project. At "Security" tab -> "Dependabot alerts", you can manage all alerts. By clicking on an alert, you would be able to see a detailed explanation of the vulnerability and a viable solution.
-
-![Dependabot_alerts_page](./Dependabot_alerts_page.png)
-
-![Dependabot_alert_page](./Dependabot_alert_page.png)
-
-- By enabling "Dependabot security updates", you authorize Dependabot to create PRs specifically for **security updates**
-
-![Dependabot_PRs](./Dependabot_PRs.png)
-
-### Set up Dependency graph
-##### - The "Dependency graph" option should be enabled by default for all public repos, but in case it isn't:
-
-1. Go to the project's GitHub repository and click on the **Settings** tab
-
-2. Go to **Security & analysis** section
-
-3. Click "Enable" for the "Dependency graph" option
-
-- this option enables the "Insights" tab -> "Dependency graph" section -> "Dependencies" tab, in which all the dependencies for the project are listed, under the different manifests they are included in
-
-![Dependabot_dependency_graph](./Dependabot_dependency_graph.png)
-
-NOTE: **screenshots are only exemplary**
-
-
-
-## 2. CodeQL
-
-CodeQL is GitHub's own industry-leading semantic code analysis engine. CodeQL requires no setup, because it comes fully pre-configured by us.
-
-To activate it and see its results, only a push commit or a merge of a PR to the default branch of your repository, is required.
-
-We've also configured CodeQL to run on schedule, so every day at 8:00AM UTC, it automatically tests the code.
-
-- you can see the results here at **Security** tab -> **Code scanning alerts** -> **CodeQL**:
-
-![CodeQL_results](./CodeQL_results.png)
-
-- on the page of each result, you can see an explanation of what the problem is and also one or more solutions:
-
-![CodeQL_alert_page](./CodeQL_alert_page.png)
-
-#
-
-Built with ❤ by [Pipeline Foundation](https://pipeline.foundation)
diff --git a/docs/CI-CD_DOCUMENTATION/CodeQL_alert_page.png b/docs/CI-CD_DOCUMENTATION/CodeQL_alert_page.png
deleted file mode 100644
index 59020bbcc..000000000
Binary files a/docs/CI-CD_DOCUMENTATION/CodeQL_alert_page.png and /dev/null differ
diff --git a/docs/CI-CD_DOCUMENTATION/CodeQL_results.png b/docs/CI-CD_DOCUMENTATION/CodeQL_results.png
deleted file mode 100644
index 8848b0db9..000000000
Binary files a/docs/CI-CD_DOCUMENTATION/CodeQL_results.png and /dev/null differ
diff --git a/docs/CI-CD_DOCUMENTATION/Dependabot_PRs.png b/docs/CI-CD_DOCUMENTATION/Dependabot_PRs.png
deleted file mode 100644
index 4de10713d..000000000
Binary files a/docs/CI-CD_DOCUMENTATION/Dependabot_PRs.png and /dev/null differ
diff --git a/docs/CI-CD_DOCUMENTATION/Dependabot_alert_page.png b/docs/CI-CD_DOCUMENTATION/Dependabot_alert_page.png
deleted file mode 100644
index aa82c8ebe..000000000
Binary files a/docs/CI-CD_DOCUMENTATION/Dependabot_alert_page.png and /dev/null differ
diff --git a/docs/CI-CD_DOCUMENTATION/Dependabot_alerts_page.png b/docs/CI-CD_DOCUMENTATION/Dependabot_alerts_page.png
deleted file mode 100644
index 9d5a9e9e1..000000000
Binary files a/docs/CI-CD_DOCUMENTATION/Dependabot_alerts_page.png and /dev/null differ
diff --git a/docs/CI-CD_DOCUMENTATION/Dependabot_dependency_graph.png b/docs/CI-CD_DOCUMENTATION/Dependabot_dependency_graph.png
deleted file mode 100644
index b3a122b98..000000000
Binary files a/docs/CI-CD_DOCUMENTATION/Dependabot_dependency_graph.png and /dev/null differ
diff --git a/docs/CI-CD_DOCUMENTATION/Dependabot_log_page.png b/docs/CI-CD_DOCUMENTATION/Dependabot_log_page.png
deleted file mode 100644
index bd76bba27..000000000
Binary files a/docs/CI-CD_DOCUMENTATION/Dependabot_log_page.png and /dev/null differ
diff --git a/docs/CI-CD_DOCUMENTATION/Dependabot_tab.png b/docs/CI-CD_DOCUMENTATION/Dependabot_tab.png
deleted file mode 100644
index b6a2129b1..000000000
Binary files a/docs/CI-CD_DOCUMENTATION/Dependabot_tab.png and /dev/null differ
diff --git a/docs/README.md b/docs/README.md
index 4151ff852..80e81477a 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -1,32 +1,26 @@
----
-home: true
-heroImage: /restsharp.png
-heroText: RestSharp
-tagline: Probably, the most popular REST API client library for .NET
-actions:
-- text: Get Started →
- link: /intro.html
-features:
-- title: Serialization
- details: JSON, XML and custom serialization and deserialization
-- title: Fully async
- details: Variety of overloads to make asynchronous HTTP calls
-- title: Extensive configuration
- details: Almost every aspect of an HTTP call can be customized
-- title: Authentication
- details: Basic, OAuth1, OAuth2, and JWT are supported. Not enough? Write your own!
-- title: Forms, request body, and files
- details: Send objects as the request body in JSON or XML, or as a form. Upload and download files as bytes or as streams.
-- title: Parameters
- details: Add query, URL segment, body, form or header parameter using an easy and fluent API
-footer: Apache 2.0 Licensed | Copyright (c) .NET Foundation and Contributors
----
-
-RestSharp is probably the most popular HTTP client library for .NET. Featuring automatic serialization and deserialization, request and response type detection, variety of authentications and other useful features, it is being used by hundreds of thousands of projects.
-
-RestSharp passed over 190 million downloads on NuGet, with average daily download count over 43,000. It's being used by many popular OSS projects, including Roslyn and Swagger.
-
-Supported by [AWS](https://aws.amazon.com/developer/language/net/solutions/).
-