fix readme and pyproject

This commit is contained in:
ilia 2023-09-29 17:46:34 +03:00
parent a03f5c41d9
commit 1fbb754bde
2 changed files with 14 additions and 8 deletions

View File

@ -1,4 +1,7 @@
# advanced-python-homework-2023
## Student:
[Ilia Tambovtsev](https://t.me/hyperpopa)
## Materials
- [Homework](https://sciprogcentre.github.io/green-courses/advanced_python.html)
@ -12,10 +15,17 @@ pip install -r requirements.txt
```
### Documentation
#### Build
```
cd docs
make.bat
```
#### From scratch
1. run sphinx initialization: `sphinx-quickstart docs`
2. add project packages: `sphinx-apidoc -o docs/source .`
3. edit `conf.py`
```py
import sys
import os
@ -29,6 +39,4 @@ extensions = [
]
```
4. add `modules` after `Contents:` in `index.rst`
#### Build
1. build docs `sphinx-build -M html docs/source/ docs/build/`
1. docs are now in `docs/build/html`
5. run `make.bat`

View File

@ -1,8 +1,8 @@
[project]
name = "spam"
version = "2020.0.0"
version = "2023.0.0"
description = "Lovely Spam! Wonderful Spam!"
readme = "README.rst"
readme = "README.md"
requires-python = ">=3.7"
license = {file = "LICENSE.txt"}
keywords = ["SCADA", "mipt"]
@ -26,6 +26,4 @@ test = [
]
[project.urls]
homepage = "https://example.com"
documentation = "https://readthedocs.org"
repository = "https://github.com"
repository = "https://git.sciprog.center/tambovtsev.io/advanced-python-homework-2023"