-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: refactor navbar and sidebar out of config (#4523)
Signed-off-by: Rui Chen <rui@chenrui.dev>
- Loading branch information
1 parent
56b0f6b
commit 1e7d7cf
Showing
6 changed files
with
125 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
const en = [ | ||
{ text: 'Home', link: '/' }, | ||
{ text: 'Guide', link: '/guide/' }, | ||
{ text: 'Docs', link: '/docs/' }, | ||
{ text: 'Blog', link: 'https://medium.com/runatlantis' }, | ||
]; | ||
|
||
export default { en }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
const en = { | ||
'/guide/': [ | ||
'/guide/', | ||
'/guide/test-drive', | ||
'/guide/testing-locally', | ||
], | ||
'/docs/': [ | ||
{ | ||
text: 'Installing Atlantis', | ||
collapsible: true, | ||
children: [ | ||
'/docs/installation-guide', | ||
'/docs/requirements', | ||
'/docs/access-credentials', | ||
'/docs/webhook-secrets', | ||
'/docs/deployment', | ||
'/docs/configuring-webhooks', | ||
'/docs/provider-credentials', | ||
] | ||
}, | ||
{ | ||
text: 'Configuring Atlantis', | ||
collapsible: true, | ||
children: [ | ||
{ | ||
text: 'Overview', | ||
link: '/docs/configuring-atlantis', | ||
}, | ||
'/docs/server-configuration', | ||
'/docs/server-side-repo-config', | ||
'/docs/pre-workflow-hooks', | ||
'/docs/post-workflow-hooks', | ||
'/docs/policy-checking', | ||
'/docs/custom-workflows', | ||
'/docs/repo-level-atlantis-yaml', | ||
'/docs/upgrading-atlantis-yaml', | ||
'/docs/command-requirements', | ||
'/docs/checkout-strategy', | ||
'/docs/terraform-versions', | ||
'/docs/terraform-cloud', | ||
'/docs/using-slack-hooks', | ||
'/docs/stats', | ||
'/docs/faq', | ||
] | ||
}, | ||
{ | ||
text: 'Using Atlantis', | ||
collapsible: true, | ||
children: [ | ||
{ | ||
text: 'Overview', | ||
link: '/docs/using-atlantis', | ||
}, | ||
'/docs/api-endpoints', | ||
] | ||
}, | ||
{ | ||
text: 'How Atlantis Works', | ||
collapsible: true, | ||
children: [ | ||
{ | ||
text: 'Overview', | ||
link: '/docs/how-atlantis-works', | ||
}, | ||
'/docs/locking', | ||
'/docs/autoplanning', | ||
'/docs/automerging', | ||
'/docs/security', | ||
] | ||
}, | ||
{ | ||
text: 'Real-time Terraform Logs', | ||
collapsible: true, | ||
children: [ | ||
'/docs/streaming-logs', | ||
] | ||
}, | ||
{ | ||
text: 'Troubleshooting', | ||
collapsible: true, | ||
children: [ | ||
'/docs/troubleshooting-https', | ||
] | ||
} | ||
] | ||
}; | ||
|
||
export default { en }; |