Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -408,5 +408,6 @@ Docs/pages/build/
Docs/pages/docs/Abstractions
Docs/pages/docs/aweXpect
Docs/pages/docs/Mockolate
Docs/pages/docs/Awaiten
Docs/pages/docs/Extensions/*/
Docs/pages/docs/Chronology
1 change: 1 addition & 0 deletions .nuke/build.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"ExecutableTarget": {
"type": "string",
"enum": [
"AwaitenBenchmarks",
"Benchmarks",
"MockolateBenchmarks",
"Pages"
Expand Down
1 change: 1 addition & 0 deletions Docs/mirror-local-docs.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ $Sources = @(
[pscustomobject]@{ Repo="Mockolate"; SourcePath="Docs/pages"; Target="Mockolate"; InlineReadme=$false; ExtraReadmes=@(
[pscustomobject]@{ Repo="Mockolate.Migration"; TargetFile="11-migration.md" }
) }
[pscustomobject]@{ Repo="Awaiten"; SourcePath="Docs/pages"; Target="Awaiten"; InlineReadme=$false; ExtraReadmes=@() }
)

# Local clones often contain build output that the GitHub-API path would not
Expand Down
16 changes: 16 additions & 0 deletions Docs/pages/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,12 @@ const config: Config = {
position: 'left',
label: 'Mockolate',
},
{
type: 'docSidebar',
sidebarId: 'awaitenSidebar',
position: 'left',
label: 'Awaiten',
},
{
type: 'docSidebar',
sidebarId: 'chronologySidebar',
Expand Down Expand Up @@ -132,6 +138,16 @@ const config: Config = {
},
],
},
{
items: [
{
html: `<a href="https://github.com/Testably/Awaiten" class="footer__library-name">Awaiten</a>`,
},
{
html: `<a href="https://www.nuget.org/packages/Awaiten" class="footer__nuget-badge"><img src="https://img.shields.io/nuget/v/Awaiten?label=NuGet&logo=nuget" alt="Awaiten on NuGet"/></a>`,
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Testably.`,
},
Expand Down
1 change: 1 addition & 0 deletions Docs/pages/sidebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const sidebars: SidebarsConfig = {
abstractionsSidebar: [{type: 'autogenerated', dirName: 'Abstractions'}],
awexpectSidebar: [{type: 'autogenerated', dirName: 'aweXpect'}],
mockolateSidebar: [{type: 'autogenerated', dirName: 'Mockolate'}],
awaitenSidebar: [{type: 'autogenerated', dirName: 'Awaiten'}],
extensionsSidebar: [{type: 'autogenerated', dirName: 'Extensions'}],
chronologySidebar: [{type: 'autogenerated', dirName: 'Chronology'}],
};
Expand Down
4 changes: 2 additions & 2 deletions Docs/pages/src/clientModules/sectionTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
* library section, and by the swizzled `Logo` component to pick the matching
* SVG icon.
*
* Sections: 'abstractions' | 'awexpect' | 'mockolate' | 'extensions'
* Sections: 'abstractions' | 'awexpect' | 'mockolate' | 'awaiten' | 'extensions'
* Anything else (including `/`) leaves the attribute unset, falling back to
* the bracket beige defined in `:root`.
*/

const SECTION_PATTERN = /^\/(abstractions|awexpect|mockolate|extensions)(?:\/|$)/i;
const SECTION_PATTERN = /^\/(abstractions|awexpect|mockolate|awaiten|extensions)(?:\/|$)/i;

function getSection(pathname: string): string | null {
const match = pathname.match(SECTION_PATTERN);
Expand Down
Loading
Loading