<commit_before>{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# An Orphan Notebook\n",
    "\n",
    "This means that is doesn't appear in the Sphinx doctree (see `index.rst`), but other pages can still link to it (with ``:doc:`notebookname` ``).\n",
    "\n",
    "**Note:** Orphan notebooks are not included in the PDF output!\n",
    "\n",
    "Sphinx raises a warning in case of orphaned documents:\n",
    "\n",
    "    WARNING: document isn't included in any toctree\n",
    "    \n",
    "If you want to avoid this warning, you can add this to the notebook JSON metadata:\n",
    "\n",
    "```json\n",
    "\"nbsphinx\": {\n",
    "  \"orphan\": true\n",
    "},\n",
    "```"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.4.3+"
  },
  "nbsphinx": {
   "orphan": true
  }
 },
 "nbformat": 4,
 "nbformat_minor": 0
}<commit_msg>DOC: Some changes to orphan notebook<commit_after>{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# An Orphan Notebook\n",
    "\n",
    "This means that is doesn't appear in the Sphinx toctree (see `index.rst`), but other pages can still link to it ...\n",
    "\n",
    "* ... from a Markdown cell of another notebook using\n",
    "\n",
    "    ```\n",
    "    [some link text](notebookname.ipynb)\n",
    "    ```\n",
    "\n",
    "* ... from a reST page using\n",
    "\n",
    "    ```rst\n",
    "    :doc:`notebookname`\n",
    "    ```\n",
    "    \n",
    "    or\n",
    "    \n",
    "    ```rst\n",
    "    :doc:`alternative link text <notebookname>`\n",
    "    ```    \n",
    "\n",
    "Sphinx raises a warning in case of orphaned documents:\n",
    "\n",
    "    WARNING: document isn't included in any toctree\n",
    "    \n",
    "If you want to avoid this warning, you can add this to the notebook JSON metadata:\n",
    "\n",
    "```json\n",
    "\"nbsphinx\": {\n",
    "  \"orphan\": true\n",
    "},\n",
    "```\n",
    "\n",
    "**Note:** Orphan notebooks are not included in the LaTeX output!"
   ]
  },
  {
   "cell_type": "raw",
   "metadata": {
    "raw_mimetype": "text/restructuredtext"
   },
   "source": [
    ":doc:`Back to main page <index>`"
   ]
  }
 ],
 "metadata": {
  "celltoolbar": "Raw Cell Format",
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.4.4rc1"
  },
  "nbsphinx": {
   "orphan": true
  }
 },
 "nbformat": 4,
 "nbformat_minor": 0
}
{'fraction_non_alphanumeric': 0.2119921363040629, 'fraction_numerical': 0.006225425950196592, 'mean_word_length': 2.438063063063063, 'pattern_counts': {'":': 56, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3463969', 'n_tokens_mistral': 1195, 'n_tokens_neox': 1156, 'n_words': 293}