openapi-generator/website/sidebars.js
Jim Schubert aa7cd4f5af
[docs] Upgrade to Docusaurus 2 (#5271)
* [docs] Upgrade to Docusaurus 2

Due to formatting issues with Docusaurus 1 and code blocks, and upcoming
4.3 and 5.0 releases, this is an upgrade to have more control over
formatting and other functionality.

This adds behavior to have light/dark themes.

As a consequence of upgrading, columnar format on ul element in
generated generator docs had to be moved to css. This will not impact
users viewing the markdown on GitHub because it didn't display the
column format.

This upgrade should improve syntax highlighting and performance.

* Fix user page layout, choose theme with clear diff colors
2020-02-11 21:22:58 +08:00

48 lines
748 B
JavaScript
Executable File

module.exports = {
docs: {
'Getting Started': [
'installation',
'plugins',
'online',
'usage'
],
'Extending': [
'templating',
'customization',
'debugging',
'integrations'
],
'Contributing': [
'contributing',
'code-of-conduct',
'contribute-building',
'new-generator'
],
'About': [
'roadmap',
'swagger-codegen-migration',
'fork-qna'
],
'Releases': [
'release-summary',
'release-3-0-0'
],
'API': [
{
type: 'doc',
id: 'generators',
},
]
},
'faq-sidebar': {
'FAQ': [
'faq',
'faq-extending',
'faq-contributing',
'faq-generators'
]
}
}