Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Koncopd committed Oct 16, 2024
1 parent d200f59 commit 0a9305b
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -48,4 +49,5 @@ faq/not-initialized
faq/internal-functions
faq/set-env-via-environment-var
faq/header-author-field
faq/cell-source-string
```
71 changes: 71 additions & 0 deletions docs/faq/cell-source-string.ipynb
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 0a9305b

Please sign in to comment.