All checks were successful
Lint Code / lint (push) Successful in 39s
CI/CD Pipeline / lint (push) Successful in 0s
Run Tests / test (3.12) (push) Successful in 53s
Run Tests / test (3.13) (push) Successful in 51s
CI/CD Pipeline / test (push) Successful in 1s
CI/CD Pipeline / build-and-release (push) Has been skipped
CI/CD Pipeline / notify (push) Successful in 1s
33 lines
577 B
YAML
33 lines
577 B
YAML
# 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:
|
|
"~*\\.(css)$":
|
|
root: "./docs"
|
|
cache_control: "public, max-age=3600"
|
|
|
|
"__default__":
|
|
root: "./docs"
|
|
index_file: "index.html"
|
|
cache_control: "no-cache"
|