Skip to content

Commit

Permalink
Make docs buildable without virtualenv, fix #113
Browse files Browse the repository at this point in the history
ghstack-source-id: e23510dd1a91adb343c7d2ea44ab3e80755cf8ec
Pull Request resolved: #135
  • Loading branch information
amyreese committed Sep 17, 2022
1 parent 67307ad commit 18abc62
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,14 @@
# list see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html

# -- Path setup --------------------------------------------------------------

# If extensions (or modules to document with autodoc) are in another directory,
# 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('.'))


# -- Project information -----------------------------------------------------

import datetime
import pathlib
import sys

root = pathlib.Path(__file__).parent.parent
sys.path.insert(0, root.as_posix())

project = "aioitertools"
copyright = f"{datetime.date.today().year}, Amethyst Reese"
Expand Down

0 comments on commit 18abc62

Please sign in to comment.