File tree 2 files changed +39
-2
lines changed
2 files changed +39
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : CI Documentation
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ build :
7
+ runs-on : ubuntu-20.04
8
+
9
+ strategy :
10
+ max-parallel : 4
11
+ matrix :
12
+ python-version : [3.7]
13
+
14
+ steps :
15
+ - name : Checkout code
16
+ uses : actions/checkout@v2
17
+
18
+ - name : Set up Python ${{ matrix.python-version }}
19
+ uses : actions/setup-python@v2
20
+ with :
21
+ python-version : ${{ matrix.python-version }}
22
+
23
+ - name : Give permission to run scripts
24
+ run : chmod +x ./docs/scripts/doc8_style_check.sh
25
+
26
+ - name : Install Dependencies
27
+ run : pip install -e .[docs]
28
+
29
+ - name : Check Sphinx Documentation build minimally
30
+ working-directory : ./docs
31
+ run : sphinx-build -E -W source build
32
+
33
+ - name : Check for documentation style errors
34
+ working-directory : ./docs
35
+ run : ./scripts/doc8_style_check.sh
36
+
37
+
Original file line number Diff line number Diff line change 2
2
# Rst docs - https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html
3
3
#
4
4
# 1. Place docs in folders under source for different sections
5
- # 2. Link them by adding individual index files in each section
5
+ # 2. Link them by adding individual index files in each section
6
6
# to the main index, and then files for each section to their
7
7
# respective index files.
8
8
# 3. Use `.. include ` statements to include other .rst files
9
9
# or part of them, or use hyperlinks to a section of the docs,
10
10
# to get rid of repetition.
11
11
# https://docutils.sourceforge.io/docs/ref/rst/directives.html#including-an-external-document-fragment
12
- #
12
+ #
13
13
# Note: Replace these guide/placeholder docs
14
14
15
15
.. include :: ../../../README.rst
You can’t perform that action at this time.
0 commit comments