mirror of
https://github.com/nlohmann/json.git
synced 2025-11-24 03:44:06 +08:00
Overwork documentation (#4516)
This commit is contained in:
@@ -9,7 +9,7 @@ repo_url: https://github.com/nlohmann/json
|
||||
edit_uri: edit/develop/docs/mkdocs/docs
|
||||
|
||||
# Copyright
|
||||
copyright: Copyright © 2013 - 2023 Niels Lohmann
|
||||
copyright: Copyright © 2013 - 2024 Niels Lohmann
|
||||
|
||||
# Configuration
|
||||
theme:
|
||||
@@ -30,7 +30,8 @@ theme:
|
||||
toggle:
|
||||
icon: material/brightness-4
|
||||
name: Switch to light mode
|
||||
|
||||
icon:
|
||||
repo: fontawesome/brands/github
|
||||
font:
|
||||
text: Roboto
|
||||
code: JetBrains Mono
|
||||
@@ -41,6 +42,8 @@ theme:
|
||||
- navigation.indexes
|
||||
- navigation.top
|
||||
- content.tabs.link
|
||||
- content.action.edit
|
||||
- content.action.view
|
||||
|
||||
nav:
|
||||
- Home:
|
||||
@@ -51,6 +54,7 @@ nav:
|
||||
- home/exceptions.md
|
||||
- home/releases.md
|
||||
- home/design_goals.md
|
||||
- home/customers.md
|
||||
- home/sponsors.md
|
||||
- Features:
|
||||
- features/arbitrary_types.md
|
||||
@@ -281,6 +285,10 @@ nav:
|
||||
- 'JSON_USE_GLOBAL_UDLS': api/macros/json_use_global_udls.md
|
||||
- 'JSON_USE_IMPLICIT_CONVERSIONS': api/macros/json_use_implicit_conversions.md
|
||||
- 'JSON_USE_LEGACY_DISCARDED_VALUE_COMPARISON': api/macros/json_use_legacy_discarded_value_comparison.md
|
||||
- 'NLOHMANN_DEFINE_DERIVED_TYPE_INTRUSIVE': api/macros/nlohmann_define_derived_type.md
|
||||
- 'NLOHMANN_DEFINE_DERIVED_TYPE_INTRUSIVE_WITH_DEFAULT': api/macros/nlohmann_define_derived_type.md
|
||||
- 'NLOHMANN_DEFINE_DERIVED_TYPE_NON_INTRUSIVE': api/macros/nlohmann_define_derived_type.md
|
||||
- 'NLOHMANN_DEFINE_DERIVED_TYPE_NON_INTRUSIVE_WITH_DEFAULT': api/macros/nlohmann_define_derived_type.md
|
||||
- 'NLOHMANN_DEFINE_TYPE_INTRUSIVE': api/macros/nlohmann_define_type_intrusive.md
|
||||
- 'NLOHMANN_DEFINE_TYPE_INTRUSIVE_WITH_DEFAULT': api/macros/nlohmann_define_type_intrusive.md
|
||||
- 'NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE': api/macros/nlohmann_define_type_non_intrusive.md
|
||||
@@ -299,8 +307,6 @@ extra:
|
||||
social:
|
||||
- icon: fontawesome/brands/github
|
||||
link: https://github.com/nlohmann
|
||||
- icon: fontawesome/brands/twitter
|
||||
link: https://twitter.com/nlohmann
|
||||
- icon: fontawesome/brands/linkedin
|
||||
link: https://www.linkedin.com/in/nielslohmann/
|
||||
- icon: fontawesome/brands/xing
|
||||
@@ -332,7 +338,11 @@ markdown_extensions:
|
||||
- pymdownx.magiclink
|
||||
- pymdownx.mark
|
||||
#- pymdownx.smartsymbols
|
||||
- pymdownx.superfences
|
||||
- pymdownx.superfences:
|
||||
custom_fences:
|
||||
- name: mermaid
|
||||
class: mermaid
|
||||
format: !!python/name:pymdownx.superfences.fence_code_format
|
||||
- pymdownx.tasklist:
|
||||
custom_checkbox: true
|
||||
- pymdownx.tabbed:
|
||||
@@ -341,23 +351,21 @@ markdown_extensions:
|
||||
- pymdownx.snippets:
|
||||
base_path: docs
|
||||
check_paths: true
|
||||
- plantuml_markdown:
|
||||
format: svg
|
||||
|
||||
plugins:
|
||||
- search:
|
||||
separator: '[\s\-\.]'
|
||||
lang: en
|
||||
- minify:
|
||||
minify_html: true
|
||||
- git-revision-date-localized
|
||||
- redirects:
|
||||
redirect_maps:
|
||||
'api/basic_json/operator_gtgt.md': api/operator_gtgt.md
|
||||
'api/basic_json/operator_ltlt.md': api/operator_ltlt.md
|
||||
'api/basic_json/operator_literal_json.md': api/operator_literal_json.md
|
||||
'api/basic_json/operator_literal_json_pointer.md': api/operator_literal_json_pointer.md
|
||||
'api/json_pointer/operator_string.md': api/json_pointer/operator_string_t.md
|
||||
- search:
|
||||
separator: '[\s\-\.]'
|
||||
lang: en
|
||||
- minify:
|
||||
minify_html: true
|
||||
- git-revision-date-localized
|
||||
- redirects:
|
||||
redirect_maps:
|
||||
'api/basic_json/operator_gtgt.md': api/operator_gtgt.md
|
||||
'api/basic_json/operator_ltlt.md': api/operator_ltlt.md
|
||||
'api/basic_json/operator_literal_json.md': api/operator_literal_json.md
|
||||
'api/basic_json/operator_literal_json_pointer.md': api/operator_literal_json_pointer.md
|
||||
'api/json_pointer/operator_string.md': api/json_pointer/operator_string_t.md
|
||||
|
||||
extra_css:
|
||||
- css/custom.css
|
||||
|
||||
Reference in New Issue
Block a user