mirror of
https://github.com/joaotavora/yasnippet.git
synced 2026-02-05 06:52:26 +00:00
Use a beautiful css style for the document. release as 0.5.1
This commit is contained in:
@@ -49,8 +49,12 @@ directives.register_directive('sourcecode', pygments_directive)
|
||||
# ========================================
|
||||
from docutils.core import publish_cmdline, default_description
|
||||
|
||||
|
||||
description = ('Generates (X)HTML documents from standalone reStructuredText '
|
||||
'sources. ' + default_description)
|
||||
overrides = {'stylesheet_path' : 'styles.css',
|
||||
'embed_stylesheet' : False,
|
||||
'template' : 'doc/template.txt'}
|
||||
|
||||
publish_cmdline(writer_name='html', description=description)
|
||||
publish_cmdline(writer_name='html',
|
||||
description=description,
|
||||
settings_overrides=overrides)
|
||||
|
||||
Reference in New Issue
Block a user