summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/dist/docs_data.py
diff options
context:
space:
mode:
authorLuke Chen <luke.chen@mongodb.com>2020-11-09 17:32:51 +1100
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-11-09 07:02:02 +0000
commitb806ef292dad8608db70cefe97cc90a1603182ca (patch)
tree740f464a221dc65effa674e94381eb8a96f19b0c /src/third_party/wiredtiger/dist/docs_data.py
parent2856ce80170148fe578dc05ac7300f52d115bad2 (diff)
downloadmongo-b806ef292dad8608db70cefe97cc90a1603182ca.tar.gz
Import wiredtiger: 805fe0276c367cb70321af3e1f473c881d0adc87 from branch mongodb-5.0
ref: 5f201b99d9..805fe0276c for: 4.9.0 WT-6693 Add compatibility testing for imported objects WT-6824 Fix OSX python test errors related to UTF encoding WT-6836 Handle the last key in the shadow table being removed by rollback to stable in timestamp abort WT-6867 Documentation: create model subpages for architecture guide WT-6870 Rename history store statistic to better describe its use case. WT-6872 Replace the yield instructions with an ISB WT-6875 Remove legacy import invocation
Diffstat (limited to 'src/third_party/wiredtiger/dist/docs_data.py')
-rw-r--r--src/third_party/wiredtiger/dist/docs_data.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/third_party/wiredtiger/dist/docs_data.py b/src/third_party/wiredtiger/dist/docs_data.py
new file mode 100644
index 00000000000..47ae7c3c51a
--- /dev/null
+++ b/src/third_party/wiredtiger/dist/docs_data.py
@@ -0,0 +1,26 @@
+# Create entries used by our doxygen filter to expand the arch_page
+# macros in the documentation.
+
+class ArchDocPage:
+ def __init__(self, doxygen_name, data_structures, files):
+ self.doxygen_name = doxygen_name
+ self.data_structures = data_structures
+ self.files = files
+
+##########################################
+# List of all architecture subsections
+##########################################
+arch_doc_pages = [
+ ArchDocPage('arch-dhandle',
+ ['WT_BTREE', 'WT_DHANDLE'],
+ ['src/include/btree.h', 'src/include/dhandle.h',
+ 'src/conn/conn_dhandle.c', 'src/session/session_dhandle.c']),
+ ArchDocPage('arch-schema',
+ ['WT_COLGROUP', 'WT_INDEX', 'WT_LSM_TREE', 'WT_TABLE'],
+ ['src/include/intpack_inline.h', 'src/include/packing_inline.h',
+ 'src/include/schema.h',
+ 'src/lsm/', 'src/packing/', 'src/schema/']),
+ ArchDocPage('arch-transaction',
+ ['WT_TXN', 'WT_TXN_GLOBAL', 'WT_TXN_OP', 'WT_TXN_SHARED'],
+ ['src/include/txn.h', 'src/include/txn_inline.h', 'src/txn/']),
+]