You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -134,7 +134,12 @@ Check out the GitHub docs for a refresher on [how to create a pull request](http
134
134
135
135
### Style guidelines
136
136
137
-
For style guidelines, see ["Style guide"](/contribute/style-guide.md).
137
+
For documentation style guidelines, see ["Style guide"](/contribute/style-guide.md).
138
+
139
+
### Generating documentation from source code
140
+
141
+
For an overview of how reference documentation such as settings, system tables
142
+
and functions are generated from the source code, see ["Generating documentation from source code"](/contribute/autogenerated-documentation-from-source.md)
A [script in our docs repo](https://github.com/ClickHouse/clickhouse-docs/blob/main/scripts/settings/autogenerate-settings.sh)
4
+
extracts setting names, descriptions, default values, etc. from ClickHouse's source code.
5
+
6
+
## Session settings
7
+
8
+
Documentation for session settings are extracted from [`src/Core/Settings.cpp`](https://github.com/ClickHouse/ClickHouse/blob/master/src/Core/Settings.cpp).
9
+
10
+
## Format settings
11
+
12
+
Documentation for session settings are extracted from [`src/Core/FormatFactorySettings.h`](https://github.com/ClickHouse/ClickHouse/blob/master/src/Core/FormatFactorySettings.h).
13
+
14
+
## Server settings
15
+
16
+
Documentation for session settings are extracted from [`src/Core/ServerSettings.cpp`](https://github.com/ClickHouse/ClickHouse/blob/master/src/Core/ServerSettings.cpp).
17
+
18
+
Note that this file contains only a fraction of all server settings.
19
+
The reason is that server settings can be nested and `system.server_settings`
20
+
(which is built from `src/Core/ServerSettings.cpp`) and cannot represent nested
0 commit comments