Skip to content

Commit

Permalink
Improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
enriquetomasmb committed Jul 15, 2024
1 parent 71bc5a9 commit b9dc379
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
- name: Add files
run: |
echo "nebula.enriquetomasmb.com" > docs/_build/CNAME
touch docs/_build/.nojekyll
- name: List directories
run: |
ls -la docs/_build/
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_theme = 'sphinx_book_theme'
html_static_path = ['static']
html_static_path = ['_static']
html_css_files = ['custom.css']

html_theme_options = {
"repository_url": "https://github.com/enriquetomasmb/nebula",
"use_repository_button": True,
}

html_logo = "static/nebula-logo.jpg"
html_logo = "_static/nebula-logo.jpg"

html_title = "NEBULA Documentation"

Expand Down
9 changes: 9 additions & 0 deletions docs/nebula.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Subpackages
nebula.config
nebula.core
nebula.frontend
nebula.tests

Submodules
----------
Expand All @@ -31,6 +32,14 @@ nebula.node module
:undoc-members:
:show-inheritance:

nebula.scenarios module
-----------------------

.. automodule:: nebula.scenarios
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

Expand Down
21 changes: 21 additions & 0 deletions docs/nebula.tests.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
nebula.tests package
====================

Submodules
----------

nebula.tests.main module
------------------------

.. automodule:: nebula.tests.main
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

.. automodule:: nebula.tests
:members:
:undoc-members:
:show-inheritance:

0 comments on commit b9dc379

Please sign in to comment.