Skip to content

Commit 06c1d9a

Browse files
Bivas-BiswasStartrekzky
authored andcommitted
added live demo page in nav bar
1 parent 00566d0 commit 06c1d9a

Some content is hidden

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

43 files changed

+53
-224
lines changed

docs/LiveDemo/_category_.json

-8
This file was deleted.

docs/UserManuals/ConfigUI/GitHub.md

+1-1

docusaurus.config.js

+18-5
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,15 @@ const versions = require('./versions.json');
7979
sidebarPath: require.resolve('./sidebarsCommunity.js'),
8080
},
8181
],
82+
[
83+
'@docusaurus/plugin-content-docs',
84+
{
85+
id: 'livedemo',
86+
path: 'livedemo',
87+
routeBasePath: 'livedemo',
88+
sidebarPath: require.resolve('./sidebarsLivedemo.js'),
89+
},
90+
],
8291
function tailwindcss() {
8392
return {
8493
name: 'docusaurus-tailwindcss',
@@ -135,6 +144,14 @@ const versions = require('./versions.json');
135144
}))
136145
]
137146
},
147+
{
148+
type: 'doc',
149+
position: 'right',
150+
label: 'Live Demo',
151+
to: 'livedemo',
152+
docsPluginId: 'livedemo',
153+
docId: 'WeeklyBugRetro',
154+
},
138155
{
139156
type: 'doc',
140157
docId: 'index',
@@ -210,11 +227,7 @@ const versions = require('./versions.json');
210227
{
211228
label: 'Engineering Metrics',
212229
to: 'docs/Metrics',
213-
},
214-
{
215-
label: 'Dashboards (Live Demo)',
216-
to: 'docs/LiveDemo',
217-
},
230+
}
218231
],
219232
},
220233
{

i18n/zh/docusaurus-plugin-content-blog/2022-05-18-apache-welcomes-devLake/index.md

+1-1

sidebarsLivedemo.js

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
/**
2+
* Creating a sidebar enables you to:
3+
- create an ordered group of docs
4+
- render a sidebar for each doc of that group
5+
- provide next/previous navigation
6+
The sidebars can be generated from the filesystem, or explicitly defined here.
7+
Create as many sidebars as you want.
8+
*/
9+
10+
// @ts-check
11+
12+
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
13+
const sidebars = {
14+
// By default, Docusaurus generates a sidebar from the docs folder structure
15+
livedemoSidebar: [{type: 'autogenerated', dirName: '.'}],
16+
17+
// But you can create a sidebar manually
18+
/*
19+
tutorialSidebar: [
20+
{
21+
type: 'category',
22+
label: 'Tutorial',
23+
items: ['hello'],
24+
},
25+
],
26+
*/
27+
};
28+
29+
module.exports = sidebars;

src/components/Sections/UserFlow.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export function UserFlow() {
5050
icon={<UF3 width={40} height={40} />}
5151
text="View Dashboards"
5252
>
53-
<InlineLink link="https://devlake.apache.org/docs/LiveDemo">View pre-built dashboards</InlineLink> of a variety of use cases and learn engineering insights from the <InlineLink link="https://devlake.apache.org/docs/Metrics">metrics</InlineLink>.
53+
<InlineLink link="https://devlake.apache.org/livedemo">View pre-built dashboards</InlineLink> of a variety of use cases and learn engineering insights from the <InlineLink link="https://devlake.apache.org/docs/Metrics">metrics</InlineLink>.
5454
</Card>
5555
<Arrow />
5656
<Card

src/components/Sections/WhyDevlake.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export function WhyDevlake() {
8383
<C.TextDescription>
8484
From DORA to scrum retros, DevLake implements metrics effortlessly with prebuilt dashboards supporting common frameworks and goals.
8585
<br />
86-
<C.TextLink link="https://devlake.apache.org/docs/LiveDemo">See Live Demo</C.TextLink>
86+
<C.TextLink link="https://devlake.apache.org/livedemo">See Live Demo</C.TextLink>
8787
</C.TextDescription>
8888
</C.TextSection>
8989
<C.SectionImg src={WAD2} />

versioned_docs/version-v0.11/Dashboards/AverageRequirementLeadTime.md

-9
This file was deleted.

versioned_docs/version-v0.11/Dashboards/CommitCountByAuthor.md

-9
This file was deleted.

versioned_docs/version-v0.11/Dashboards/DetailedBugInfo.md

-9
This file was deleted.

versioned_docs/version-v0.11/Dashboards/GitHubBasic.md

-9
This file was deleted.

versioned_docs/version-v0.11/Dashboards/GitHubReleaseQualityAndContributionAnalysis.md

-9
This file was deleted.

versioned_docs/version-v0.11/Dashboards/Jenkins.md

-9
This file was deleted.

versioned_docs/version-v0.11/Dashboards/WeeklyBugRetro.md

-9
This file was deleted.

versioned_docs/version-v0.11/Dashboards/_category_.json

-4
This file was deleted.

versioned_docs/version-v0.12/LiveDemo/AverageRequirementLeadTime.md

-9
This file was deleted.

versioned_docs/version-v0.12/LiveDemo/CommitCountByAuthor.md

-9
This file was deleted.

versioned_docs/version-v0.12/LiveDemo/DetailedBugInfo.md

-9
This file was deleted.

versioned_docs/version-v0.12/LiveDemo/GitHubBasic.md

-9
This file was deleted.

versioned_docs/version-v0.12/LiveDemo/GitHubReleaseQualityAndContributionAnalysis.md

-9
This file was deleted.

versioned_docs/version-v0.12/LiveDemo/Jenkins.md

-9
This file was deleted.

versioned_docs/version-v0.12/LiveDemo/WeeklyBugRetro.md

-9
This file was deleted.

versioned_docs/version-v0.12/LiveDemo/_category_.json

-4
This file was deleted.

versioned_docs/version-v0.12/UserManuals/ConfigUI/GitHub.md

+1-1

versioned_docs/version-v0.13/LiveDemo/AverageRequirementLeadTime.md

-9
This file was deleted.

versioned_docs/version-v0.13/LiveDemo/CommitCountByAuthor.md

-9
This file was deleted.

versioned_docs/version-v0.13/LiveDemo/DetailedBugInfo.md

-9
This file was deleted.

versioned_docs/version-v0.13/LiveDemo/GitHubBasic.md

-9
This file was deleted.

versioned_docs/version-v0.13/LiveDemo/GitHubReleaseQualityAndContributionAnalysis.md

-9
This file was deleted.

versioned_docs/version-v0.13/LiveDemo/Jenkins.md

-9
This file was deleted.

versioned_docs/version-v0.13/LiveDemo/WeeklyBugRetro.md

-9
This file was deleted.

versioned_docs/version-v0.13/LiveDemo/_category_.json

-8
This file was deleted.

versioned_docs/version-v0.13/UserManuals/ConfigUI/GitHub.md

+1-1

0 commit comments

Comments
 (0)