## publish()


Publish a document to a target.


Usage


``` python
publish(
    document,
    target="web",
)
```


## Parameters


`document: str`  
Document content.

`target: str = ``"web"`  
Publication target (web, pdf, epub).


## Returns


`bool`  
True if published successfully.
