Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make CHANGELOG a "page" instead of a "doc" #78

Merged
merged 5 commits into from
Jul 26, 2021
Merged
Show file tree
Hide file tree
Changes from 2 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
17 changes: 15 additions & 2 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module.exports = {
tagline: "Android dependency injection using Anvil",
url: "https://rbusarow.github.io/",
baseUrl: "/Tangle/",
onBrokenLinks: "throw",
onBrokenLinks: 'warn',
onBrokenMarkdownLinks: "warn",
favicon: "img/favicon.ico",
organizationName: "rbusarow", // Usually your GitHub org/user name.
Expand Down Expand Up @@ -33,6 +33,11 @@ module.exports = {
label: "Basics",
position: "left",
},
{
to: 'CHANGELOG',
label: 'Change Log',
position: 'right'
},
{
type: "docsVersionDropdown",
position: "right",
Expand All @@ -50,8 +55,8 @@ module.exports = {
position: "right",
},
{
href: "https://github.com/rbusarow/Tangle/",
label: "GitHub",
href: "https://github.com/rbusarow/Tangle/",
position: "right",
},
],
Expand All @@ -65,6 +70,14 @@ module.exports = {
additionalLanguages: ["kotlin", "groovy"],
},
},
plugins: [
[
'@docusaurus/plugin-client-redirects',
{
toExtensions: ['html'],
},
],
],
presets: [
[
"@docusaurus/preset-classic",
Expand Down
2 changes: 1 addition & 1 deletion website/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*/

module.exports = {
Basics: ["quickstart", "configuration", "changelog"],
Basics: ["quickstart", "configuration"],
// ViewModels: [ ],
// Fragments: [ ],
};
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
---
id: changelog
title: Change Log
sidebar_label: Change Log
---

## 0.11.0

Expand Down
15 changes: 0 additions & 15 deletions website/versioned_docs/version-0.10.0/CHANGELOG.md

This file was deleted.

4 changes: 0 additions & 4 deletions website/versioned_sidebars/version-0.10.0-sidebars.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,5 @@
"type": "doc",
"id": "version-0.10.0/configuration"
},
{
"type": "doc",
"id": "version-0.10.0/changelog"
}
]
}