nbdev 3.3.13__tar.gz → 3.3.14__tar.gz
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-3.3.13/nbdev.egg-info → nbdev-3.3.14}/PKG-INFO +1 -1
- {nbdev-3.3.13 → nbdev-3.3.14}/nbdev/__init__.py +1 -1
- {nbdev-3.3.13 → nbdev-3.3.14}/nbdev/cli.py +2 -2
- {nbdev-3.3.13 → nbdev-3.3.14}/nbdev/config.py +1 -1
- {nbdev-3.3.13 → nbdev-3.3.14}/nbdev/doclinks.py +4 -3
- {nbdev-3.3.13 → nbdev-3.3.14}/nbdev/release.py +2 -2
- {nbdev-3.3.13 → nbdev-3.3.14}/nbdev/test.py +1 -1
- {nbdev-3.3.13 → nbdev-3.3.14/nbdev.egg-info}/PKG-INFO +1 -1
- {nbdev-3.3.13 → nbdev-3.3.14}/CONTRIBUTING.md +0 -0
- {nbdev-3.3.13 → nbdev-3.3.14}/LICENSE +0 -0
- {nbdev-3.3.13 → nbdev-3.3.14}/MANIFEST.in +0 -0
- {nbdev-3.3.13 → nbdev-3.3.14}/README.md +0 -0
- {nbdev-3.3.13 → nbdev-3.3.14}/nbdev/_modidx.py +0 -0
- {nbdev-3.3.13 → nbdev-3.3.14}/nbdev/clean.py +0 -0
- {nbdev-3.3.13 → nbdev-3.3.14}/nbdev/diff.py +0 -0
- {nbdev-3.3.13 → nbdev-3.3.14}/nbdev/export.py +0 -0
- {nbdev-3.3.13 → nbdev-3.3.14}/nbdev/extract_attachments.py +0 -0
- {nbdev-3.3.13 → nbdev-3.3.14}/nbdev/frontmatter.py +0 -0
- {nbdev-3.3.13 → nbdev-3.3.14}/nbdev/imports.py +0 -0
- {nbdev-3.3.13 → nbdev-3.3.14}/nbdev/maker.py +0 -0
- {nbdev-3.3.13 → nbdev-3.3.14}/nbdev/merge.py +0 -0
- {nbdev-3.3.13 → nbdev-3.3.14}/nbdev/migrate.py +0 -0
- {nbdev-3.3.13 → nbdev-3.3.14}/nbdev/moddocs.py +0 -0
- {nbdev-3.3.13 → nbdev-3.3.14}/nbdev/process.py +0 -0
- {nbdev-3.3.13 → nbdev-3.3.14}/nbdev/processors.py +0 -0
- {nbdev-3.3.13 → nbdev-3.3.14}/nbdev/qmd.py +0 -0
- {nbdev-3.3.13 → nbdev-3.3.14}/nbdev/quarto.py +0 -0
- {nbdev-3.3.13 → nbdev-3.3.14}/nbdev/scrubmagics.py +0 -0
- {nbdev-3.3.13 → nbdev-3.3.14}/nbdev/serve.py +0 -0
- {nbdev-3.3.13 → nbdev-3.3.14}/nbdev/serve_drv.py +0 -0
- {nbdev-3.3.13 → nbdev-3.3.14}/nbdev/showdoc.py +0 -0
- {nbdev-3.3.13 → nbdev-3.3.14}/nbdev/skill.py +0 -0
- {nbdev-3.3.13 → nbdev-3.3.14}/nbdev/sync.py +0 -0
- {nbdev-3.3.13 → nbdev-3.3.14}/nbdev.egg-info/SOURCES.txt +0 -0
- {nbdev-3.3.13 → nbdev-3.3.14}/nbdev.egg-info/dependency_links.txt +0 -0
- {nbdev-3.3.13 → nbdev-3.3.14}/nbdev.egg-info/entry_points.txt +0 -0
- {nbdev-3.3.13 → nbdev-3.3.14}/nbdev.egg-info/requires.txt +0 -0
- {nbdev-3.3.13 → nbdev-3.3.14}/nbdev.egg-info/top_level.txt +0 -0
- {nbdev-3.3.13 → nbdev-3.3.14}/pyproject.toml +0 -0
- {nbdev-3.3.13 → nbdev-3.3.14}/setup.cfg +0 -0
|
@@ -6,7 +6,7 @@ Modules:
|
|
|
6
6
|
- `nbdev.moddocs`: # Module docs: creating them from existing notebooks
|
|
7
7
|
- `nbdev.skill`: Author clear, executable nbdev notebooks where code, prose, examples, outputs, and tests form one coherent narrative. Trigger: ALWAYS read this before ANY notebook edit."""
|
|
8
8
|
|
|
9
|
-
__version__ = "3.3.
|
|
9
|
+
__version__ = "3.3.14"
|
|
10
10
|
|
|
11
11
|
from .doclinks import nbdev_export
|
|
12
12
|
from .showdoc import show_doc
|
|
@@ -201,10 +201,10 @@ def watch_export(
|
|
|
201
201
|
if (not '.ipynb_checkpoints' in p and p.endswith('.ipynb') and not Path(p).name.startswith(('tmp','.~'))):
|
|
202
202
|
if e.event_type == 'modified':
|
|
203
203
|
time.sleep(0.1)
|
|
204
|
-
try: run(f'nb-export --
|
|
204
|
+
try: run(f'nb-export --lib-path {lib} "{p}"')
|
|
205
205
|
except IOError:
|
|
206
206
|
time.sleep(0.3)
|
|
207
|
-
run(f'nb-export --
|
|
207
|
+
run(f'nb-export --lib-path {lib} "{p}"')
|
|
208
208
|
with fs_watchdog(_export, nbs):
|
|
209
209
|
while True: time.sleep(1)
|
|
210
210
|
|
|
@@ -130,7 +130,7 @@ def nbdev_create_config(
|
|
|
130
130
|
author = author or inf.get('author', '')
|
|
131
131
|
if not author: raise ValueError("Could not infer `author` from git. Please pass --author explicitly.")
|
|
132
132
|
author_email = author_email or inf.get('author_email', '')
|
|
133
|
-
if not author_email: raise ValueError("Could not infer `author_email` from git. Please pass --
|
|
133
|
+
if not author_email: raise ValueError("Could not infer `author_email` from git. Please pass --author-email explicitly.")
|
|
134
134
|
branch = branch or inf.get('branch', 'main')
|
|
135
135
|
description = description or inf.get('description', '')
|
|
136
136
|
|
|
@@ -154,9 +154,10 @@ def nbdev_export(
|
|
|
154
154
|
procs = [import_obj(p) for p in procs] if procs else None
|
|
155
155
|
files = nbglob(path=path, as_path=True, **kwargs).sorted('name')
|
|
156
156
|
for f in files: nb_export(f, procs=procs)
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
157
|
+
if cfg.lib_path.exists():
|
|
158
|
+
add_init(cfg.lib_path)
|
|
159
|
+
update_llms_txt()
|
|
160
|
+
_build_modidx()
|
|
160
161
|
|
|
161
162
|
# %% ../nbs/api/05_doclinks.ipynb #3134c22b
|
|
162
163
|
typs = 'module','class','method','function'
|
|
@@ -51,7 +51,7 @@ def _remote_shas(s): return {o.split()[0] for o in s.splitlines()}
|
|
|
51
51
|
|
|
52
52
|
def _check_changelog_base(tag):
|
|
53
53
|
if _is_ancestor(tag): return
|
|
54
|
-
raise SystemExit(f'HEAD does not contain the latest release ({tag}). Write CHANGELOG.md manually, then run with --
|
|
54
|
+
raise SystemExit(f'HEAD does not contain the latest release ({tag}). Write CHANGELOG.md manually, then run with --no-changelog.')
|
|
55
55
|
|
|
56
56
|
def _release_head():
|
|
57
57
|
_release_branch()
|
|
@@ -335,7 +335,7 @@ def release_conda(
|
|
|
335
335
|
if skip_upload: return print(loc)
|
|
336
336
|
if not upload_user: upload_user = get_config().conda_user
|
|
337
337
|
if not upload_user: return print("`conda_user` not in pyproject.toml and no `upload_user` passed. Cannot upload")
|
|
338
|
-
if 'anaconda upload' not in res: return print(f"{res}\n\nFailed. Check auto-upload not set in .condarc. Try `--
|
|
338
|
+
if 'anaconda upload' not in res: return print(f"{res}\n\nFailed. Check auto-upload not set in .condarc. Try `--do-build False`.")
|
|
339
339
|
return anaconda_upload(name, loc)
|
|
340
340
|
|
|
341
341
|
# %% ../nbs/api/18_release.ipynb #0500d972
|
|
@@ -123,7 +123,7 @@ def _keep_file(
|
|
|
123
123
|
else: True
|
|
124
124
|
|
|
125
125
|
# %% ../nbs/api/12_test.ipynb #f8cc6a61-a48e-4ab1-89a9-18316ca795d6
|
|
126
|
-
@call_parse
|
|
126
|
+
@call_parse(pos=['path'])
|
|
127
127
|
@delegates(nbglob_cli)
|
|
128
128
|
def nbdev_test(
|
|
129
129
|
path:str=None, # A notebook name or glob to test
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|