mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 08:41:46 +01:00
VyOS Extension: fix comandlist margin in pdf and apply custom css in html
This commit is contained in:
parent
b07f0668c3
commit
64f9605a50
9
docs/_static/css/custom.css
vendored
9
docs/_static/css/custom.css
vendored
@ -46,12 +46,19 @@ span.cfgcmd {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
a.cmdlink {
|
a.cmdlink {
|
||||||
font-size: 80%;
|
font-size: 80%;
|
||||||
margin-left: 6px;
|
margin-left: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a.cmdlink span{
|
||||||
|
color: #2980B9;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.cmdlink span:hover{
|
||||||
|
color: #3091d1;
|
||||||
|
}
|
||||||
|
|
||||||
.wy-nav-content {
|
.wy-nav-content {
|
||||||
max-width : none;
|
max-width : none;
|
||||||
}
|
}
|
||||||
|
|||||||
10
docs/conf.py
10
docs/conf.py
@ -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):
|
def setup(app):
|
||||||
pass
|
pass
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user