Skip to content

Commit

Permalink
Add kor to sys path when generating docs (#116)
Browse files Browse the repository at this point in the history
Add kor to sys path when generating docs to make it possible to generate docs even if the package isn't installed.
  • Loading branch information
eyurtsev authored May 7, 2023
1 parent aa10b41 commit 5e40290
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 298 deletions.
10 changes: 5 additions & 5 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))
import os
import sys
from typing import List

import toml

# -- Project information -----------------------------------------------------
from typing import List

import toml
sys.path.insert(0, os.path.abspath("../../"))

with open("../../pyproject.toml") as f:
data = toml.load(f)
Expand Down
293 changes: 0 additions & 293 deletions docs/source/prompt_examples.ipynb

This file was deleted.

0 comments on commit 5e40290

Please sign in to comment.