Skip to content

Commit 70a99ad

Browse files
committed
revert link changes
1 parent 1559c39 commit 70a99ad

File tree

3 files changed

+18
-4
lines changed

3 files changed

+18
-4
lines changed

docusaurus.config.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ module.exports = {
7474
},
7575
items: [
7676
{
77-
to: 'guide',
77+
to: '/',
7878
label: 'Guide',
7979
position: 'left',
8080
},
@@ -282,7 +282,7 @@ module.exports = {
282282
{
283283
id: 'guide',
284284
path: 'guide',
285-
routeBasePath: 'guide',
285+
routeBasePath: '/',
286286
sidebarPath: require.resolve('./sidebars-guide.js'),
287287
editUrl: ({ versionDocsDirPath, docPath, locale }) => {
288288
if (locale != 'en') {
@@ -358,6 +358,7 @@ module.exports = {
358358
versions: VERSIONS_JSON,
359359
},
360360
],
361+
[path.resolve(__dirname, 'plugins', 'docusaurus-plugin-route-fix'), {}]
361362
],
362363
themes: [
363364
[

guide/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Get started building by [installing Ionic](intro/cli.md) or following our [First
2929
<intro-end />
3030

3131
<DocsCards>
32-
<DocsCard header="Installation Guide" href="/guide/intro/cli" icon="/icons/guide-installation-icon.svg" hoverIcon="/icons/guide-installation-icon-hover.svg">
32+
<DocsCard header="Installation Guide" href="/intro/cli" icon="/icons/guide-installation-icon.svg" hoverIcon="/icons/guide-installation-icon-hover.svg">
3333
<p>Step-by-step guides to setting up your system and installing the framework.</p>
3434
</DocsCard>
3535

@@ -51,7 +51,7 @@ Get started building by [installing Ionic](intro/cli.md) or following our [First
5151
<p>Integrate native device plugins, like Bluetooth, Maps, HealthKit, and more.</p>
5252
</DocsCard>
5353
54-
<DocsCard header="Theming" href="/guide/theming/basics" icon="/icons/guide-theming-icon.svg" hoverIcon="/icons/guide-theming-icon-hover.svg">
54+
<DocsCard header="Theming" href="/theming/basics" icon="/icons/guide-theming-icon.svg" hoverIcon="/icons/guide-theming-icon-hover.svg">
5555
<p>Learn to easily customize and modify your Ionic app's visual design to fit your brand.</p>
5656
</DocsCard>
5757
</DocsCards>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
module.exports = function (context, options) {
2+
return {
3+
name: 'docusaurus-plugin-route-fix',
4+
async loadContent() {
5+
//const routes = await import('./docusaurus/routes.js');
6+
7+
console.log('load content')
8+
},
9+
async contentLoaded({ content, actions }) {
10+
console.log('content loaded')
11+
},
12+
};
13+
};

0 commit comments

Comments
 (0)