diff --git a/dotnet/docs/api/index.md b/dotnet/docs/api/index.md deleted file mode 100644 index 6103d3ac09e0e..0000000000000 --- a/dotnet/docs/api/index.md +++ /dev/null @@ -1 +0,0 @@ -# Welcome to the Selenium .NET API Docs diff --git a/dotnet/docs/docfx.json b/dotnet/docs/docfx.json index bdb6bffed9a4e..f85667fd6800e 100644 --- a/dotnet/docs/docfx.json +++ b/dotnet/docs/docfx.json @@ -3,29 +3,40 @@ { "src": [ { + "src": "../src/webdriver", "files": [ - "src/webdriver/WebDriver.csproj", - "src/support/WebDriver.Support.csproj", - "bin/**/*.dll" - ], - "src": "../" + "**/*.csproj" + ] } ], - "dest": "api", - "includePrivateMembers": false, - "disableGitFeatures": false, - "disableDefaultFilter": false, - "noRestore": false, - "namespaceLayout": "flattened", - "memberLayout": "samePage", - "allowCompilationErrors": false + "dest": "webdriver", + "namespaceLayout": "nested", + "outputFormat": "apiPage" + }, + { + "src": [ + { + "src": "../src/support", + "files": [ + "**/*.csproj" + ] + } + ], + "dest": "support", + "namespaceLayout": "nested", + "outputFormat": "apiPage" } + ], "build": { "content": [ { - "files": "**/*.{md|yml}", - "src": "api" + "files": [ + "**/*.{md,yml}" + ], + "exclude": [ + "_site/**" + ] } ], "resource": [ @@ -35,15 +46,16 @@ ] } ], - "dest": "../../build/docs/api/dotnet", - "globalMetadataFiles": [], - "fileMetadataFiles": [], + "output": "../../build/docs/api/dotnet", "template": [ "default", "modern" ], - "postProcessors": [], - "keepFileLink": false, - "disableGitFeatures": false + "globalMetadata": { + "_appName": "Selenium .NET API", + "_appLogoPath": "images/logo.svg", + "_appFaviconPath": "images/favicon.ico", + "_enableSearch": true + } } } diff --git a/dotnet/docs/images/favicon.ico b/dotnet/docs/images/favicon.ico new file mode 100644 index 0000000000000..80bf7ae9a9ac5 Binary files /dev/null and b/dotnet/docs/images/favicon.ico differ diff --git a/dotnet/docs/images/logo.svg b/dotnet/docs/images/logo.svg new file mode 100644 index 0000000000000..5c58484a6f7ab --- /dev/null +++ b/dotnet/docs/images/logo.svg @@ -0,0 +1 @@ +Selenium logo mark green \ No newline at end of file diff --git a/dotnet/docs/index.md b/dotnet/docs/index.md new file mode 100644 index 0000000000000..4bf895581a8ed --- /dev/null +++ b/dotnet/docs/index.md @@ -0,0 +1,9 @@ +--- +layout: landingPage +--- + +# Welcome to the Selenium .NET API Docs + +## Modules +- [Selenium.WebDriver](/webdriver/OpenQA.Selenium.html) +- [Selenium.Support](/support/OpenQA.Selenium.Support.html) \ No newline at end of file diff --git a/dotnet/docs/api/.gitignore b/dotnet/docs/support/.gitignore similarity index 100% rename from dotnet/docs/api/.gitignore rename to dotnet/docs/support/.gitignore diff --git a/dotnet/docs/toc.yml b/dotnet/docs/toc.yml new file mode 100644 index 0000000000000..3198b53999c8e --- /dev/null +++ b/dotnet/docs/toc.yml @@ -0,0 +1,9 @@ +- name: Intro + href: index.md + +- name: Modules + items: + - name: WebDriver + href: webdriver/OpenQA.Selenium.yml + - name: Support + href: support/OpenQA.Selenium.Support.yml diff --git a/dotnet/docs/webdriver/.gitignore b/dotnet/docs/webdriver/.gitignore new file mode 100644 index 0000000000000..e8079a3bef9d6 --- /dev/null +++ b/dotnet/docs/webdriver/.gitignore @@ -0,0 +1,5 @@ +############### +# temp file # +############### +*.yml +.manifest