Skip to content

Commit e56a6b5

Browse files
committed
Fix landing page route, and favicon.ico.
1 parent 24ab554 commit e56a6b5

File tree

7 files changed

+3
-27
lines changed

7 files changed

+3
-27
lines changed

config.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
outputPath: ./docs/api
22
yamlPath: ./api
3-
useIconify: true
3+
useIconify: true
4+
indexSlug: /

docs/root/index.md

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

docusaurus.config.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,6 @@ const config = {
4646
alt: 'ServiceStack Reference',
4747
src: 'img/servicestack.svg',
4848
},
49-
items: [
50-
{
51-
href: "/api",
52-
label: "API",
53-
position: "left",
54-
},
55-
],
5649
},
5750
footer: {
5851
style: 'light',

markdowngen/Program.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,7 @@ void Do(string type, string header)
246246
str.AppendLine($"* {items.Link(@namespace.Uid, indexLink: true).HtmlEscape()}");
247247
str.AppendLine();
248248
str.AppendLine("---");
249-
str.AppendLine(
250-
$"Generated using [DocFxMarkdownGen](https://github.com/Jan0660/DocFxMarkdownGen) v{versionString}.");
249+
str.AppendLine();
251250
await File.WriteAllTextAsync(Path.Join(config.OutputPath, $"index.md"), str.ToString());
252251
}
253252
logger.LogInformation($"Markdown finished in {stopwatch.ElapsedMilliseconds}ms.");

sidebars.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
1313
const sidebars = {
1414
// By default, Docusaurus generates a sidebar from the docs folder structure
15-
rootSidebar: [{type: 'autogenerated', dirName: 'root'}],
1615
apiSidebar: [{type: 'autogenerated', dirName: 'api'}],
1716

1817
// But you can create a sidebar manually

static/img/favicon.ico

28.7 KB
Binary file not shown.

static/index.html

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

0 commit comments

Comments
 (0)