nbdev 2.4.4__py3-none-any.whl → 2.4.5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
nbdev/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
- __version__ = "2.4.4"
1
+ __version__ = "2.4.5"
2
2
 
3
3
  from .doclinks import nbdev_export
4
4
  from .showdoc import show_doc
nbdev/clean.py CHANGED
@@ -69,7 +69,7 @@ def _clean_cell_output(cell, clean_ids):
69
69
  if k.startswith('text') and clean_ids: data[k] = _clean_cell_output_id(data[k])
70
70
  if k.startswith('image') and "svg" not in k: data[k] = data[k].rstrip()
71
71
  if 'text' in o and clean_ids: o['text'] = _clean_cell_output_id(o['text'])
72
- o.get('metadata', {}).pop('tags', None)
72
+ # o.get('metadata', {}).pop('tags', None)
73
73
 
74
74
  # %% ../nbs/api/11_clean.ipynb
75
75
  def _clean_cell(cell, clear_all, allowed_metadata_keys, clean_ids):
nbdev/doclinks.py CHANGED
@@ -113,7 +113,8 @@ def _build_modidx(dest=None, nbs_path=None, skip_exists=False):
113
113
  if k in ('doc_host','doc_baseurl','lib_path','git_url','branch')}
114
114
  code_root = dest.parent.resolve()
115
115
  for file in globtastic(dest, file_glob="*.py", skip_file_re='^_', skip_folder_re=r"\.ipynb_checkpoints"):
116
- res['syms'].update(_get_modidx((dest.parent/file).resolve(), code_root, nbs_path=nbs_path))
116
+ try: res['syms'].update(_get_modidx((dest.parent/file).resolve(), code_root, nbs_path=nbs_path))
117
+ except ValueError: pass
117
118
  idxfile.write_text("# Autogenerated by nbdev\n\nd = "+pformat(res, width=140, indent=2, compact=True)+'\n')
118
119
 
119
120
  # %% ../nbs/api/05_doclinks.ipynb
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nbdev
3
- Version: 2.4.4
3
+ Version: 2.4.5
4
4
  Summary: Create delightful software with Jupyter Notebooks
5
5
  Home-page: https://github.com/AnswerDotAI/nbdev
6
6
  Author: Jeremy Howard and Hamel Husain
@@ -1,9 +1,9 @@
1
- nbdev/__init__.py,sha256=XxJxeEfb_ofkm1cGnyE4jMAOycqNPxji5mMvBVuUmmA,89
1
+ nbdev/__init__.py,sha256=YsaZMi2FjxPWsygBH8iPsG25efzNq7Bf8M1GNkMno00,89
2
2
  nbdev/_modidx.py,sha256=zVxnzO5QaU03Hg9VaA_IgwyZNEbdy8qnvPUIV94m3Kg,41634
3
- nbdev/clean.py,sha256=mVgsW2_g7KIXAVh8mwpj86UwMN6QVM-q33PDzA27nWw,9410
3
+ nbdev/clean.py,sha256=Ge3Hke1c1ArJ9-6P-Z11dXUfnQ7ZrYRnHHXPTAbJG4I,9412
4
4
  nbdev/cli.py,sha256=vPBg1OrqzXW_b2NHiUn9g7CflP2M_Bk3pdbKXuKXwjM,7107
5
5
  nbdev/config.py,sha256=KmPAtLwsX819gA7TVJ40v-B4ok978b79pbqMF5WnAJE,13500
6
- nbdev/doclinks.py,sha256=gAu37qGyCfWBmAimvV252WYEk_EbaqexbBnJbObQfyg,12595
6
+ nbdev/doclinks.py,sha256=fDnlqKaRHCBCS1CVbmqhGNsiaKeEMF2hS-pNFHc8JYE,12632
7
7
  nbdev/export.py,sha256=dX_mAnH6-vLHJEb4vp-QS2pY78Hk5YXsdvdgzMTiymY,4059
8
8
  nbdev/extract_attachments.py,sha256=O4mS4EFIOXL_yQ3jmsnBStrWxGR_nPNvxLYXHtLeimw,2208
9
9
  nbdev/frontmatter.py,sha256=i195bhDLWd-WUEzQT9JBoA4Ee3j6gD1dKMT8yk5fF4Y,2761
@@ -21,9 +21,9 @@ nbdev/serve_drv.py,sha256=IZ2acem_KKsXYYe0iUECiR_orkYLBkT1ZG_258ZS7SQ,657
21
21
  nbdev/showdoc.py,sha256=PqVprEkc6GPIEK4A0pNV78ENQXpmhV666FN2HTf83t0,10097
22
22
  nbdev/sync.py,sha256=ld-lSOmlX1FdnTOzaSHcxKyIuIguI_SpluqfPSH2BZ8,3201
23
23
  nbdev/test.py,sha256=_ECBd5fvfGEICIfkTI2S8w8YatL5CaPltCeDSsiH6yw,4435
24
- nbdev-2.4.4.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
25
- nbdev-2.4.4.dist-info/METADATA,sha256=8iwKwrIlgnRQuGhueU744JrxincsFkeeo7CTJj88eZk,10804
26
- nbdev-2.4.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
27
- nbdev-2.4.4.dist-info/entry_points.txt,sha256=1ADLbIIJxZeLgOD8NpizkPULSsd_fgUQxwAkbGk45b8,1453
28
- nbdev-2.4.4.dist-info/top_level.txt,sha256=3cWYLMuaXsZjz3TQRGEkWGs9Z8ieEDmYcq8TZS3y3vU,6
29
- nbdev-2.4.4.dist-info/RECORD,,
24
+ nbdev-2.4.5.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
25
+ nbdev-2.4.5.dist-info/METADATA,sha256=oqcWv6SjLPe_VhZ9oHeu_yt9zVGF__egdDXvbUeb3Sw,10804
26
+ nbdev-2.4.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
27
+ nbdev-2.4.5.dist-info/entry_points.txt,sha256=1ADLbIIJxZeLgOD8NpizkPULSsd_fgUQxwAkbGk45b8,1453
28
+ nbdev-2.4.5.dist-info/top_level.txt,sha256=3cWYLMuaXsZjz3TQRGEkWGs9Z8ieEDmYcq8TZS3y3vU,6
29
+ nbdev-2.4.5.dist-info/RECORD,,
File without changes