Skip to content

Commit 8c017d3

Browse files
Netlify: Fix documentation not building when updated (#69)
I screwed it up the first time and didn't notice because I hadn't needed to change the documentation until recently.
1 parent adcfcdf commit 8c017d3

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

docs/index.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
This project originates from a scrapped PEP. For the original text, see [here](https://gist.github.com/ZeroIntensity/8d32e94b243529c7e1c27349e972d926).
66

7-
## Motivation
7+
## Introduction
88

99
CPython currently has no existing C interface for writing asynchronous functions or doing any sort of `await` operations, other than defining extension types and manually implementing methods like `__await__` from scratch. This lack of an API can be seen in some Python-to-C transpilers (such as `mypyc`) having limited support for asynchronous code.
1010

@@ -14,8 +14,6 @@ In the C API, developers are forced to do one of three things when it comes to a
1414
- Use an external tool to compile their asynchronous code to C.
1515
- Defer their asynchronous logic to a synchronous Python function, and then call that natively.
1616

17-
## Introduction
18-
1917
Since there are other event loop implementations, PyAwaitable aims to be a _generic_ interface for working with asynchronous operations from C (as in, we'll only be implementing features like `async def` and `await`, but not things like `asyncio.create_task`.)
2018

2119
This documentation assumes that you're familiar with the C API already, and understand some essential concepts like reference counting (as well as borrowed and strong references). If you don't know what any of that means, it's highly advised that you read through the [Python docs](https://docs.python.org/3/extending/extending.html) before trying to use PyAwaitable.

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[build]
22
command = "mkdocs build"
33
publish = "site"
4-
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF ./docs"
4+
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF docs/"

0 commit comments

Comments
 (0)