File tree Expand file tree Collapse file tree 5 files changed +24
-21
lines changed
Expand file tree Collapse file tree 5 files changed +24
-21
lines changed Original file line number Diff line number Diff line change 22install :
33 npm install
44
5+ .PHONY : install-docs
6+ install-docs :
7+ pip install -r requirements.txt
8+
59.PHONY : format
610format :
711 npm run format
2024
2125.PHONY : build-docs
2226build-docs :
23- npm run docs: build
27+ mkdocs build
2428
2529.PHONY : serve-docs
2630serve-docs :
27- npm run docs: serve
31+ mkdocs serve
Original file line number Diff line number Diff line change 11site_name : OpenAI Guardrails TypeScript
2- site_dir : ../frontend/public/docs
2+ site_dir : .vercel/output/static
33theme :
44 name : material
55 features :
6- # Allows copying code blocks
76 - content.code.copy
8- # Allows selecting code blocks
97 - content.code.select
10- # Shows the current path in the sidebar
118 - navigation.path
12- # Shows sections in the sidebar
139 - navigation.sections
14- # Shows sections expanded by default
1510 - navigation.expand
16- # Enables annotations in code blocks
1711 - content.code.annotate
1812 palette :
1913 primary : black
@@ -36,17 +30,11 @@ plugins:
3630 selection :
3731 docstring_style : google
3832 options :
39- # Shows links to other members in signatures
4033 signature_crossrefs : true
41- # Orders members by source order, rather than alphabetical
4234 members_order : source
43- # Puts the signature on a separate line from the member name
4435 separate_signature : true
45- # Shows type annotations in signatures
4636 show_signature_annotations : true
47- # Makes the font sizes nicer
4837 heading_level : 3
49- # Show inherited members
5038 inherited_members : true
5139 - i18n :
5240 docs_structure : folder
@@ -75,8 +63,8 @@ plugins:
7563 - API Reference :
7664 - Types : ref/types-typescript.md
7765 - Exceptions : ref/exceptions-typescript.md
66+
7867extra :
79- # Remove material generation message in footer
8068 generator : false
8169 language : en
8270
Original file line number Diff line number Diff line change 2424 "cli" : " node dist/cli.js" ,
2525 "eval" : " node dist/cli.js eval" ,
2626 "eval:example" : " node dist/examples/run-eval.js" ,
27- "docs:build" : " mkdocs build" ,
28- "docs:serve" : " mkdocs serve"
2927 },
3028 "keywords" : [
3129 " guardrails" ,
5553 "@typescript-eslint/eslint-plugin" : " ^6.0.0" ,
5654 "@typescript-eslint/parser" : " ^6.0.0" ,
5755 "eslint" : " ^8.0.0" ,
58- "mkdocs" : " ^1.5.3" ,
59- "mkdocs-material" : " ^9.5.3" ,
60- "mkdocs-mkdocstrings" : " ^0.24.0" ,
6156 "prettier" : " ^3.0.0" ,
6257 "rimraf" : " ^5.0.0" ,
6358 "typescript" : " ^5.0.0" ,
Original file line number Diff line number Diff line change 1+ mkdocs == 1.5.3
2+ mkdocs-material == 9.5.3
3+ mkdocs-mkdocstrings == 0.24.0
Original file line number Diff line number Diff line change 1+ {
2+ "buildCommand" : " pip install -r requirements.txt && mkdocs build" ,
3+ "outputDirectory" : " .vercel/output/static" ,
4+ "framework" : " other" ,
5+ "installCommand" : " echo 'Skipping npm install'" ,
6+ "routes" : [
7+ {
8+ "src" : " /(.*)" ,
9+ "dest" : " /$1" ,
10+ "continue" : true
11+ }
12+ ]
13+ }
You can’t perform that action at this time.
0 commit comments