Skip to content

Commit

Permalink
[CE-675] Fix rtd build document failed
Browse files Browse the repository at this point in the history
Add .readthedocs.yml config file.
Add requirements.txt for doc build.

Change-Id: I3423e6352e77166e8bf5c42d95c76b9485a37e3d
Signed-off-by: Haitao Yue <[email protected]>
  • Loading branch information
hightall committed Aug 17, 2019
1 parent eb54f14 commit a2a3d4b
Show file tree
Hide file tree
Showing 3 changed files with 28 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
mkdocs:
configuration: mkdocs.yml
fail_on_warning: false

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

# Optionally build your docs in additional formats such as PDF and ePub
formats: all

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.7
install:
- requirements: docs/requirements.txt
4 changes: 4 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
mkdocs
mkdocs-material
pygments
pymdown-extensions
2 changes: 0 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ markdown_extensions:
- pymdownx.caret
- pymdownx.critic
- pymdownx.details
- pymdownx.emoji:
emoji_generator: !!python/name:pymdownx.emoji.to_svg
- pymdownx.inlinehilite
- pymdownx.keys
- pymdownx.magiclink
Expand Down

0 comments on commit a2a3d4b

Please sign in to comment.