Merge pull request #210 from rebortg/master

VyOS Extension: fix commandlist margin in pdf and apply custom css
This commit is contained in:
Robert Göhler 2020-02-18 22:28:30 +01:00 committed by GitHub
commit 8d9cb866ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 12 deletions

View File

@ -46,12 +46,19 @@ span.cfgcmd {
}
a.cmdlink {
font-size: 80%;
margin-left: 6px;
}
a.cmdlink span{
color: #2980B9;
}
a.cmdlink span:hover{
color: #3091d1;
}
.wy-nav-content {
max-width : none;
}

View File

@ -177,15 +177,5 @@ texinfo_documents = [
]
def vytask_role(name, rawtext, text, lineno, inliner, options={}, content=[]):
app = inliner.document.settings.env.app
base = app.config.vyos_phabricator_url
ref = base + str(text)
set_classes(options)
node = nodes.reference(
rawtext, utils.unescape(str(text)), refuri=ref, **options)
return [node], []
def setup(app):
pass