Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ repos:
hooks:
- id: sync-pre-commit-deps

# - repo: https://github.com/codespell-project/codespell
# rev: v2.2.4
# hooks:
# - id: codespell
# additional_dependencies:
# - tomli
# files: "codegen-backend/docs/.*/.*.mdx"
- repo: https://github.com/codespell-project/codespell
rev: v2.2.4
hooks:
- id: codespell
additional_dependencies:
- tomli
files: "docs/.*/.*.mdx"

- repo: https://github.com/fpgmaas/deptry.git
rev: "0.22.0"
Expand Down
2 changes: 1 addition & 1 deletion docs/building-with-codegen/reducing-conditions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ else:
print('MY_FEATURE: OFF')
```

`.reduce_condition` allows you to determinstically reduce this code to the following:
`.reduce_condition` allows you to deterministically reduce this code to the following:

```python
print('MY_FEATURE: ON')
Expand Down
142 changes: 71 additions & 71 deletions docs/prism.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* Override font variables */
:root {
--font-jetbrains-mono: Menlo, Monaco, "Courier New", monospace !important;
/* --font-jetbrains-mono: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace !important; */
--font-jetbrains-mono: Menlo, Monaco, "Courier New", monospace !important;
/* --font-jetbrains-mono: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace !important; */
}

pre[class*="language-"],
Expand All @@ -10,165 +10,165 @@ pre,
code,
kbd,
samp {
font-family: Menlo, Monaco, "Andale Mono", "Ubuntu Mono", monospace !important;
--font-jetbrains-mono: Consolas, Monaco, "Andale Mono", "Ubuntu Mono",
monospace !important;
font-weight: 500 !important;
font-family: Menlo, Monaco, "Andale Mono", "Ubuntu Mono", monospace !important;
--font-jetbrains-mono: Consolas, Monaco, "Andale Mono", "Ubuntu Mono",
monospace !important;
font-weight: 500 !important;
}

pre[class*="language-"] {
font-family: Menlo, Monaco, "Andale Mono", "Ubuntu Mono", monospace !important;
font-weight: 500 !important;
text-align: left;
white-space: pre;
word-spacing: normal;
word-break: normal;
word-wrap: normal;
line-height: 1.5;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
font-family: Menlo, Monaco, "Andale Mono", "Ubuntu Mono", monospace !important;
font-weight: 500 !important;
text-align: left;
white-space: pre;
word-spacing: normal;
word-break: normal;
word-wrap: normal;
line-height: 1.5;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
}
pre[class*="language-"]::-moz-selection,
pre[class*="language-"] ::-moz-selection,
code[class*="language-"]::-moz-selection,
code[class*="language-"] ::-moz-selection {
text-shadow: none;
background: #362d45;
text-shadow: none;
background: #362d45;
}
pre[class*="language-"]::selection,
pre[class*="language-"] ::selection,
code[class*="language-"]::selection,
code[class*="language-"] ::selection {
text-shadow: none;
background: #362d45;
text-shadow: none;
background: #362d45;
}
@media print {
code[class*="language-"],
pre[class*="language-"] {
text-shadow: none;
}
code[class*="language-"],
pre[class*="language-"] {
text-shadow: none;
}
}
/* Code blocks */
pre[class*="language-"] {
padding: 1em;
margin: 0.5em 0;
overflow: auto;
padding: 1em;
margin: 0.5em 0;
overflow: auto;
}
:not(pre) > code[class*="language-"],
pre[class*="language-"] {
color: white;
color: white;
}
:not(pre) > code[class*="language-"] {
padding: 0.1em;
border-radius: 0.3em;
white-space: normal;
padding: 0.1em;
border-radius: 0.3em;
white-space: normal;
}

.language-python .language-bash {
background-color: #15141b !important;
font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace !important;
font-weight: 600 !important;
font-size: 16px !important;
background-color: #15141b !important;
font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace !important;
font-weight: 600 !important;
font-size: 16px !important;
}

.dark\:bg-codeblock:is(.dark *) {
background-color: #15141b !important;
background-color: #15141b !important;
}

.dark\:ring-gray-800\/50:is(.dark *) {
--tw-ring-color: #15141b !important;
--tw-ring-color: #15141b !important;
}

.codeblock-dark {
background-color: #15141b !important;
color: #edecee !important;
font-size: 20px !important;
background-color: #15141b !important;
color: #edecee !important;
font-size: 20px !important;
}

.dark .prose {
color: #edecee !important;
font-size: 16px !important;
color: #edecee !important;
font-size: 16px !important;
}

/* single backticks are orange */
.dark .prose p code {
color: #ffca85 !important;
color: #ffca85 !important;
}
.dark .prose ul code {
color: #ffca85 !important;
color: #ffca85 !important;
}

/* links are purple */
.prose a {
color: #a277ff !important;
color: #a277ff !important;
}

.token.tag {
color: #a277ff !important;
color: #a277ff !important;
}
.token.variable {
color: #a277ff !important;
color: #a277ff !important;
}
.token.keyword {
color: #a277ff !important;
color: #a277ff !important;
}
.token.operator {
color: #a277ff !important;
color: #a277ff !important;
}
.token.attr-name {
color: #a277ff !important;
color: #a277ff !important;
}
.token.punctuation {
color: #a277ff !important;
color: #a277ff !important;
}
.token.constant {
color: #a277ff !important;
color: #a277ff !important;
}
.token.string {
color: #61ffca !important;
color: #61ffca !important;
}
.token.inserted {
color: #61ffca !important;
color: #61ffca !important;
}
.token.changed {
color: #ffca85 !important;
color: #ffca85 !important;
}
.token.function {
color: #ffca85 !important;
color: #ffca85 !important;
}
.token.deleted {
color: #ff6767 !important;
color: #ff6767 !important;
}
.token.builtin {
color: #ffca85 !important;
color: #ffca85 !important;
}
.token.property {
color: #ffca85 !important;
color: #ffca85 !important;
}
.token.comment {
color: #6d6d6d !important;
color: #6d6d6d !important;
}
.token.class-name {
color: #82e2ff !important;
color: #82e2ff !important;
}
.token.important,
.token.bold {
font-weight: bold !important;
font-weight: bold !important;
}
.token.italic {
font-style: italic !important;
font-style: italic !important;
}

.language-bash {
color: #ffca85 !important;
color: #ffca85 !important;
}

.language-bash .token {
color: #ffca85 !important;
font-weight: 700 !important;
color: #ffca85 !important;
font-weight: 700 !important;
}
2 changes: 1 addition & 1 deletion docs/style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
.dark .bg-codeblock {
background-color: #15141b !important;
background-color: #15141b !important;
}
Loading