Skip to content

Commit

Permalink
readthe docs integration 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Awni Hannun committed Dec 21, 2018
1 parent e2c40dc commit a1349e8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 1 addition & 3 deletions docs/README.md
Expand Up @@ -9,9 +9,7 @@ Install [Doxygen](http://www.doxygen.nl/manual/install.html).
Install sphinx, breathe and the theme:

```
pip install git+https://github.com/sphinx-doc/sphinx
pip install breathe
pip install sphinx_rtd_theme
pip install -r requirements.txt
```

### Build the Docs
Expand Down
7 changes: 7 additions & 0 deletions docs/source/conf.py
@@ -1,7 +1,14 @@
# -*- coding: utf-8 -*-

import os
import subprocess

import sphinx_rtd_theme

read_the_docs_build = os.environ.get('READTHEDOCS', None) == 'True'
if read_the_docs_build:
subprocess.call('cd ..; doxygen', shell=True)

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

project = 'flashlight'
Expand Down

0 comments on commit a1349e8

Please sign in to comment.