diff options
author | Wouter Admiraal <wouter.admiraal@sonarsource.com> | 2019-05-22 09:23:33 +0200 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2019-05-27 20:21:09 +0200 |
commit | 9d47e5eb6277a1d4eb7233c154fd398395d19791 (patch) | |
tree | 65fb6884eff7a67f065f21820d0c8d4116709a37 /server/sonar-docs/gatsby-config.js | |
parent | a815f59e579ff2eef9e31fb6ca981d436072b220 (diff) | |
download | sonarqube-9d47e5eb6277a1d4eb7233c154fd398395d19791.tar.gz sonarqube-9d47e5eb6277a1d4eb7233c154fd398395d19791.zip |
SONAR-12127 Update the Gatsby config for custom blocks
Diffstat (limited to 'server/sonar-docs/gatsby-config.js')
-rw-r--r-- | server/sonar-docs/gatsby-config.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/server/sonar-docs/gatsby-config.js b/server/sonar-docs/gatsby-config.js index 833b83c342a..33d891cdb5c 100644 --- a/server/sonar-docs/gatsby-config.js +++ b/server/sonar-docs/gatsby-config.js @@ -37,18 +37,18 @@ module.exports = { options: { pathToConfigModule: `src/utils/typography` } }, { - resolve: 'gatsby-transformer-remark', + resolve: `gatsby-transformer-remark`, options: { plugins: [ { - resolve: 'gatsby-remark-custom-blocks', + resolve: `gatsby-remark-custom-blocks`, options: { blocks: { - danger: 'alert alert-danger', - warning: 'alert alert-warning', - info: 'alert alert-info', - success: 'alert alert-success', - collapse: 'collapse' + danger: { classes: 'alert alert-danger' }, + warning: { classes: 'alert alert-warning' }, + info: { classes: 'alert alert-info' }, + success: { classes: 'alert alert-success' }, + collapse: { classes: 'collapse' } } } } |