Skip to content

Commit

Permalink
Fix for clean init changes to other lava repos. (#16)
Browse files Browse the repository at this point in the history
* Final release rendering

Signed-off-by: bamsumit <[email protected]>

* Fixed broken links in indiviudal dl library landing pages

Signed-off-by: bamsumit <[email protected]>

* clean init fix and tutorial move fix for all modules

Signed-off-by: bamsumit <[email protected]>

* fixing tutorial links due to move of tutorials/ in lava.

Signed-off-by: bamsumit <[email protected]>

* Removed commented code for pre clean init system

Signed-off-by: bamsumit <[email protected]>
  • Loading branch information
bamsumit authored Nov 28, 2021
1 parent 38cb9a2 commit 178e985
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion getting_started_with_lava.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Application examples:

These are standalone tutorials that can be followed in any order.

* `MNIST digit classification: <https://github.com/lava-nc/lava/blob/main/src/lava/tutorials/end_to_end/tutorial01_mnist_digit_classification.ipynb>`_ The classical '*Hello World!*' example illustrating how to build a simple feed-forward image classifier using leaky-integrate-and-fire neurons.
* `MNIST digit classification: <https://github.com/lava-nc/lava/blob/main/tutorials/end_to_end/tutorial01_mnist_digit_classification.ipynb>`_ The classical '*Hello World!*' example illustrating how to build a simple feed-forward image classifier using leaky-integrate-and-fire neurons.

**Coming soon:**

Expand Down
8 changes: 3 additions & 5 deletions sync_notebook.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@

try:
import lava
module_dict.update({'lava': lava})
import lava.proc
module_dict.update({'lava': lava.proc}) # this must be unique path
except ModuleNotFoundError:
print(f"Failed importing {lava}. It's dependencies will be excluded.")

Expand Down Expand Up @@ -58,7 +59,7 @@
'module': 'optim',
'dst': 'lava/notebooks/',
'tutorials': {
'end_to_end': 'End to end tutorials',
'qp': 'QP solver tutorials',
},
},
]
Expand Down Expand Up @@ -107,9 +108,6 @@ def create_nb_rst(folder_path, rst_name, header, ignore=[]):
module = module_dict[key]
module_path = module.__path__[0]
module_path = module_path.split('src/lava')[0]
if module_path[-1] != '/':
# this is temp before lava dir restructure
module_path += '/'
dst = tutorials['dst']
if 'ignore' in tutorials.keys():
ignore = tutorials['ignore']
Expand Down

0 comments on commit 178e985

Please sign in to comment.