bump version in __init__.py and some changes in .gitignore
All checks were successful
Lint Code / lint (push) Successful in 40s
CI/CD Pipeline / lint (push) Successful in 0s
Run Tests / test (3.12) (push) Successful in 54s
Run Tests / test (3.13) (push) Successful in 52s
CI/CD Pipeline / test (push) Successful in 0s
CI/CD Pipeline / build-and-release (push) Has been skipped
CI/CD Pipeline / notify (push) Successful in 0s
All checks were successful
Lint Code / lint (push) Successful in 40s
CI/CD Pipeline / lint (push) Successful in 0s
Run Tests / test (3.12) (push) Successful in 54s
Run Tests / test (3.13) (push) Successful in 52s
CI/CD Pipeline / test (push) Successful in 0s
CI/CD Pipeline / build-and-release (push) Has been skipped
CI/CD Pipeline / notify (push) Successful in 0s
This commit is contained in:
parent
600f71612b
commit
1b462bd5f0
3
.gitignore
vendored
3
.gitignore
vendored
@ -11,3 +11,6 @@ static/*
|
||||
|
||||
.DS_Store
|
||||
.coverage
|
||||
|
||||
docs/
|
||||
dist/
|
||||
39
config.docs.yaml
Normal file
39
config.docs.yaml
Normal file
@ -0,0 +1,39 @@
|
||||
# PyServe configuration for serving documentation
|
||||
# Usage: pyserve -c config.docs.yaml
|
||||
|
||||
http:
|
||||
static_dir: ./docs
|
||||
templates_dir: ./templates
|
||||
|
||||
server:
|
||||
host: 0.0.0.0
|
||||
port: 8000
|
||||
backlog: 5
|
||||
default_root: false
|
||||
|
||||
ssl:
|
||||
enabled: false
|
||||
|
||||
logging:
|
||||
level: INFO
|
||||
console_output: true
|
||||
|
||||
extensions:
|
||||
- type: routing
|
||||
config:
|
||||
regex_locations:
|
||||
"=/":
|
||||
root: "./docs"
|
||||
index_file: "index.html"
|
||||
|
||||
"~*\\.(css)$":
|
||||
root: "./docs"
|
||||
cache_control: "public, max-age=3600"
|
||||
|
||||
"~*\\.html$":
|
||||
root: "./docs"
|
||||
cache_control: "no-cache"
|
||||
|
||||
"__default__":
|
||||
root: "./docs"
|
||||
index_file: "index.html"
|
||||
@ -2,7 +2,7 @@
|
||||
PyServe - HTTP web server written on Python
|
||||
"""
|
||||
|
||||
__version__ = "0.6.0"
|
||||
__version__ = "0.7.0"
|
||||
__author__ = "Ilya Glazunov"
|
||||
|
||||
from .server import PyServeServer
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user