-
-
Notifications
You must be signed in to change notification settings - Fork 162
Expand file tree
/
Copy pathmkdocs.yml
More file actions
321 lines (314 loc) · 14.1 KB
/
Copy pathmkdocs.yml
File metadata and controls
321 lines (314 loc) · 14.1 KB
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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
site_name: OpenContracts
site_description: Open, Extensible Document Analytics Platform
site_author: John Scrudato IV
site_url: https://open-source-legal.github.io/OpenContracts/
repo_name: Open-Source-Legal/OpenContracts
repo_url: https://github.com/Open-Source-Legal/OpenContracts
edit_uri: blob/main/docs
copyright: 'Copyright © John Scrudato 2022-present'
docs_dir: docs
site_dir: site
theme:
name: material
custom_dir: docs/.overrides
language: en
favicon: assets/images/logos/favicon.ico
logo: assets/images/logos/os_legal_128_inverted.png
font:
text: Roboto
code: Roboto Mono
palette:
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: indigo
accent: indigo
toggle:
icon: material/weather-night
name: Switch to light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: indigo
accent: indigo
toggle:
icon: material/weather-sunny
name: Switch to dark mode
features:
- navigation.sections
- navigation.expand
- navigation.tabs
- navigation.tabs.sticky
- navigation.instant
nav:
- Home:
- About: index.md
- Philosophy: philosophy.md
- Quick Start: quick_start.md
- System Requirements: requirements.md
- Acknowledgements: acknowledgements.md
- Releases:
- v3.0.0.b4: releases/v3.0.0.b4.md
- v3.0.0.b3: releases/v3.0.0.b3.md
- v3 Upgrade Guide: migrations/v3_upgrade_guide.md
- Walkthrough:
- Key Concepts: walkthrough/key-concepts.md
- Step 1 - Add Documents: walkthrough/step-1-add-documents.md
- Step 2 - Create Labelset: walkthrough/step-2-create-labelset.md
- Step 3 - Create Corpus: walkthrough/step-3-create-a-corpus.md
- Step 4 - Create Text Annotations: walkthrough/step-4-create-text-annotations.md
- Step 5 - Create Document Annotations: walkthrough/step-5-create-doc-type-annotations.md
- Step 6 - Search and Filter By Annotations: walkthrough/step-6-search-and-filter-by-annotations.md
- Step 7 - Query a Corpus: walkthrough/step-7-query-corpus.md
- Step 8 - Data Extract: walkthrough/step-8-data-extract.md
- Step 9 - Automatic Corpus Actions: walkthrough/step-9-corpus-actions.md
- Notes - Add and Edit: walkthrough/add-and-edit-notes.md
- Advanced:
- Extraction Tutorial: walkthrough/advanced/extraction_tutorial.md
- Write Document Analyzers: walkthrough/advanced/register-doc-analyzer.md
- Write Custom Extractors: walkthrough/advanced/write-your-own-extractors.md
- Configure Annotation Display: walkthrough/advanced/configure-annotation-view.md
- Fork a Corpus: walkthrough/advanced/fork-a-corpus.md
- Import and Export Corpuses: walkthrough/advanced/export-import-corpuses.md
- Generate GraphQL Schema Files: walkthrough/advanced/generate-graphql-schema-files.md
- PAWLS Token Format: walkthrough/advanced/pawls-token-format.md
- Upload Methods:
- Overview: upload_methods/index.md
- Supported File Formats: upload_methods/supported_formats.md
- Single Upload: upload_methods/single_upload.md
- Bulk Zip Import: upload_methods/bulk_zip_import.md
- Worker Uploads (REST): upload_methods/worker_uploads.md
- Remote Ingest Worker: upload_methods/remote_ingest_worker.md
- Annotated Document Import: upload_methods/annotated_document_import.md
- Corpus Export / Import: upload_methods/corpus_export_import.md
- Annotation Side Effects: upload_methods/annotation_side_effects.md
- Worker Uploads Walkthrough: worker_uploads/walkthrough.md
- Guides:
- Building Document Imports with CAML: guides/building-document-imports-with-caml.md
- Ingesting Authorities & Adding Providers: guides/ingesting-authorities.md
- Authoring an Authority Pack: guides/authoring-authority-packs.md
- Architecture:
- System Data Flow: architecture/components/Data-flow-diagram.md
- PDF Data Layer (PAWLs): architecture/PDF-data-layer.md
- PAWLs Format Spec: architecture/pawls-format.md
- Data Model:
- Documents and Annotations: architecture/data_model/documents_and_annotations.md
- Annotation JSON: architecture/data_model/annotation_json.md
- Asynchronous Processing: architecture/asynchronous-processing.md
- Bulk Import: architecture/bulk-import.md
- Document Analyzers: architecture/analyzers.md
- Reference-Web Enrichment & Authority Discovery: architecture/reference-web-enrichment.md
- Authority Console: architecture/authority-console.md
- 'Proposal: Authority Packs': architecture/proposals/0002-authority-packs.md
- Discovery System (llms.txt, MCP, robots.txt): architecture/discovery_system.md
- Corpus Actions: architecture/opencontract-corpus-actions.md
- Agent Corpus Actions: architecture/agent_corpus_actions_design.md
- Corpus Auto-Branding (Logo + README): architecture/corpus_auto_branding.md
- Document Versioning: architecture/document_versioning.md
- Querying Annotations on Versioned Docs: architecture/querying_annotations_on_versioned_docs.md
- Corpus Forking: architecture/corpus_forking.md
- Corpus Export Format Spec: architecture/corpus-export-format-spec.md
- Corpus Export/Import V2: architecture/corpus_export_import_v2.md
- Document & Corpus Lifecycle: architecture/document_corpus_lifecycle.md
- Document Annotation Index: architecture/document_annotation_index.md
- Structural vs Non-Structural: architecture/structural_vs_non_structural_annotations.md
- Embeddings Creation & Retrieval: architecture/embeddings_creation_and_retrieval.md
- Multimodal Embeddings: architecture/multimodal-embeddings.md
- Query Permission Patterns: architecture/query_permission_patterns.md
- Sharing: architecture/sharing.md
- Rich Mentions: architecture/rich_mentions.md
- User Handles: architecture/user_handles.md
- Deep Linking: architecture/deep-linking.md
- Social Media Previews: architecture/social-media-previews.md
- Annotator Component:
- Overview: architecture/components/annotator/current-state/overview.md
- How Annotations Are Created: architecture/components/annotator/current-state/how-annotations-are-created.md
- State Management: architecture/components/annotator/current-state/state-management.md
- Virtualized Rendering: architecture/components/annotator/current-state/virtualized-rendering.md
- How Search Works: architecture/components/annotator/current-state/how-search-works.md
- Scroll-to-Annotation Flow: architecture/components/annotator/current-state/scroll-to-annotation-flow.md
- Sidebar and Zoom: architecture/components/annotator/current-state/sidebar-and-zoom.md
- Extract Selection Flow: architecture/components/annotator/current-state/extract-selection-flow.md
- Document Knowledge Base Features: architecture/components/annotator/current-state/document-knowledge-base-features.md
- LLM Framework:
- Overview: architecture/llms/README.md
- WebSockets:
- Overview: architecture/websocket/README.md
- Protocol: architecture/websocket/protocol.md
- Backend: architecture/websocket/backend.md
- Frontend: architecture/websocket/frontend.md
- Pipelines:
- Pipeline Overview: pipelines/pipeline_overview.md
- Pipeline Configuration: pipelines/pipeline_configuration.md
- Docling Parser: pipelines/docling_parser.md
- LlamaParse Parser: pipelines/llamaparse_parser.md
- Multimodal Embedder: pipelines/multimodal_embedder.md
- Extract & Retrieval:
- Overview: extract_and_retrieval/README.md
- API Reference: extract_and_retrieval/api_reference.md
- Vector Stores: extract_and_retrieval/vector_stores.md
- Corpus Queries: extract_and_retrieval/corpus_queries.md
- Data Extraction: extract_and_retrieval/data_extraction.md
- Benchmarking: extract_and_retrieval/benchmarking.md
- LegalBench RAG Results: benchmarks/legalbench_rag_results.md
- Discussions & Community:
- Overview: commenting_system/README.md
- Backend Architecture: commenting_system/backend_architecture.md
- GraphQL API: commenting_system/graphql_api.md
- Notifications: commenting_system/notifications.md
- Moderation: commenting_system/moderation.md
- Voting & Reputation: commenting_system/voting_and_reputation.md
- Leaderboard: commenting_system/LEADERBOARD_IMPLEMENTATION.md
- Implementation Guide: commenting_system/IMPLEMENTATION_GUIDE.md
- Testing: commenting_system/testing.md
- Metadata System:
- Overview: metadata/metadata_overview.md
- Metadata Fields: metadata/metadata_fields.md
- API Examples: metadata/metadata_api_examples.md
- Frontend Requirements: metadata/metadata_frontend_requirements.md
- Features:
- Badge System: features/badge_system.md
- Document Versioning: features/document_versioning.md
- Corpus Folders: features/corpus_folders_implementation.md
- Corpus Folders API: features/corpus_folders_api_reference.md
- Agent Mentions (Plan): features/agent_mentions_implementation_plan.md
- MCP:
- Overview: mcp/README.md
- Corpus Actions:
- Introduction: corpus_actions/intro_to_corpus_actions.md
- Configuration:
- Choose Docker Stack: configuration/choose-and-configure-docker-stack.md
- Authentication: configuration/authentication.md
- Frontend Configuration: configuration/frontend-configuration.md
- Storage Backend: configuration/choose-storage-backend.md
- GCP Storage Setup: GCP_STORAGE_SETUP.md
- Permissions:
- Overview: permissioning/README.md
- Consolidated Guide: permissioning/consolidated_permissioning_guide.md
- Read Only Mode: permissioning/read_only_mode.md
- Corpus Optional Features: permissioning/corpus_optional_features.md
- Mention Permissioning Spec: permissioning/mention_permissioning_spec.md
- Testing Permissions: permissioning/testing_permissions.md
- Frontend:
- Routing System: frontend/routing_system.md
- Auth Flow: frontend/auth_flow.md
- Layout Architecture: frontend/layout-architecture.md
- Document Rendering: frontend/document_rendering_and_annotation.md
- Search Rendering: frontend/search_rendering.md
- Discussions: frontend/discussions.md
- Real-Time Notifications: frontend/real-time-notifications.md
- Corpus Selection: frontend/corpus-and-document-selection.md
- Corpus Optional Features: frontend/corpus-optional-features.md
- Doc Data Query Optimizations: frontend/doc-data-query-optimizations.md
- Read Only Mode Inventory: frontend/read_only_mode_inventory.md
- '"any" Baseline': frontend/any-baseline.md
- OS-Legal Style Migration: frontend/os-legal-style-migration-guide.md
- DataGrid:
- Custom Cell Rendering: frontend/datagrid/rendering_custom_cells.md
- API Documentation:
- Smart Label Mutations: api/smart-label-mutations.md
- Telemetry:
- Backend: telemetry/Backend.md
- Frontend: telemetry/Frontend.md
- Development:
- Dev Environment: development/environment.md
- Test Suite: development/test-suite.md
- Frontend Notes: development/frontend-notes.md
- Documentation: development/documentation.md
- Generating GraphQL Schema: development/generating-new-graphql-schema.md
- Screenshots: development/screenshots.md
- Rate Limiting: development/rate-limiting.md
- Rate Limiting Summary: development/rate-limiting-summary.md
- E2E VCR: development/e2e_vcr.md
- Typing:
- Overview: typing/README.md
- Analyzer Framework:
- Backend: analyzer_framework/backend.md
- Frontend: analyzer_framework/frontend.md
plugins:
# Built-in
search: {}
# Extra
glightbox: {}
minify:
minify_html: true
git-revision-date-localized:
type: date
# Required for blog plugin's generated indices
fallback_to_build_date: true
mike:
alias_type: copy
mkdocstrings:
default_handler: python
handlers:
python:
paths:
- src
options:
# Headings
show_root_heading: true
show_root_full_path: false
# Docstrings
show_if_no_docstring: true
# Signatures/annotations
show_signature_annotations: true
# Other
show_bases: false
markdown_extensions:
# Built-in
- markdown.extensions.abbr:
- markdown.extensions.admonition:
- markdown.extensions.attr_list:
- markdown.extensions.footnotes:
- markdown.extensions.meta:
- markdown.extensions.tables:
- markdown.extensions.toc:
permalink: true
# Extra
- mkdocs-click:
- pymdownx.arithmatex:
- pymdownx.betterem:
smart_enable: all
- pymdownx.caret:
- pymdownx.critic:
- pymdownx.details:
- pymdownx.highlight:
guess_lang: false
linenums_style: pymdownx-inline
use_pygments: true
- pymdownx.inlinehilite:
- pymdownx.keys:
- pymdownx.magiclink:
repo_url_shortener: true
repo_url_shorthand: true
social_url_shortener: true
social_url_shorthand: true
normalize_issue_symbols: true
provider: github
user: Open-Source-Legal
repo: OpenContracts
- pymdownx.mark:
- pymdownx.progressbar:
- pymdownx.saneheaders:
- pymdownx.smartsymbols:
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: pymdownx.superfences.fence_code_format
- pymdownx.tabbed:
alternate_style: true
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tilde:
extra:
version:
provider: mike
consent:
title: Cookie consent
description: >-
We use cookies to recognize your repeated visits and preferences, as well
as to measure the effectiveness of our documentation and whether users
find what they're searching for. With your consent, you're helping us to
make our documentation better.
extra_css:
- assets/css/custom.css
- https://cdn.jsdelivr.net/gh/tonsky/FiraCode@5.2/distr/fira_code.css