add_publisher
(scheme, publisher
)This method can be used to register a new publisher for a given URL scheme with Lektor. This allows plugins to provide custom deployment methods. For more information on implementing these see Publisher.
from lektor.publisher import Publisher
class MyPublisher(Publisher):
pass
env.add_publisher('my', MyPublisher)
Comments