Skip to content

Commit

Permalink
Add API reference
Browse files Browse the repository at this point in the history
  • Loading branch information
rlouf committed Nov 10, 2023
1 parent 4d53114 commit f97cddb
Show file tree
Hide file tree
Showing 10 changed files with 25 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/api/continuation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: outlines.text.generate.continuation
1 change: 1 addition & 0 deletions docs/api/fsm.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: outlines.text.fsm
1 change: 1 addition & 0 deletions docs/api/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# API Reference
1 change: 1 addition & 0 deletions docs/api/json_schema.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: outlines.text.json_schema
1 change: 1 addition & 0 deletions docs/api/models.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: outlines.models.transformers
1 change: 1 addition & 0 deletions docs/api/parsing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: outlines.text.parsing
1 change: 1 addition & 0 deletions docs/api/prompts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: outlines.text.prompts
1 change: 1 addition & 0 deletions docs/api/regex.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: outlines.text.generate.regex
1 change: 1 addition & 0 deletions docs/api/sample.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
::: outlines.text.generate.sample
18 changes: 16 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,15 @@ extra_css:
- stylesheets/extra.css

plugins:
- mkdocstrings
- mkdocstrings:
default_handler: python
handlers:
python:
options:
show_submodules: true
- search
- section-index
- social:
cards_layout: default/invert
cards_layout_options:
color: #173a58

Expand All @@ -98,3 +102,13 @@ nav:
- reference/types.md
- reference/regex.md
- reference/json.md
- API:
- api/index.md
- api/models.md
- api/prompts.md
- api/json_schema.md
- api/fsm.md
- api/parsing.md
- api/regex.md
- api/sample.md
- api/continuation.md

0 comments on commit f97cddb

Please sign in to comment.