Skip to content

Commit a91002d

Browse files
committed
build: fixing docs (wip)
1 parent ecd0450 commit a91002d

3 files changed

Lines changed: 42 additions & 0 deletions

File tree

docs/xblocks_core.legacy_utils.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
xblocks\_core.legacy\_utils package
2+
===================================
3+
4+
Submodules
5+
----------
6+
7+
xblocks\_core.legacy\_utils.xml\_utils module
8+
---------------------------------------------
9+
10+
.. automodule:: xblocks_core.legacy_utils.xml_utils
11+
:members:
12+
:show-inheritance:
13+
:undoc-members:
14+
15+
Module contents
16+
---------------
17+
18+
.. automodule:: xblocks_core.legacy_utils
19+
:members:
20+
:show-inheritance:
21+
:undoc-members:

docs/xblocks_core.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
xblocks\_core package
2+
=====================
3+
4+
Subpackages
5+
-----------
6+
7+
.. toctree::
8+
:maxdepth: 4
9+
10+
xblocks_core.legacy_utils
11+
12+
Module contents
13+
---------------
14+
15+
.. automodule:: xblocks_core
16+
:members:
17+
:show-inheritance:
18+
:undoc-members:

tox.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ addopts = --cov src --cov-report term-missing --cov-report xml
2121
norecursedirs = .* docs requirements site-packages
2222

2323
[testenv]
24+
pythonpath = .
2425
usedevelop = True # Installs -e .
2526
setenv =
2627
DJANGO_SETTINGS_MODULE = test_settings
@@ -37,6 +38,8 @@ commands =
3738
pytest {posargs} src
3839

3940
[testenv:docs]
41+
pythonpath = .
42+
usedevelop = True # Installs -e .
4043
setenv =
4144
# Adding the option here instead of as a default in the docs Makefile because that Makefile is generated by sphinx.
4245
SPHINXOPTS = -W

0 commit comments

Comments
 (0)