mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
gh-pages: make column wider and don't wrap code blocks
This commit is contained in:
@@ -28,22 +28,20 @@ from the README to example sources to GitHub rather than locally.
|
||||
|
||||
def timed_main(self):
|
||||
asciidoctor_dir = os.path.join(self.env['root_dir'], 'asciidoctor')
|
||||
github_pages_opts = []
|
||||
if self.env['github_pages']:
|
||||
link_target_script = 'link-target-github.rb'
|
||||
github_pages_opts.extend(['--attribute', 'docinfo=shared', LF])
|
||||
else:
|
||||
link_target_script = 'link-target-up.rb'
|
||||
exit_status = self.sh.run_cmd(
|
||||
[
|
||||
'asciidoctor', LF,
|
||||
'--attribute', 'docinfo=shared', LF,
|
||||
'--failure-level', 'info', LF,
|
||||
'--require', os.path.join(asciidoctor_dir, link_target_script), LF,
|
||||
'--out-file', self.env['readme_out'], LF,
|
||||
'--trace', LF,
|
||||
'--verbose', LF,
|
||||
] +
|
||||
github_pages_opts +
|
||||
[
|
||||
self.env['readme'], LF,
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user