From 59dc6500b113db05b9de17e5b49124d29defce3f Mon Sep 17 00:00:00 2001 From: Kent Dybvig <18339284+dybvig@users.noreply.github.com> Date: Mon, 9 Mar 2026 10:51:36 +0100 Subject: [PATCH 01/41] updated lang-ref, compact grammar, ledger-adt.mdx. replaced all-keywords.mdx with compact-keywords.mdx and removed all-keywords.html. removed word-break: break-all from custom.css code {} to we don't get line breaks within words and constants in inline code segments. moved ledger-adt.mdx from static/language to docs/compact/reference. --- docs/compact/reference/all-keywords.mdx | 12 - docs/compact/reference/compact-keywords.mdx | 90 + docs/compact/reference/lang-ref.mdx | 3979 +++++++++++------ .../compact/reference}/ledger-adt.mdx | 6 +- sidebars.compact.js | 2 +- src/css/custom.css | 1 - static/language/all-keywords.html | 104 - static/language/compact.html | 47 +- 8 files changed, 2716 insertions(+), 1525 deletions(-) delete mode 100644 docs/compact/reference/all-keywords.mdx create mode 100644 docs/compact/reference/compact-keywords.mdx rename {static/language => docs/compact/reference}/ledger-adt.mdx (98%) delete mode 100644 static/language/all-keywords.html diff --git a/docs/compact/reference/all-keywords.mdx b/docs/compact/reference/all-keywords.mdx deleted file mode 100644 index ddc9386d..00000000 --- a/docs/compact/reference/all-keywords.mdx +++ /dev/null @@ -1,12 +0,0 @@ ---- -SPDX-License-Identifier: Apache-2.0 -copyright: This file is part of midnight-docs. Copyright (C) 2025 Midnight Foundation. Licensed under the Apache License, Version 2.0 (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -title: Keywords and reserved words -sidebar_position: 20 ---- - -# Keywords and reserved words - -import Iframe from "@site/src/components/IFrame/Iframe"; - -