Bootstrap Hosted Axolotl Docs w/Quarto (#1429)

* precommit

* mv styes.css

* fix links
This commit is contained in:
Hamel Husain
2024-03-21 22:28:36 -07:00
committed by GitHub
parent 2a1589f6f6
commit 629450cecd
20 changed files with 187 additions and 34 deletions

17
docs/config.qmd Normal file
View File

@@ -0,0 +1,17 @@
---
title: Config options
description: A complete list of all configuration options.
---
```{python}
#|echo: false
#|output: asis
import re
# Regex pattern to match the YAML block including its code fence
pattern = r'<details[^>]*id="all-yaml-options"[^>]*>.*?<summary>All yaml options.*?```yaml(.*?)```.*?</details>'
with open('../README.md', 'r') as f:
doc = f.read()
match = re.search(pattern, doc, re.DOTALL)
print("```yaml", match.group(1).strip(), "```", sep="\n")
```