diff --git a/docs/faq.md b/docs/faq.md index 5c1a684..f330c2c 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -24,6 +24,7 @@ Edges cases, warnings, and errors: - {doc}`faq/internal-functions` - {doc}`faq/set-env-via-environment-var` - {doc}`faq/header-author-field` +- {doc}`faq/cell-source-string` ```{toctree} :maxdepth: 1 @@ -48,4 +49,5 @@ faq/not-initialized faq/internal-functions faq/set-env-via-environment-var faq/header-author-field +faq/cell-source-string ``` diff --git a/docs/faq/cell-source-string.ipynb b/docs/faq/cell-source-string.ipynb new file mode 100644 index 0000000..7f160ad --- /dev/null +++ b/docs/faq/cell-source-string.ipynb @@ -0,0 +1,71 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "id": "65e19088d582d71d", + "metadata": {}, + "source": [ + "# Check with cell sources being strings" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "3a01a044c3767dc9", + "metadata": {}, + "outputs": [], + "source": [ + "import nbproject" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "7051321d7eb8c452", + "metadata": {}, + "outputs": [], + "source": [ + "assert nbproject.meta.live.title == \"Check with cell sources being strings\"" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "b2d5e63449430ff8", + "metadata": {}, + "outputs": [], + "source": [ + "assert nbproject.meta.live.consecutive_cells" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "d32912abaefbdc13", + "metadata": {}, + "outputs": [], + "source": [] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 2 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython2", + "version": "2.7.6" + } + }, + "nbformat": 4, + "nbformat_minor": 5 +}