[docs] added style

This commit is contained in:
Rushabh Mehta 2016-11-21 18:47:00 +05:30
parent 75d455422a
commit 0d5d4aefe5
2 changed files with 4 additions and 2 deletions

View File

@ -19,10 +19,12 @@ docs_version = "7.x.x"
splash_light_background = True splash_light_background = True
def get_context(context): def get_context(context):
context.brand_html = "ERPNext" context.brand_html = ('<img class="brand-logo" src="'+context.docs_base_url
+'/assets/img/erpnext-docs.png"> ERPNext</img>')
context.app.splash_light_background = True context.app.splash_light_background = True
context.top_bar_items = [ context.top_bar_items = [
{"label": "User Manual", "url": context.docs_base_url + "/user/manual", "right": 1}, {"label": "User Manual", "url": context.docs_base_url + "/user/manual", "right": 1},
{"label": "Videos", "url": context.docs_base_url + "/user/videos", "right": 1}, {"label": "Videos", "url": context.docs_base_url + "/user/videos", "right": 1},
{"label": "API Documentation", "url": context.docs_base_url + "/current", "right": 1} {"label": "API", "url": context.docs_base_url + "/current", "right": 1},
{"label": "Forum", "url": 'https://discuss.erpnext.com', "right": 1}
] ]

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB