gh-pages: make column wider and don't wrap code blocks

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2020-07-31 01:00:00 +00:00
parent 563bf6d59a
commit 6a9c478a83
3 changed files with 10 additions and 4 deletions

View File

@@ -13728,8 +13728,8 @@ Mispeculated instructions never reach this stage as can be seen at: <<gem5-event
+
The `ExecAll` happens at this time as well. And therefore `ExecAll` does not happen for mispeculated instructions.
====== gem5 util/o3-pipeview.py O3 pipeline viewer
[[gem5-util-o3-pipeview-py-o3-pipeline-viewer]]
====== gem5 util/o3-pipeview.py O3 pipeline viewer
Mentioned at: http://www.m5sim.org/Visualization

View File

@@ -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,
],

8
docinfo.html Normal file
View File

@@ -0,0 +1,8 @@
<style>
pre{ white-space:pre }
#header,#content,#footnotes,#footer {
margin-left:40px;
padding-right:60px;
max-width:none;
}
</style>