From 5d75fb3c4beaa95dbe86c1a6fe10b7509ee28ee0 Mon Sep 17 00:00:00 2001 From: Bincheng Wu Date: Fri, 25 Jun 2021 15:04:45 -0400 Subject: [PATCH 01/16] add hide code cell feature --- rsconnect_jupyter/__init__.py | 5 +++-- rsconnect_jupyter/static/connect.js | 31 +++++++++++++++++++++++---- rsconnect_jupyter/static/rsconnect.js | 3 ++- 3 files changed, 32 insertions(+), 7 deletions(-) diff --git a/rsconnect_jupyter/__init__.py b/rsconnect_jupyter/__init__.py index b094c175..056df5ae 100644 --- a/rsconnect_jupyter/__init__.py +++ b/rsconnect_jupyter/__init__.py @@ -150,6 +150,7 @@ def post(self, action): disable_tls_check = data["disable_tls_check"] cadata = data.get("cadata", None) extra_files = data.get("files", []) + no_input = data.get('no_input', None) model = self.contents_manager.get(path=nb_path) if model["type"] != "notebook": @@ -163,7 +164,7 @@ def post(self, action): if app_mode == "static": try: - bundle = make_notebook_html_bundle(os_path, sys.executable) + bundle = make_notebook_html_bundle(os_path, sys.executable, no_input=no_input) except Exception as exc: self.log.exception("Bundle creation failed") raise web.HTTPError(500, u"Bundle creation failed: %s" % exc) @@ -172,7 +173,7 @@ def post(self, action): raise web.HTTPError(400, "environment is required for jupyter-static app_mode") try: - bundle = make_notebook_source_bundle(os_path, Environment(**environment_dict), extra_files) + bundle = make_notebook_source_bundle(os_path, Environment(**environment_dict), extra_files, no_input=no_input) except Exception as exc: self.log.exception("Bundle creation failed") raise web.HTTPError(500, u"Bundle creation failed: %s" % exc) diff --git a/rsconnect_jupyter/static/connect.js b/rsconnect_jupyter/static/connect.js index 4c593df3..0817f063 100644 --- a/rsconnect_jupyter/static/connect.js +++ b/rsconnect_jupyter/static/connect.js @@ -172,6 +172,24 @@ define([ }; } + // function bindCheckbox(id) { + // // save/restore value in server settings + // var $box = $('#' + id.replace('_', '-')); + + // if (selectedEntryId) { + // var updatedEntry = config.servers[selectedEntryId]; + // $box.prop('checked', updatedEntry[id]); + // } + + // $box.on('change', function() { + // if (selectedEntryId) { + // var innerEntry = config.servers[selectedEntryId]; + // innerEntry[id] = $box.prop('checked'); + // } + // updateCheckboxStates(); + // }); + // } + /** * addValidationMarkup adds validation hints to an element * @param {Boolean} valid when true, validation hints are not added @@ -1067,6 +1085,10 @@ define([ ' ', ' ', ' ', + '
', + ' ', + '

', + '
', '
', ' ', ' ', @@ -1345,7 +1367,8 @@ define([ function bindCheckbox(id) { // save/restore value in server settings - var $box = $('#' + id.replace('_', '-')); + // var $box = $('#' + id.replace('_', '-')); + var $box = $('#' + id); if (selectedEntryId) { var updatedEntry = config.servers[selectedEntryId]; @@ -1360,8 +1383,9 @@ define([ updateCheckboxStates(); }); } - bindCheckbox('include_files'); - bindCheckbox('include_subdirs'); + // bindCheckbox('include_files'); + // bindCheckbox('include_subdirs'); + bindCheckbox('no_input'); // setup app mode choices help icon (function() { @@ -1790,7 +1814,6 @@ define([ // lazily load the config when clicked since Jupyter's init // function is racy w.r.t. loading of notebook metadata maybeCreateConfig(); - closeMenu(); // save before publishing so the server can pick up changes diff --git a/rsconnect_jupyter/static/rsconnect.js b/rsconnect_jupyter/static/rsconnect.js index 82c6f6cc..8196c0ea 100644 --- a/rsconnect_jupyter/static/rsconnect.js +++ b/rsconnect_jupyter/static/rsconnect.js @@ -447,7 +447,8 @@ define([ environment: environment, files: files, disable_tls_check: entry.disableTLSCheck || false, - cadata: self.getCAData(entry.server) + cadata: self.getCAData(entry.server), + no_input: entry.no_input, }; var xhr = Utils.ajax({ From fbc1b8ee3c373912f54ff1346a5ae879ea162a1b Mon Sep 17 00:00:00 2001 From: Bincheng Wu Date: Fri, 25 Jun 2021 15:11:06 -0400 Subject: [PATCH 02/16] clean up comment --- rsconnect_jupyter/static/connect.js | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/rsconnect_jupyter/static/connect.js b/rsconnect_jupyter/static/connect.js index 0817f063..475ace4a 100644 --- a/rsconnect_jupyter/static/connect.js +++ b/rsconnect_jupyter/static/connect.js @@ -172,24 +172,6 @@ define([ }; } - // function bindCheckbox(id) { - // // save/restore value in server settings - // var $box = $('#' + id.replace('_', '-')); - - // if (selectedEntryId) { - // var updatedEntry = config.servers[selectedEntryId]; - // $box.prop('checked', updatedEntry[id]); - // } - - // $box.on('change', function() { - // if (selectedEntryId) { - // var innerEntry = config.servers[selectedEntryId]; - // innerEntry[id] = $box.prop('checked'); - // } - // updateCheckboxStates(); - // }); - // } - /** * addValidationMarkup adds validation hints to an element * @param {Boolean} valid when true, validation hints are not added From 124c33ff61881c3ae8a54c81f9af968f00f6cdcd Mon Sep 17 00:00:00 2001 From: Bincheng Wu Date: Fri, 25 Jun 2021 15:17:36 -0400 Subject: [PATCH 03/16] fix linting issue --- rsconnect_jupyter/static/rsconnect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rsconnect_jupyter/static/rsconnect.js b/rsconnect_jupyter/static/rsconnect.js index 8196c0ea..4a39af3c 100644 --- a/rsconnect_jupyter/static/rsconnect.js +++ b/rsconnect_jupyter/static/rsconnect.js @@ -448,7 +448,7 @@ define([ files: files, disable_tls_check: entry.disableTLSCheck || false, cadata: self.getCAData(entry.server), - no_input: entry.no_input, + no_input: entry.no_input }; var xhr = Utils.ajax({ From 877991515c964232faf2c3f05cd3036994f201f9 Mon Sep 17 00:00:00 2001 From: Bincheng Wu Date: Fri, 25 Jun 2021 15:23:49 -0400 Subject: [PATCH 04/16] update more linting --- rsconnect_jupyter/__init__.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rsconnect_jupyter/__init__.py b/rsconnect_jupyter/__init__.py index 056df5ae..0b5f1489 100644 --- a/rsconnect_jupyter/__init__.py +++ b/rsconnect_jupyter/__init__.py @@ -150,7 +150,7 @@ def post(self, action): disable_tls_check = data["disable_tls_check"] cadata = data.get("cadata", None) extra_files = data.get("files", []) - no_input = data.get('no_input', None) + no_input = data.get("no_input", None) model = self.contents_manager.get(path=nb_path) if model["type"] != "notebook": @@ -173,7 +173,9 @@ def post(self, action): raise web.HTTPError(400, "environment is required for jupyter-static app_mode") try: - bundle = make_notebook_source_bundle(os_path, Environment(**environment_dict), extra_files, no_input=no_input) + bundle = make_notebook_source_bundle( + os_path, Environment(**environment_dict), extra_files, no_input=no_input + ) except Exception as exc: self.log.exception("Bundle creation failed") raise web.HTTPError(500, u"Bundle creation failed: %s" % exc) From da2eabc2718190c2a33ce30387d0ffbfa67237b7 Mon Sep 17 00:00:00 2001 From: Bincheng Wu Date: Mon, 28 Jun 2021 17:27:18 -0400 Subject: [PATCH 05/16] add feature to hide input cells tagged with 'remove_input' --- rsconnect_jupyter/__init__.py | 5 +++-- rsconnect_jupyter/static/connect.js | 5 +++++ rsconnect_jupyter/static/rsconnect.js | 3 ++- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/rsconnect_jupyter/__init__.py b/rsconnect_jupyter/__init__.py index 0b5f1489..2e6ba0b4 100644 --- a/rsconnect_jupyter/__init__.py +++ b/rsconnect_jupyter/__init__.py @@ -151,6 +151,7 @@ def post(self, action): cadata = data.get("cadata", None) extra_files = data.get("files", []) no_input = data.get("no_input", None) + no_tag_input = data.get("no_tag_input", None) model = self.contents_manager.get(path=nb_path) if model["type"] != "notebook": @@ -164,7 +165,7 @@ def post(self, action): if app_mode == "static": try: - bundle = make_notebook_html_bundle(os_path, sys.executable, no_input=no_input) + bundle = make_notebook_html_bundle(os_path, sys.executable, no_input=no_input, no_tag_input=no_tag_input) except Exception as exc: self.log.exception("Bundle creation failed") raise web.HTTPError(500, u"Bundle creation failed: %s" % exc) @@ -174,7 +175,7 @@ def post(self, action): try: bundle = make_notebook_source_bundle( - os_path, Environment(**environment_dict), extra_files, no_input=no_input + os_path, Environment(**environment_dict), extra_files, no_input=no_input, no_tag_input=no_tag_input ) except Exception as exc: self.log.exception("Bundle creation failed") diff --git a/rsconnect_jupyter/static/connect.js b/rsconnect_jupyter/static/connect.js index 475ace4a..c86314bb 100644 --- a/rsconnect_jupyter/static/connect.js +++ b/rsconnect_jupyter/static/connect.js @@ -1071,6 +1071,10 @@ define([ ' ', '

', '
', + '
', + ' ', + '

', + '
', '
', ' ', ' ', @@ -1368,6 +1372,7 @@ define([ // bindCheckbox('include_files'); // bindCheckbox('include_subdirs'); bindCheckbox('no_input'); + bindCheckbox('no_tag_input'); // setup app mode choices help icon (function() { diff --git a/rsconnect_jupyter/static/rsconnect.js b/rsconnect_jupyter/static/rsconnect.js index 4a39af3c..66fe2d3e 100644 --- a/rsconnect_jupyter/static/rsconnect.js +++ b/rsconnect_jupyter/static/rsconnect.js @@ -448,7 +448,8 @@ define([ files: files, disable_tls_check: entry.disableTLSCheck || false, cadata: self.getCAData(entry.server), - no_input: entry.no_input + no_input: entry.no_input, + no_tag_input: entry.no_tag_input }; var xhr = Utils.ajax({ From 8ea54b9c7c879b04f48e24c6368abbeb4020edd1 Mon Sep 17 00:00:00 2001 From: Bincheng Wu Date: Tue, 29 Jun 2021 14:52:53 -0400 Subject: [PATCH 06/16] update linting --- rsconnect_jupyter/__init__.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/rsconnect_jupyter/__init__.py b/rsconnect_jupyter/__init__.py index 2e6ba0b4..e16170cb 100644 --- a/rsconnect_jupyter/__init__.py +++ b/rsconnect_jupyter/__init__.py @@ -165,7 +165,9 @@ def post(self, action): if app_mode == "static": try: - bundle = make_notebook_html_bundle(os_path, sys.executable, no_input=no_input, no_tag_input=no_tag_input) + bundle = make_notebook_html_bundle( + os_path, sys.executable, no_input=no_input, no_tag_input=no_tag_input + ) except Exception as exc: self.log.exception("Bundle creation failed") raise web.HTTPError(500, u"Bundle creation failed: %s" % exc) @@ -175,7 +177,11 @@ def post(self, action): try: bundle = make_notebook_source_bundle( - os_path, Environment(**environment_dict), extra_files, no_input=no_input, no_tag_input=no_tag_input + os_path, + Environment(**environment_dict), + extra_files, + no_input=no_input, + no_tag_input=no_tag_input, ) except Exception as exc: self.log.exception("Bundle creation failed") From e1a94a16c05bca05d107a72e575533de6ebd9ace Mon Sep 17 00:00:00 2001 From: Bincheng Wu Date: Tue, 29 Jun 2021 15:54:08 -0400 Subject: [PATCH 07/16] update checkbox name --- rsconnect_jupyter/static/connect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rsconnect_jupyter/static/connect.js b/rsconnect_jupyter/static/connect.js index c86314bb..8b5b54fa 100644 --- a/rsconnect_jupyter/static/connect.js +++ b/rsconnect_jupyter/static/connect.js @@ -1069,7 +1069,7 @@ define([ '
', '
', ' ', - '

', + '

', '
', '
', ' ', From 7cef2c5b510a56ecf48670ad153fea69057c8551 Mon Sep 17 00:00:00 2001 From: Bincheng Wu Date: Mon, 12 Jul 2021 16:34:33 -0400 Subject: [PATCH 08/16] rename no_input to hide_all_input; rename no_tag_input to hide_tagged_input --- rsconnect_jupyter/__init__.py | 10 +++++----- rsconnect_jupyter/static/connect.js | 16 ++++++++-------- rsconnect_jupyter/static/rsconnect.js | 4 ++-- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/rsconnect_jupyter/__init__.py b/rsconnect_jupyter/__init__.py index e16170cb..070b47f2 100644 --- a/rsconnect_jupyter/__init__.py +++ b/rsconnect_jupyter/__init__.py @@ -150,8 +150,8 @@ def post(self, action): disable_tls_check = data["disable_tls_check"] cadata = data.get("cadata", None) extra_files = data.get("files", []) - no_input = data.get("no_input", None) - no_tag_input = data.get("no_tag_input", None) + hide_all_input = data.get("hide_all_input", None) + hide_tagged_input = data.get("hide_tagged_input", None) model = self.contents_manager.get(path=nb_path) if model["type"] != "notebook": @@ -166,7 +166,7 @@ def post(self, action): if app_mode == "static": try: bundle = make_notebook_html_bundle( - os_path, sys.executable, no_input=no_input, no_tag_input=no_tag_input + os_path, sys.executable, hide_all_input=hide_all_input, hide_tagged_input=hide_tagged_input ) except Exception as exc: self.log.exception("Bundle creation failed") @@ -180,8 +180,8 @@ def post(self, action): os_path, Environment(**environment_dict), extra_files, - no_input=no_input, - no_tag_input=no_tag_input, + hide_all_input=hide_all_input, + hide_tagged_input=hide_tagged_input, ) except Exception as exc: self.log.exception("Bundle creation failed") diff --git a/rsconnect_jupyter/static/connect.js b/rsconnect_jupyter/static/connect.js index 8b5b54fa..a490681a 100644 --- a/rsconnect_jupyter/static/connect.js +++ b/rsconnect_jupyter/static/connect.js @@ -1067,13 +1067,13 @@ define([ ' ', '
', ' ', - '
', - ' ', - '

', + '
', + ' ', + '

', '
', - '
', - ' ', - '

', + '
', + ' ', + '

', '
', '
', ' ', @@ -1371,8 +1371,8 @@ define([ } // bindCheckbox('include_files'); // bindCheckbox('include_subdirs'); - bindCheckbox('no_input'); - bindCheckbox('no_tag_input'); + bindCheckbox('hide_all_input'); + bindCheckbox('hide_tagged_input'); // setup app mode choices help icon (function() { diff --git a/rsconnect_jupyter/static/rsconnect.js b/rsconnect_jupyter/static/rsconnect.js index 66fe2d3e..a831c176 100644 --- a/rsconnect_jupyter/static/rsconnect.js +++ b/rsconnect_jupyter/static/rsconnect.js @@ -448,8 +448,8 @@ define([ files: files, disable_tls_check: entry.disableTLSCheck || false, cadata: self.getCAData(entry.server), - no_input: entry.no_input, - no_tag_input: entry.no_tag_input + hide_all_input: entry.hide_all_input, + hide_tagged_input: entry.hide_tagged_input }; var xhr = Utils.ajax({ From 9a33e4115c1f61ea23d335554c98d4a7ffe48640 Mon Sep 17 00:00:00 2001 From: Bincheng Wu Date: Mon, 12 Jul 2021 16:47:23 -0400 Subject: [PATCH 09/16] Update news --- NEWS.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/NEWS.md b/NEWS.md index 31e9c11e..2659a517 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,8 @@ +## Unreleased +-------------------------------------------------------------------------------- +* Added ability to hide all code cells when rendering Jupyter notebooks. +* Added ability to selectively hide code cells tagged with 'hide_input' when rendering Jupyter notebooks. + `rsconnect-jupyter` 1.4.1 -------------------------------------------------------------------------------- * UI now shows more error details for troubleshooting. From e39146f7a6fb3561bc442774c604319e4d258b99 Mon Sep 17 00:00:00 2001 From: Bincheng Wu Date: Mon, 19 Jul 2021 09:59:33 -0400 Subject: [PATCH 10/16] update deploy parameter defaults --- rsconnect_jupyter/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rsconnect_jupyter/__init__.py b/rsconnect_jupyter/__init__.py index 070b47f2..5f5cb19b 100644 --- a/rsconnect_jupyter/__init__.py +++ b/rsconnect_jupyter/__init__.py @@ -150,8 +150,8 @@ def post(self, action): disable_tls_check = data["disable_tls_check"] cadata = data.get("cadata", None) extra_files = data.get("files", []) - hide_all_input = data.get("hide_all_input", None) - hide_tagged_input = data.get("hide_tagged_input", None) + hide_all_input = data.get("hide_all_input", False) + hide_tagged_input = data.get("hide_tagged_input", False) model = self.contents_manager.get(path=nb_path) if model["type"] != "notebook": From 67075849e864995c7feb19ad07a6231f009e24e5 Mon Sep 17 00:00:00 2001 From: Bincheng Wu Date: Mon, 19 Jul 2021 10:02:16 -0400 Subject: [PATCH 11/16] update font --- rsconnect_jupyter/static/connect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rsconnect_jupyter/static/connect.js b/rsconnect_jupyter/static/connect.js index a490681a..8368536f 100644 --- a/rsconnect_jupyter/static/connect.js +++ b/rsconnect_jupyter/static/connect.js @@ -1073,7 +1073,7 @@ define([ '
', '
', ' ', - '

', + '

', '
', '
', ' ', From 012b6d2c88e4e91c6e56e6bc1a51aea082890ea5 Mon Sep 17 00:00:00 2001 From: Bincheng Wu Date: Wed, 21 Jul 2021 16:07:33 -0400 Subject: [PATCH 12/16] add help icons for hide cells checkboxes --- rsconnect_jupyter/static/connect.js | 56 ++++++++++++++++++++++++----- rsconnect_jupyter/static/main.css | 8 +++++ 2 files changed, 56 insertions(+), 8 deletions(-) diff --git a/rsconnect_jupyter/static/connect.js b/rsconnect_jupyter/static/connect.js index 8368536f..0e35363f 100644 --- a/rsconnect_jupyter/static/connect.js +++ b/rsconnect_jupyter/static/connect.js @@ -1067,14 +1067,18 @@ define([ ' ', '
', '
', - '
', - ' ', - '

', - '
', - '
', - ' ', - '

', - '
', + '
', + '
', + ' ', + '

', + '
', + '
', + '
', + '
', + ' ', + '

', + '
', + '
', '
', ' ', ' ', @@ -1393,6 +1397,42 @@ define([ $('#rsc-publish-source > label').append(helpIcon); })(); + // setup hide all input help icon + (function() { + var msg = + 'Check hide all input documentation'; + + var helpIcon = $( + [ + '', + '' + ].join('') + ) + .data('content', msg) + .data('html', true) + .popover(); + + $('#hide-all-input-wrapper').append(helpIcon); + })(); + + // setup hide tagged input help icon + (function() { + var msg = + 'Check hide tagged input documentation'; + + var helpIcon = $( + [ + '', + '' + ].join('') + ) + .data('content', msg) + .data('html', true) + .popover(); + + $('#hide-tagged-input-wrapper').append(helpIcon); + })(); + var form = publishModal.find('form').on('submit', function(e) { e.preventDefault(); publishModal.find('.form-group').removeClass('has-error'); diff --git a/rsconnect_jupyter/static/main.css b/rsconnect_jupyter/static/main.css index 262819a0..0dd063d9 100644 --- a/rsconnect_jupyter/static/main.css +++ b/rsconnect_jupyter/static/main.css @@ -130,3 +130,11 @@ p { font-size: .7em; text-align: right; } + +#hide-all-input-wrapper { + display:flex; +} + +#hide-tagged-input-wrapper { + display:flex; +} From af936b56078008a7fc6a0040a629e13f22fd12f9 Mon Sep 17 00:00:00 2001 From: Bincheng Wu Date: Thu, 22 Jul 2021 10:53:46 -0400 Subject: [PATCH 13/16] reduce the break between checkbox options --- rsconnect_jupyter/static/connect.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rsconnect_jupyter/static/connect.js b/rsconnect_jupyter/static/connect.js index 0e35363f..1d96dad4 100644 --- a/rsconnect_jupyter/static/connect.js +++ b/rsconnect_jupyter/static/connect.js @@ -1070,13 +1070,13 @@ define([ '
', '
', ' ', - '

', + ' ', '
', '
', '
', '
', ' ', - '

', + ' ', '
', '
', '
', From 841395d11817110fc64ba4e08df7abd7a01d0dec Mon Sep 17 00:00:00 2001 From: Bincheng Wu Date: Thu, 22 Jul 2021 13:54:12 -0400 Subject: [PATCH 14/16] update help icon UI --- rsconnect_jupyter/static/connect.js | 47 +++++++++-------------------- rsconnect_jupyter/static/main.css | 5 +-- 2 files changed, 15 insertions(+), 37 deletions(-) diff --git a/rsconnect_jupyter/static/connect.js b/rsconnect_jupyter/static/connect.js index 1d96dad4..2cb01ca4 100644 --- a/rsconnect_jupyter/static/connect.js +++ b/rsconnect_jupyter/static/connect.js @@ -1067,18 +1067,17 @@ define([ ' ', '
', '
', - '
', - '
', - ' ', - ' ', - '
', - '
', - '
', - '
', - ' ', - ' ', - '
', - '
', + '
', + ' ', + '
', + '
', + ' ', + ' ', + '
', + '
', + ' ', + ' ', + '

', '
', ' ', ' ', @@ -1397,28 +1396,10 @@ define([ $('#rsc-publish-source > label').append(helpIcon); })(); - // setup hide all input help icon - (function() { - var msg = - 'Check hide all input documentation'; - - var helpIcon = $( - [ - '', - '' - ].join('') - ) - .data('content', msg) - .data('html', true) - .popover(); - - $('#hide-all-input-wrapper').append(helpIcon); - })(); - - // setup hide tagged input help icon + // setup hide input help icon (function() { var msg = - 'Check hide tagged input documentation'; + 'Hide input documentation'; var helpIcon = $( [ @@ -1430,7 +1411,7 @@ define([ .data('html', true) .popover(); - $('#hide-tagged-input-wrapper').append(helpIcon); + $('#hide-input-wrapper').append(helpIcon); })(); var form = publishModal.find('form').on('submit', function(e) { diff --git a/rsconnect_jupyter/static/main.css b/rsconnect_jupyter/static/main.css index 0dd063d9..8506156a 100644 --- a/rsconnect_jupyter/static/main.css +++ b/rsconnect_jupyter/static/main.css @@ -131,10 +131,7 @@ p { text-align: right; } -#hide-all-input-wrapper { - display:flex; -} -#hide-tagged-input-wrapper { +#hide-input-wrapper { display:flex; } From 318370bec5c145eb46baba148b8195bb7c1d454f Mon Sep 17 00:00:00 2001 From: Bincheng Wu Date: Fri, 23 Jul 2021 10:41:24 -0400 Subject: [PATCH 15/16] update requirements in setup.cfg --- setup.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.cfg b/setup.cfg index 2246e777..d22375cd 100644 --- a/setup.cfg +++ b/setup.cfg @@ -16,10 +16,10 @@ project_urls = [options] install_requires = - rsconnect-python>=1.5.0 + rsconnect-python>=1.5.4 notebook nbformat - nbconvert>=5.0 + nbconvert>=5.6.1 six ipython setup_requires = From 86ae77d4c01d023734d705b2815121cfebe6c9cf Mon Sep 17 00:00:00 2001 From: Bincheng Wu Date: Thu, 29 Jul 2021 10:22:13 -0400 Subject: [PATCH 16/16] update help icon message and documentation link --- rsconnect_jupyter/static/connect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rsconnect_jupyter/static/connect.js b/rsconnect_jupyter/static/connect.js index 2cb01ca4..5b2a44e2 100644 --- a/rsconnect_jupyter/static/connect.js +++ b/rsconnect_jupyter/static/connect.js @@ -1399,7 +1399,7 @@ define([ // setup hide input help icon (function() { var msg = - 'Hide input documentation'; + 'Hiding input code cells results in rendering only the output of code cells on publication.
Hide Input Documentation'; var helpIcon = $( [