mirror of
https://github.com/jlengrand/openapi-generator.git
synced 2026-03-10 08:31:23 +00:00
[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
This commit is contained in:
@@ -3,7 +3,7 @@ id: customization
|
||||
title: Customization
|
||||
---
|
||||
|
||||
<a id="creating-a-new-template"></a><!-- maintain old link ref name.-->
|
||||
<a id="creating-a-new-template"></a>
|
||||
## Custom Generator (and Template)
|
||||
|
||||
If none of the built-in generators suit your needs and you need to do more than just modify the mustache templates to tweak generated code, you can create a brand new generator and its associated templates. OpenAPI Generator can help with this, using the `meta` command:
|
||||
|
||||
Reference in New Issue
Block a user