From 26b7ad7e6377c84429ff8c23ca2287fc3f770d5d Mon Sep 17 00:00:00 2001 From: Mimi <1119186082@qq.com> Date: Sun, 13 Nov 2022 12:08:01 +0800 Subject: [PATCH] Update docs URL --- _config.yml | 178 +++++++++++++++++++++++++++------------------------- 1 file changed, 93 insertions(+), 85 deletions(-) diff --git a/_config.yml b/_config.yml index 20db512..6219b59 100644 --- a/_config.yml +++ b/_config.yml @@ -488,17 +488,63 @@ yandex_site_verification: baidu_site_verification: +# --------------------------------------------------------------- +# Tags Settings +# See: https://theme-next.js.org/docs/tag-plugins/ +# --------------------------------------------------------------- + +# Note tag (bootstrap callout) +note: + # Note tag style values: + # - simple bootstrap callout old alert style. Default. + # - modern bootstrap callout new (v2-v3) alert style. + # - flat flat callout style with background, like on Mozilla or StackOverflow. + # - disabled disable all CSS styles import of note tag. + style: simple + icons: false + # Offset lighter of background in % for modern and flat styles (modern: -12 | 12; flat: -18 | 6). + # Offset also applied to label tag variables. This option can work with disabled note tag. + light_bg_offset: 0 + +# Tabs tag +tabs: + # Make the nav bar of tabs with long content stick to the top. + sticky: false + transition: + tabs: false + labels: true + +# PDF tag +# NexT will try to load pdf files natively, if failed, pdf.js will be used. +# So, you have to install the dependency of pdf.js if you want to use pdf tag and make it available to all browsers. +# Dependencies: https://github.com/next-theme/theme-next-pdf +pdf: + enable: false + # Default height + height: 500px + +# Mermaid tag +mermaid: + enable: false + # Available themes: default | dark | forest | neutral + theme: + light: default + dark: dark + + # --------------------------------------------------------------- # Third Party Plugins & Services Settings # See: https://theme-next.js.org/docs/third-party-services/ # More plugins: https://github.com/next-theme/awesome-next -# You may need to install the corresponding dependency packages # --------------------------------------------------------------- +# --------------------------------------------------------------- # Math Formulas Render Support -# Warning: Please install / uninstall the relevant renderer according to the documentation. # See: https://theme-next.js.org/docs/third-party-services/math-equations +# Warning: Please install / uninstall the relevant renderer according to the documentation. # Server-side plugin: https://github.com/next-theme/hexo-filter-mathjax +# --------------------------------------------------------------- + math: # Default (false) will load mathjax / katex script on demand. # That is it only render those page which has `mathjax: true` in front-matter. @@ -515,6 +561,12 @@ math: # See: https://github.com/KaTeX/KaTeX/tree/master/contrib/copy-tex copy_tex: false + +# --------------------------------------------------------------- +# External Libraries +# See: https://theme-next.js.org/docs/third-party-services/external-libraries +# --------------------------------------------------------------- + # Easily enable fast Ajax navigation on your website. # For more information: https://github.com/next-theme/pjax pjax: false @@ -556,6 +608,45 @@ quicklink: priority: true +# --------------------------------------------------------------- +# Animation Settings +# --------------------------------------------------------------- + +# Use Animate.css to animate everything. +# For more information: https://animate.style +motion: + enable: true + async: false + transition: + # All available transition variants: https://theme-next.js.org/animate/ + post_block: fadeIn + post_header: fadeInDown + post_body: fadeInDown + coll_header: fadeInLeft + # Only for Pisces | Gemini. + sidebar: fadeInUp + +# Progress bar in the top during page loading. +# For more information: https://github.com/CodeByZach/pace +pace: + enable: false + # All available colors: + # black | blue | green | orange | pink | purple | red | silver | white | yellow + color: blue + # All available themes: + # big-counter | bounce | barber-shop | center-atom | center-circle | center-radar | center-simple + # corner-indicator | fill-left | flat-top | flash | loading-bar | mac-osx | material | minimal + theme: minimal + +# Generate a ribbon in your website with HTML5 canvas. +# For more information: https://github.com/hustcc/ribbon.js +canvas_ribbon: + enable: false + size: 300 # The width of the ribbon + alpha: 0.6 # The transparency of the ribbon + zIndex: -1 # The display level of the ribbon + + # --------------------------------------------------------------- # Comments Settings # See: https://theme-next.js.org/docs/third-party-services/comments @@ -799,89 +890,6 @@ gitter: room: -# --------------------------------------------------------------- -# Tags Settings -# See: https://theme-next.js.org/docs/tag-plugins/ -# --------------------------------------------------------------- - -# Note tag (bootstrap callout) -note: - # Note tag style values: - # - simple bootstrap callout old alert style. Default. - # - modern bootstrap callout new (v2-v3) alert style. - # - flat flat callout style with background, like on Mozilla or StackOverflow. - # - disabled disable all CSS styles import of note tag. - style: simple - icons: false - # Offset lighter of background in % for modern and flat styles (modern: -12 | 12; flat: -18 | 6). - # Offset also applied to label tag variables. This option can work with disabled note tag. - light_bg_offset: 0 - -# Tabs tag -tabs: - # Make the nav bar of tabs with long content stick to the top. - sticky: false - transition: - tabs: false - labels: true - -# PDF tag -# NexT will try to load pdf files natively, if failed, pdf.js will be used. -# So, you have to install the dependency of pdf.js if you want to use pdf tag and make it available to all browsers. -# Dependencies: https://github.com/next-theme/theme-next-pdf -pdf: - enable: false - # Default height - height: 500px - -# Mermaid tag -mermaid: - enable: false - # Available themes: default | dark | forest | neutral - theme: - light: default - dark: dark - - -# --------------------------------------------------------------- -# Animation Settings -# --------------------------------------------------------------- - -# Use Animate.css to animate everything. -# For more information: https://animate.style -motion: - enable: true - async: false - transition: - # All available transition variants: https://theme-next.js.org/animate/ - post_block: fadeIn - post_header: fadeInDown - post_body: fadeInDown - coll_header: fadeInLeft - # Only for Pisces | Gemini. - sidebar: fadeInUp - -# Progress bar in the top during page loading. -# For more information: https://github.com/CodeByZach/pace -pace: - enable: false - # All available colors: - # black | blue | green | orange | pink | purple | red | silver | white | yellow - color: blue - # All available themes: - # big-counter | bounce | barber-shop | center-atom | center-circle | center-radar | center-simple - # corner-indicator | fill-left | flat-top | flash | loading-bar | mac-osx | material | minimal - theme: minimal - -# Generate a ribbon in your website with HTML5 canvas. -# For more information: https://github.com/hustcc/ribbon.js -canvas_ribbon: - enable: false - size: 300 # The width of the ribbon - alpha: 0.6 # The transparency of the ribbon - zIndex: -1 # The display level of the ribbon - - # --------------------------------------------------------------- # CDN Settings # See: https://theme-next.js.org/docs/advanced-settings/vendors