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 2
2
install :
3
3
npm install
4
4
5
+ .PHONY : install-docs
6
+ install-docs :
7
+ pip install -r requirements.txt
8
+
5
9
.PHONY : format
6
10
format :
7
11
npm run format
20
24
21
25
.PHONY : build-docs
22
26
build-docs :
23
- npm run docs: build
27
+ mkdocs build
24
28
25
29
.PHONY : serve-docs
26
30
serve-docs :
27
- npm run docs: serve
31
+ mkdocs serve
Original file line number Diff line number Diff line change 1
1
site_name : OpenAI Guardrails TypeScript
2
- site_dir : ../frontend/public/docs
2
+ site_dir : .vercel/output/static
3
3
theme :
4
4
name : material
5
5
features :
6
- # Allows copying code blocks
7
6
- content.code.copy
8
- # Allows selecting code blocks
9
7
- content.code.select
10
- # Shows the current path in the sidebar
11
8
- navigation.path
12
- # Shows sections in the sidebar
13
9
- navigation.sections
14
- # Shows sections expanded by default
15
10
- navigation.expand
16
- # Enables annotations in code blocks
17
11
- content.code.annotate
18
12
palette :
19
13
primary : black
@@ -36,17 +30,11 @@ plugins:
36
30
selection :
37
31
docstring_style : google
38
32
options :
39
- # Shows links to other members in signatures
40
33
signature_crossrefs : true
41
- # Orders members by source order, rather than alphabetical
42
34
members_order : source
43
- # Puts the signature on a separate line from the member name
44
35
separate_signature : true
45
- # Shows type annotations in signatures
46
36
show_signature_annotations : true
47
- # Makes the font sizes nicer
48
37
heading_level : 3
49
- # Show inherited members
50
38
inherited_members : true
51
39
- i18n :
52
40
docs_structure : folder
@@ -75,8 +63,8 @@ plugins:
75
63
- API Reference :
76
64
- Types : ref/types-typescript.md
77
65
- Exceptions : ref/exceptions-typescript.md
66
+
78
67
extra :
79
- # Remove material generation message in footer
80
68
generator : false
81
69
language : en
82
70
Original file line number Diff line number Diff line change 24
24
"cli" : " node dist/cli.js" ,
25
25
"eval" : " node dist/cli.js eval" ,
26
26
"eval:example" : " node dist/examples/run-eval.js" ,
27
- "docs:build" : " mkdocs build" ,
28
- "docs:serve" : " mkdocs serve"
29
27
},
30
28
"keywords" : [
31
29
" guardrails" ,
55
53
"@typescript-eslint/eslint-plugin" : " ^6.0.0" ,
56
54
"@typescript-eslint/parser" : " ^6.0.0" ,
57
55
"eslint" : " ^8.0.0" ,
58
- "mkdocs" : " ^1.5.3" ,
59
- "mkdocs-material" : " ^9.5.3" ,
60
- "mkdocs-mkdocstrings" : " ^0.24.0" ,
61
56
"prettier" : " ^3.0.0" ,
62
57
"rimraf" : " ^5.0.0" ,
63
58
"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