예제 #1
0
파일: engine.py 프로젝트: troyscott/hyde
 def publish(self, args):
     """
     Publishes the site based on the configuration from the `target`
     parameter.
     """
     sitepath = self.main(args)
     site = self.make_site(sitepath, args.config)
     from hyde.publisher import Publisher
     publisher = Publisher.load_publisher(site, args.publisher,
                                          args.message)
     publisher.publish()
예제 #2
0
    def publish(self, args):
        """
        Publishes the site based on the configuration from the `target`
        parameter.
        """
        sitepath = self.main(args)
        site = self.make_site(sitepath, args.config)
        from hyde.publisher import Publisher

        publisher = Publisher.load_publisher(site, args.publisher, args.message)
        publisher.publish()