This is an automated email from the ASF dual-hosted git repository. tison pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
The following commit(s) were added to refs/heads/main by this push: new 13ce97506410 [feat] add social card for render (#723) 13ce97506410 is described below commit 13ce97506410acbc58cee0d54a901c73b053c0b6 Author: tison <wander4...@gmail.com> AuthorDate: Mon Nov 6 11:14:45 2023 +0800 [feat] add social card for render (#723) Signed-off-by: tison <wander4...@gmail.com> --- docusaurus.config.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 91acfc9ba7ed..2f75c601b43d 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -144,8 +144,10 @@ module.exports = { oldUrl, }, trailingSlash: true, - themeConfig: { - /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ + themeConfig: + /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ + ({ + image: 'img/pulsar-white.svg', announcementBar: { id: "summit", content: renderAnnouncementBar( @@ -373,7 +375,8 @@ module.exports = { apiKey: "42d24d221fbd8eb59804a078208aaec0", indexName: "apache_pulsar", }, - }, + }), + presets: [ [ "@docusaurus/preset-classic",