File: mkdocs.yaml

package info (click to toggle)
reflect-cpp 0.21.0%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,128 kB
  • sloc: cpp: 50,336; python: 139; makefile: 30; sh: 3
file content (192 lines) | stat: -rw-r--r-- 5,843 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
# yaml-language-server: $schema=https://squidfunk.github.io/mkdocs-material/schema.json

site_name: "reflect-cpp"
strict: false
site_url: https://rfl.getml.com/
site_author: Code17 GmbH
site_description: >-
  A C++20 library for fast serialization, deserialization and validation using reflection. 
  Supports JSON, AVRO, BSON, Cap'n Proto, CBOR, CSV, flexbuffers, msgpack, parquet, TOML, UBJSON, XML, YAML 

theme:
  name: "material"
  palette:
    - media: "(prefers-color-scheme)"
      toggle:
        icon: material/brightness-5
        name: "Switch to light mode"
    - media: "(prefers-color-scheme: light)"
      scheme: default
      primary: getml
      accent: getml
      toggle:
        icon: material/brightness-2
        name: "Switch to dark mode"
    - media: "(prefers-color-scheme: dark)"
      scheme: slate
      primary: getml
      accent: getml
      toggle:
        icon: material/brightness-6
        name: "Switch to system preference"
  font:
    text: Roboto
    code: Roboto Mono
  features:
    - content.tabs.link
    - content.code.annotate
    - content.code.copy
    - announce.dismiss
    - navigation.tabs
    - navigation.instant
    - navigation.instant.prefetch
    - navigation.instant.preview
    - navigation.instant.progress
    - navigation.path
    - navigation.top
    - navigation.tracking
    - search.suggest
    - toc.follow
  # logo: assets/images/rfl-favicon.png
  # favicon: assets/images/rfl-favicon-square.png

repo_name: getml/reflect-cpp
repo_url: https://github.com/getml/reflect-cpp
edit_uri: edit/main/docs/

extra:
  social:
    - icon: fontawesome/brands/github
      link: https://github.com/getml
    - icon: fontawesome/brands/youtube
      link: https://www.youtube.com/@code17-gmbh
    - icon: fontawesome/brands/linkedin
      link: https://www.linkedin.com/company/code17-gmbh

# https://www.mkdocs.org/user-guide/configuration/#validation
#validation:
#  absolute_links: warn
#  unrecognized_links: warn

validation:
  omitted_files: warn
  links:
    absolute_links: relative_to_docs
    anchors: warn
    unrecognized_links: warn

extra_css:
  - assets/stylesheets/tweaks.css

exclude_docs: |

nav:
  - Welcome: index.md
  # - Concepts:
  #    - Structs: concepts/structs.md
  #    - Custom Classes: concepts/custom_classes.md
  #    - Fields: concepts/field_syntax.md
  #    # - Type: concepts/types.md
  #    - Processors: concepts/processors.md
  #    # - Serialization: concepts/serialization.md
  #    # - Validators: concepts/validators.md
  #    # - Errors handling: concepts/errors.md
  - Supported Formats:
      - Avro: supported_formats/avro.md
      - BSON: supported_formats/bson.md
      - Cap'n Proto: supported_formats/capnproto.md
      - CBOR: supported_formats/cbor.md
      - CSV: supported_formats/csv.md
      - FlexBuffers: supported_formats/flexbuffers.md
      - JSON: supported_formats/json.md
      - MessagePack: supported_formats/msgpack.md
      - Parquet: supported_formats/parquet.md
      - TOML: supported_formats/toml.md
      - UBJSON: supported_formats/ubjson.md
      - XML: supported_formats/xml.md
      - YAML: supported_formats/yaml.md
      - Custom Format: supported_formats/supporting_your_own_format.md
  # - Reflective Programming: ./reflective_programming.md
  - Installation: install.md
  - Documentation: 
    - docs-readme.md
    - The basics:
      - Structs: concepts/structs.md
      - Optional fields: optional_fields.md
      - Struct flattening: flatten_structs.md
      - Processors: concepts/processors.md
      - The rfl::Field-syntax: concepts/field_syntax.md
      - String literals: literals.md
      - Enums: enums.md
      - std::variant and rfl::TaggedUnion: variants_and_tagged_unions.md
      - rfl::Box and rfl::Ref: rfl_ref.md
      - rfl::Timestamp: timestamps.md
      - rfl::Skip: rfl_skip.md
      - rfl::Result: result.md
      - Standard containers: standard_containers.md
      - C arrays and inheritance: c_arrays_and_inheritance.md
      - rfl::Bytestring: bytestring.md
      - rfl::Binary, rfl::Hex and rfl::Oct: number_systems.md
    - Validation:
      - Regex patterns: patterns.md
      - Validating numbers: validating_numbers.md
      - Composing validators: composing_validators.md
      - Size validation: size_validation.md
      - JSON schema: json_schema.md
    - Generic elements:
      - rfl::Object: object.md
      - rfl::Generic: generic.md
      - rfl::ExtraFields: extra_fields.md
    - Custom classes:
      - Custom classes: concepts/custom_classes.md
      - Custom parsers for your classes: custom_parser.md
    - Useful helper functions and classes:
      - rfl::replace: replace.md
      - rfl::as: as.md
      - rfl::NamedTuple: named_tuple.md
      - rfl::Tuple: rfl_tuple.md
      - rfl::to_view: to_view.md
    - Advanced topics:
      - Supporting your own format: supported_formats/supporting_your_own_format.md
      - Maintaining backwards compatability: backwards_compatability.md
      - Benchmarks: benchmarks.md
  - Contributing: contributing.md

markdown_extensions:
  - tables
  - def_list
  - toc:
      permalink: true
      title: Page contents
  - admonition
  - pymdownx.details
  - pymdownx.superfences
  - pymdownx.highlight:
      pygments_lang_class: true
  - pymdownx.extra
  - pymdownx.emoji:
      emoji_index: !!python/name:material.extensions.emoji.twemoji
      emoji_generator: !!python/name:material.extensions.emoji.to_svg
  - pymdownx.tabbed:
      alternate_style: true

watch:
  - docs

plugins:
  - search
  - meta
  - htmlproofer:
      enabled: !ENV [ENABLED_HTMLPROOFER, False]
      raise_error_after_finish: True
      raise_error_excludes:
        403: ['*']
        502: ['*']
        504: ['*']
        429: ['*']

      ignore_urls:
        - localhost:8080/*
        - mailto:*
        - 'data:image/*'
        - '#*'