Skip to content

Commit b9dc379

Browse files
Improve docs
1 parent 71bc5a9 commit b9dc379

File tree

4 files changed

+33
-2
lines changed

4 files changed

+33
-2
lines changed

.github/workflows/documentation.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
- name: Add files
4242
run: |
4343
echo "nebula.enriquetomasmb.com" > docs/_build/CNAME
44+
touch docs/_build/.nojekyll
4445
- name: List directories
4546
run: |
4647
ls -la docs/_build/

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,15 @@
5858
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
5959

6060
html_theme = 'sphinx_book_theme'
61-
html_static_path = ['static']
61+
html_static_path = ['_static']
6262
html_css_files = ['custom.css']
6363

6464
html_theme_options = {
6565
"repository_url": "https://github.com/enriquetomasmb/nebula",
6666
"use_repository_button": True,
6767
}
6868

69-
html_logo = "static/nebula-logo.jpg"
69+
html_logo = "_static/nebula-logo.jpg"
7070

7171
html_title = "NEBULA Documentation"
7272

docs/nebula.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Subpackages
1111
nebula.config
1212
nebula.core
1313
nebula.frontend
14+
nebula.tests
1415

1516
Submodules
1617
----------
@@ -31,6 +32,14 @@ nebula.node module
3132
:undoc-members:
3233
:show-inheritance:
3334

35+
nebula.scenarios module
36+
-----------------------
37+
38+
.. automodule:: nebula.scenarios
39+
:members:
40+
:undoc-members:
41+
:show-inheritance:
42+
3443
Module contents
3544
---------------
3645

docs/nebula.tests.rst

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

0 commit comments

Comments
 (0)