From 073337eabe237fae325da5a88642aa6a08d7e3d5 Mon Sep 17 00:00:00 2001 From: lxsang Date: Tue, 15 Sep 2020 16:54:50 +0200 Subject: [PATCH] update AntOS code --- doc/assets/style.css | 7 ++++++- doc/controllers/AntosController.lua | 3 ++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/doc/assets/style.css b/doc/assets/style.css index 82245c7..e56b454 100644 --- a/doc/assets/style.css +++ b/doc/assets/style.css @@ -263,7 +263,12 @@ div.md-content p.result-header a::before{ /* #container .blogentry .hljs-ln td.hljs-ln-code { padding-left: 10px; } */ -img {max-width:100%} +#renderer img { + max-width:100%; + display: block; + margin-left: auto; + margin-right: auto; +} a { color: #333f67; diff --git a/doc/controllers/AntosController.lua b/doc/controllers/AntosController.lua index 06548dc..795f60c 100644 --- a/doc/controllers/AntosController.lua +++ b/doc/controllers/AntosController.lua @@ -7,6 +7,7 @@ DocController:subclass("AntosController", { }, name = "antos", elinks = { - { name = "API", url = "https://doc.iohub.dev/antos/api/index.html" } + { name = "API", url = "https://doc.iohub.dev/antos/api/index.html" }, + { name = "Code", url = "https://github.com/lxsang/antos" } } })