File tree 4 files changed +11
-11
lines changed
4 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -9,5 +9,5 @@ pylint tensorcircuit tests
9
9
echo " pytest check"
10
10
pytest -n 4 --cov=tensorcircuit -vv -W ignore::DeprecationWarning
11
11
echo " sphinx check"
12
- cd docs && make html
12
+ cd docs && sphinx-build source build/ html
13
13
echo " all checks passed, congratulates! 💐"
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ We use `sphnix <https://www.sphinx-doc.org/en/master/>`__ to manage the document
146
146
147
147
The source files for docs are .rst file in docs/source.
148
148
149
- For English docs, ``make html `` in docs dir is enough. The html version of the docs are in docs/build/html.
149
+ For English docs, ``sphinx-build source build/ html `` in docs dir is enough. The html version of the docs are in docs/build/html.
150
150
151
151
**i18n: **
152
152
Original file line number Diff line number Diff line change 1
- import os , glob , shutil
1
+ import os
2
+ import glob
3
+ import shutil
2
4
from os .path import join as pj
3
5
4
6
Original file line number Diff line number Diff line change @@ -2,21 +2,19 @@ Guide to tensorcircuit
2
2
==================================
3
3
4
4
.. toctree ::
5
- :maxdepth: 2
6
5
7
- quickstart.rst
8
- advance.rst
9
- infras.rst
10
- contribution.rst
11
-
6
+ quickstart.rst
7
+ advance.rst
8
+ infras.rst
9
+ contribution.rst
10
+
12
11
13
12
API References
14
13
=======================
15
14
16
15
.. toctree ::
17
- :maxdepth: 4
18
16
19
- modules.rst
17
+ modules.rst
20
18
21
19
22
20
Indices and tables
You can’t perform that action at this time.
0 commit comments