File tree 12 files changed +60
-60
lines changed
12 files changed +60
-60
lines changed Original file line number Diff line number Diff line change 46
46
47
47
### Bugs fixed
48
48
49
- - \ [ HTMLExporter\ ] Initialize resources before widget filtering [ #2118 ] ( https://github.com/jupyter/nbconvert/pull/2118 ) ([ @yuvipanda ] ( https://github.com/yuvipanda ) )
49
+ - [ HTMLExporter] Initialize resources before widget filtering [ #2118 ] ( https://github.com/jupyter/nbconvert/pull/2118 ) ([ @yuvipanda ] ( https://github.com/yuvipanda ) )
50
50
51
51
### Contributors to this release
52
52
389
389
390
390
### Enhancements made
391
391
392
- - \ [ Accessibility\ ] some accessibility improvements [ #2021 ] ( https://github.com/jupyter/nbconvert/pull/2021 ) ([ @brichet ] ( https://github.com/brichet ) )
392
+ - [ Accessibility] some accessibility improvements [ #2021 ] ( https://github.com/jupyter/nbconvert/pull/2021 ) ([ @brichet ] ( https://github.com/brichet ) )
393
393
- Adopt playwright [ #2013 ] ( https://github.com/jupyter/nbconvert/pull/2013 ) ([ @brichet ] ( https://github.com/brichet ) )
394
394
- Update to Jupyterlab 4 [ #2012 ] ( https://github.com/jupyter/nbconvert/pull/2012 ) ([ @brichet ] ( https://github.com/brichet ) )
395
395
Original file line number Diff line number Diff line change @@ -102,8 +102,8 @@ Jupyter uses a shared copyright model. Each contributor maintains copyright
102
102
over their contributions to Jupyter. But, it is important to note that these
103
103
contributions are typically only changes to the repositories. Thus, the Jupyter
104
104
source code, in its entirety is not the copyright of any single person or
105
- institution. Instead, it is the collective copyright of the entire Jupyter
106
- Development Team. If individual contributors want to maintain a record of what
105
+ institution. Instead, it is the collective copyright of the entire Jupyter
106
+ Development Team. If individual contributors want to maintain a record of what
107
107
changes/contributions they have specific copyright on, they should indicate
108
108
their copyright in the commit message of the change, when they commit the
109
109
change to one of the Jupyter repositories.
Original file line number Diff line number Diff line change 32
32
33
33
34
34
__all__ = [
35
- "__version__" ,
36
- "version_info" ,
37
- "filters" ,
38
- "postprocessors" ,
39
- "preprocessors" ,
40
- "writers" ,
41
35
"ASCIIDocExporter" ,
42
- "ExporterNameError" ,
43
- "export" ,
44
- "get_export_names" ,
45
- "get_exporter" ,
46
36
"Exporter" ,
37
+ "ExporterNameError" ,
47
38
"FilenameExtension" ,
48
39
"HTMLExporter" ,
49
40
"LatexExporter" ,
58
49
"SlidesExporter" ,
59
50
"TemplateExporter" ,
60
51
"WebPDFExporter" ,
52
+ "__version__" ,
53
+ "export" ,
54
+ "filters" ,
55
+ "get_export_names" ,
56
+ "get_exporter" ,
57
+ "postprocessors" ,
58
+ "preprocessors" ,
59
+ "version_info" ,
60
+ "writers" ,
61
61
]
Original file line number Diff line number Diff line change 17
17
18
18
__all__ = [
19
19
"ASCIIDocExporter" ,
20
- "ExporterNameError" ,
21
- "ExporterDisabledError" ,
22
- "export" ,
23
- "get_export_names" ,
24
- "get_exporter" ,
25
20
"Exporter" ,
21
+ "ExporterDisabledError" ,
22
+ "ExporterNameError" ,
26
23
"FilenameExtension" ,
27
24
"HTMLExporter" ,
28
25
"LatexExporter" ,
32
29
"PythonExporter" ,
33
30
"QtPDFExporter" ,
34
31
"QtPNGExporter" ,
35
- "ResourcesDict" ,
36
32
"RSTExporter" ,
33
+ "ResourcesDict" ,
37
34
"ScriptExporter" ,
38
35
"SlidesExporter" ,
39
36
"TemplateExporter" ,
40
37
"WebPDFExporter" ,
38
+ "export" ,
39
+ "get_export_names" ,
40
+ "get_exporter" ,
41
41
]
Original file line number Diff line number Diff line change 22
22
# -----------------------------------------------------------------------------
23
23
24
24
__all__ = [
25
- "export" ,
26
25
"Exporter" ,
27
- "get_exporter" ,
28
- "get_export_names" ,
29
26
"ExporterNameError" ,
27
+ "export" ,
28
+ "get_export_names" ,
29
+ "get_exporter" ,
30
30
]
31
31
32
32
Original file line number Diff line number Diff line change 35
35
)
36
36
37
37
__all__ = [
38
- "indent" ,
39
- "ansi2html" ,
40
- "ansi2latex" ,
41
- "strip_ansi" ,
42
- "citation2latex" ,
38
+ "ConvertExplicitlyRelativePaths" ,
43
39
"DataTypeFilter" ,
44
40
"Highlight2HTML" ,
45
41
"Highlight2Latex" ,
42
+ "add_anchor" ,
43
+ "add_prompts" ,
44
+ "ansi2html" ,
45
+ "ansi2latex" ,
46
+ "ascii_only" ,
47
+ "citation2latex" ,
48
+ "clean_html" ,
49
+ "comment_lines" ,
50
+ "convert_pandoc" ,
46
51
"escape_latex" ,
52
+ "get_lines" ,
53
+ "get_metadata" ,
54
+ "html2text" ,
55
+ "indent" ,
56
+ "ipython2python" ,
57
+ "markdown2asciidoc" ,
47
58
"markdown2html" ,
48
- "markdown2html_pandoc" ,
49
59
"markdown2html_mistune" ,
60
+ "markdown2html_pandoc" ,
50
61
"markdown2latex" ,
51
62
"markdown2rst" ,
52
- "markdown2asciidoc" ,
53
- "get_metadata" ,
54
- "convert_pandoc" ,
55
- "ConvertExplicitlyRelativePaths" ,
56
- "wrap_text" ,
57
- "html2text" ,
58
- "clean_html" ,
59
- "add_anchor" ,
60
- "strip_dollars" ,
61
- "strip_files_prefix" ,
62
- "comment_lines" ,
63
- "get_lines" ,
64
- "ipython2python" ,
65
- "posix_path" ,
66
63
"path2url" ,
67
- "add_prompts" ,
68
- "ascii_only" ,
64
+ "posix_path" ,
69
65
"prevent_list_blocks" ,
66
+ "strip_ansi" ,
67
+ "strip_dollars" ,
68
+ "strip_files_prefix" ,
70
69
"strip_trailing_newline" ,
71
70
"text_base64" ,
71
+ "wrap_text" ,
72
72
]
Original file line number Diff line number Diff line change 7
7
8
8
import markupsafe
9
9
10
- __all__ = ["strip_ansi " , "ansi2html " , "ansi2latex " ]
10
+ __all__ = ["ansi2html " , "ansi2latex " , "strip_ansi " ]
11
11
12
12
_ANSI_RE = re .compile ("\x1b \\ [(.*?)([@-~])" )
13
13
Original file line number Diff line number Diff line change @@ -27,12 +27,12 @@ def markdown2html_mistune(source: str) -> str:
27
27
from .pandoc import convert_pandoc
28
28
29
29
__all__ = [
30
+ "markdown2asciidoc" ,
30
31
"markdown2html" ,
31
- "markdown2html_pandoc" ,
32
32
"markdown2html_mistune" ,
33
+ "markdown2html_pandoc" ,
33
34
"markdown2latex" ,
34
35
"markdown2rst" ,
35
- "markdown2asciidoc" ,
36
36
]
37
37
38
38
Original file line number Diff line number Diff line change 23
23
from nbconvert .preprocessors .sanitize import _get_default_css_sanitizer
24
24
25
25
__all__ = [
26
- "wrap_text" ,
27
- "html2text" ,
28
- "clean_html" ,
29
26
"add_anchor" ,
30
- "strip_dollars" ,
31
- "strip_files_prefix" ,
27
+ "add_prompts" ,
28
+ "ascii_only" ,
29
+ "clean_html" ,
32
30
"comment_lines" ,
33
31
"get_lines" ,
32
+ "html2text" ,
34
33
"ipython2python" ,
35
- "posix_path" ,
36
34
"path2url" ,
37
- "add_prompts" ,
38
- "ascii_only" ,
35
+ "posix_path" ,
39
36
"prevent_list_blocks" ,
37
+ "strip_dollars" ,
38
+ "strip_files_prefix" ,
40
39
"strip_trailing_newline" ,
41
40
"text_base64" ,
41
+ "wrap_text" ,
42
42
]
43
43
44
44
Original file line number Diff line number Diff line change 18
18
from .tagremove import TagRemovePreprocessor
19
19
20
20
__all__ = [
21
+ "CSSHTMLHeaderPreprocessor" ,
21
22
"CellExecutionError" ,
22
- "Preprocessor" ,
23
23
"ClearMetadataPreprocessor" ,
24
24
"ClearOutputPreprocessor" ,
25
25
"CoalesceStreamsPreprocessor" ,
26
26
"ConvertFiguresPreprocessor" ,
27
- "CSSHTMLHeaderPreprocessor" ,
28
27
"ExecutePreprocessor" ,
29
28
"ExtractAttachmentsPreprocessor" ,
30
29
"ExtractOutputPreprocessor" ,
31
30
"HighlightMagicsPreprocessor" ,
32
31
"LatexPreprocessor" ,
32
+ "Preprocessor" ,
33
33
"RegexRemovePreprocessor" ,
34
34
"SVG2PDFPreprocessor" ,
35
35
"TagRemovePreprocessor" ,
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ class TestWebPDFExporter(ExportersTestsBase):
33
33
34
34
exporter_class = WebPDFExporter # type:ignore
35
35
36
- @pytest .mark .network ()
36
+ @pytest .mark .network
37
37
def test_export (self ):
38
38
"""
39
39
Can a TemplateExporter export something?
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ def test_filename_spaces(self):
151
151
assert os .path .isfile ("notebook with spaces.pdf" )
152
152
153
153
@flaky
154
- @pytest .mark .network ()
154
+ @pytest .mark .network
155
155
@pytest .mark .skipif (not PLAYWRIGHT_INSTALLED , reason = "Playwright not installed" )
156
156
def test_webpdf_with_chromium (self ):
157
157
"""
You can’t perform that action at this time.
0 commit comments