Skip to content
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.

Commit

Permalink
Added readthedoc yaml file
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas Geneva committed Nov 30, 2020
1 parent c4684b8 commit 0706f7e
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
24 changes: 24 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# .readthedocs.yml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/source/conf.py

# Build documentation with MkDocs
#mkdocs:
# configuration: mkdocs.yml

# Optionally build your docs in additional formats such as PDF
formats:
- pdf

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.7
install:
- requirements: docs/requirements.txt
3 changes: 1 addition & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
import os
import sys
sys.path.insert(0, os.path.abspath('.'))
sys.path.insert(0, os.path.abspath('./tmglow'))
sys.path.insert(0, os.path.abspath('../tmglow'))
sys.path.insert(0, os.path.abspath('../../tmglow'))

from sphinx.ext.autodoc import between
Expand Down Expand Up @@ -53,6 +51,7 @@ def setup(app):
'sphinx.ext.ifconfig'
]

autoapi_dirs=['../../tmglow']

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
Expand Down

0 comments on commit 0706f7e

Please sign in to comment.