Resolve build of latex documentation relating to markdown lists
This commit is contained in:
parent
c708e8425f
commit
ba46aff069
|
@ -29,8 +29,8 @@ See it's that simple!
|
||||||
## Pull requests!
|
## Pull requests!
|
||||||
|
|
||||||
So the pull request approval rules are pretty simple:
|
So the pull request approval rules are pretty simple:
|
||||||
1. All pull requests must pass unit tests
|
* All pull requests must pass unit tests
|
||||||
* All pull requests must be reviewed and approved by at least
|
* All pull requests must be reviewed and approved by at least
|
||||||
one current collaborator on the project
|
one current collaborator on the project
|
||||||
* All pull requests must pass flake8 checks
|
* All pull requests must pass flake8 checks
|
||||||
* If you decide to remove/change anything from any common interface
|
* If you decide to remove/change anything from any common interface
|
||||||
|
|
|
@ -4,8 +4,13 @@ Make sure you have both [pip](https://pip.pypa.io/en/stable/installing/) and at
|
||||||
least version 3.5 of Python before starting. Sanic uses the new `async`/`await`
|
least version 3.5 of Python before starting. Sanic uses the new `async`/`await`
|
||||||
syntax, so earlier versions of python won't work.
|
syntax, so earlier versions of python won't work.
|
||||||
|
|
||||||
1. Install Sanic: `python3 -m pip install sanic`
|
## 1. Install Sanic
|
||||||
2. Create a file called `main.py` with the following code:
|
|
||||||
|
```
|
||||||
|
python3 -m pip install sanic
|
||||||
|
```
|
||||||
|
|
||||||
|
## 2. Create a file called `main.py`
|
||||||
|
|
||||||
```python
|
```python
|
||||||
from sanic import Sanic
|
from sanic import Sanic
|
||||||
|
@ -20,9 +25,16 @@ syntax, so earlier versions of python won't work.
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
app.run(host="0.0.0.0", port=8000)
|
app.run(host="0.0.0.0", port=8000)
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Run the server: `python3 main.py`
|
## 3. Run the server
|
||||||
4. Open the address `http://0.0.0.0:8000` in your web browser. You should see
|
|
||||||
the message *Hello world!*.
|
```
|
||||||
|
python3 main.py
|
||||||
|
```
|
||||||
|
|
||||||
|
## 4. Check your browser
|
||||||
|
|
||||||
|
Open the address `http://0.0.0.0:8000` in your web browser. You should see
|
||||||
|
the message *Hello world!*.
|
||||||
|
|
||||||
You now have a working Sanic server!
|
You now have a working Sanic server!
|
||||||
|
|
Loading…
Reference in New Issue
Block a user