Skip to content

Commit

Permalink
Regenerate docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jacebrowning committed Nov 20, 2021
1 parent 8235dc5 commit f989f8c
Show file tree
Hide file tree
Showing 13 changed files with 167 additions and 161 deletions.
4 changes: 3 additions & 1 deletion Makefile
Expand Up @@ -95,7 +95,9 @@ $(MKDOCS_INDEX): docs/requirements.txt mkdocs.yml docs/*.md
poetry run mkdocs build --clean --strict

docs/requirements.txt: poetry.lock
@ poetry export --dev --without-hashes | grep mkdocs > $@
@ rm -f $@
@ poetry export --dev --without-hashes | grep markdown >> $@
@ poetry export --dev --without-hashes | grep mkdocs >> $@
@ poetry export --dev --without-hashes | grep pygments >> $@

.PHONY: mkdocs-serve
Expand Down
3 changes: 2 additions & 1 deletion docs/requirements.txt
@@ -1,3 +1,4 @@
mkdocs==1.0.4; (python_full_version >= "2.7.9" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0")
markdown==3.3.4; python_version >= "3.6"
mkdocs==1.2.3; python_version >= "3.6"
jupyterlab-pygments==0.1.2; python_version >= "3.6"
pygments==2.9.0; python_version >= "3.5"
53 changes: 26 additions & 27 deletions notebooks/file_inference.ipynb
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "ca89e9e9",
"id": "fcdb0d2b",
"metadata": {
"tags": []
},
Expand All @@ -13,7 +13,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "8f98d0f7",
"id": "b1284aa4",
"metadata": {
"tags": []
},
Expand All @@ -40,7 +40,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "40f9ddf4",
"id": "7b5e58ce",
"metadata": {
"tags": []
},
Expand All @@ -67,7 +67,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "87188346",
"id": "ea45da52",
"metadata": {
"tags": []
},
Expand All @@ -79,7 +79,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "c4a08c5b",
"id": "1e578f6a",
"metadata": {
"tags": []
},
Expand All @@ -106,7 +106,7 @@
},
{
"cell_type": "markdown",
"id": "6d775612",
"id": "9faf4b33",
"metadata": {
"tags": []
},
Expand All @@ -117,7 +117,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "2cb4efe6",
"id": "ca59506a",
"metadata": {
"tags": []
},
Expand All @@ -126,22 +126,22 @@
"name": "stdout",
"output_type": "stream",
"text": [
"dist: xenial\n",
"dist: focal\n",
"\n",
"language: python\n",
"python:\n",
" - 3.7\n",
" - 3.8\n",
" - 3.9\n",
" - \"3.7\"\n",
" - \"3.8\"\n",
" - \"3.9\"\n",
" - \"3.10.0\"\n",
"\n",
"cache:\n",
" pip: true\n",
" directories:\n",
" - ${VIRTUAL_ENV}\n",
"\n",
"before_install:\n",
" - curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -\n",
" - source $HOME/.poetry/env\n",
" - curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python -\n",
" - make doctor\n",
"\n",
"install:\n",
Expand All @@ -150,8 +150,9 @@
"script:\n",
" - make test-repeat\n",
" - make check\n",
" - make notebooks\n",
" - make mkdocs\n",
" # TODO: Get targets working with Python 3.10\n",
" # - make notebooks\n",
" # - make mkdocs\n",
"\n",
"after_success:\n",
" - pip install coveralls\n",
Expand All @@ -175,7 +176,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "24038452",
"id": "47e4299e",
"metadata": {
"tags": []
},
Expand All @@ -189,7 +190,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "83cb5ee3",
"id": "59e2ec70",
"metadata": {
"tags": []
},
Expand All @@ -201,7 +202,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "be55c2aa",
"id": "c6bcda4c",
"metadata": {
"tags": []
},
Expand All @@ -210,31 +211,29 @@
"name": "stdout",
"output_type": "stream",
"text": [
"dist: xenial\n",
"dist: focal\n",
"\n",
"language: python\n",
"python:\n",
" - 3.7\n",
" - 3.8\n",
" - 3.9\n",
" - '3.7'\n",
" - '3.8'\n",
" - '3.9'\n",
" - 3.10.0\n",
"cache:\n",
" pip: true\n",
" directories:\n",
" - ${VIRTUAL_ENV}\n",
"\n",
"before_install:\n",
" - curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py\n",
" - curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py\n",
" | python -\n",
" - source $HOME/.poetry/env\n",
" - make doctor\n",
"install:\n",
" - make install\n",
" - 'echo 123 # <= This line is new'\n",
"script:\n",
" - make test-repeat\n",
" - make check\n",
" - make notebooks\n",
" - make mkdocs\n",
"after_success:\n",
" - pip install coveralls\n",
" - coveralls\n",
Expand Down Expand Up @@ -268,7 +267,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.2"
"version": "3.9.7"
}
},
"nbformat": 4,
Expand Down
26 changes: 13 additions & 13 deletions notebooks/format_options.ipynb
Expand Up @@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "214cd15c",
"id": "3585b385",
"metadata": {
"tags": []
},
Expand All @@ -17,7 +17,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "c266bfbc",
"id": "527b2b38",
"metadata": {
"tags": []
},
Expand All @@ -42,7 +42,7 @@
},
{
"cell_type": "markdown",
"id": "087383ee",
"id": "a53e5b29",
"metadata": {
"tags": []
},
Expand All @@ -53,7 +53,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "1145ddf5",
"id": "42326bb6",
"metadata": {
"tags": []
},
Expand All @@ -71,7 +71,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "ea87464a",
"id": "18de0dc4",
"metadata": {
"tags": []
},
Expand Down Expand Up @@ -108,7 +108,7 @@
},
{
"cell_type": "markdown",
"id": "d0f4ad4b",
"id": "a818e139",
"metadata": {
"tags": []
},
Expand All @@ -119,7 +119,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "7667a0a4",
"id": "a8f10508",
"metadata": {
"tags": []
},
Expand All @@ -137,7 +137,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "f6a88b70",
"id": "5b30e1bd",
"metadata": {
"tags": []
},
Expand Down Expand Up @@ -169,7 +169,7 @@
},
{
"cell_type": "markdown",
"id": "26b77b70",
"id": "65fad89f",
"metadata": {
"tags": []
},
Expand All @@ -180,7 +180,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "9d44e25e",
"id": "81e92950",
"metadata": {
"tags": []
},
Expand All @@ -198,7 +198,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "f9217eec",
"id": "aa717e2b",
"metadata": {
"tags": []
},
Expand Down Expand Up @@ -228,7 +228,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "8038f68b",
"id": "cdfede38",
"metadata": {
"tags": []
},
Expand All @@ -252,7 +252,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.2"
"version": "3.9.7"
}
},
"nbformat": 4,
Expand Down
16 changes: 8 additions & 8 deletions notebooks/generic_types.ipynb
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "a426c08f",
"id": "4e6a4fa6",
"metadata": {
"tags": []
},
Expand All @@ -13,7 +13,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "0d5fd492",
"id": "17fb2ee2",
"metadata": {
"tags": []
},
Expand All @@ -27,7 +27,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "36e8e600",
"id": "72abe3e2",
"metadata": {
"tags": []
},
Expand Down Expand Up @@ -73,7 +73,7 @@
},
{
"cell_type": "markdown",
"id": "ef61ad77",
"id": "909d006c",
"metadata": {
"tags": []
},
Expand All @@ -84,15 +84,15 @@
{
"cell_type": "code",
"execution_count": null,
"id": "552421bf",
"id": "4b0330d9",
"metadata": {
"tags": []
},
"outputs": [
{
"data": {
"text/plain": [
"Dictish(contents=[<__main__.Pair object at 0x118807490>, <__main__.Pair object at 0x1188079d0>])"
"Dictish(contents=[<__main__.Pair object at 0x10b4961c0>, <__main__.Pair object at 0x10b496b20>])"
]
},
"execution_count": null,
Expand All @@ -107,7 +107,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "5245f90d",
"id": "03e263e1",
"metadata": {
"tags": []
},
Expand Down Expand Up @@ -147,7 +147,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.2"
"version": "3.9.7"
}
},
"nbformat": 4,
Expand Down

0 comments on commit f989f8c

Please sign in to comment.